开发者

no such file to load -- json (first request only)

As the title suggests, I'm getting that error ONLY on the first request to the application. Subsequent requests work fine. This is occurring on several of the ma开发者_StackOverflowchines I'm running the application on.

I'm not using anything JSON related in this app (at least not that I'm aware of).

I should also point out that adding gem 'json' to the Gemfile makes the error "go away". I'd be ok with this, but I'm afraid there's something more sinister at work here that will turn into a code-bomb later.

This is Rails 3.0.3 and Ruby 1.8.7.


Some of your files may require json. Try to install json with:

 sudo gem install json

Or

Add gem 'json' to Gemfile and do bundle install

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜