Ruby-on-rails – No file to be loaded – JSON (first request only)

As the title suggests, I only receive this error when I request the application for the first time. Subsequent requests work fine. This is on several machines where I am running the application Happened.

I did not use any related JSON in this application (at least not known to me).

I should also point out that adding gems in the Gemfile ‘json’ will make the error “disappear”. I will be happy with it, but I am worried that there will be something more sinister here that will become a code bomb in the future.

This is Rails 3.0.3 and Ruby 1.8.7.

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

sudo gem install json

or

Add gem’json’ to Gemfile and perform bundle install

< /div>

As the title suggests, I only receive the error when I request the application for the first time. Subsequent requests work fine. This is happening on several machines where I am running the application

I did not use any relevant JSON in this application (at least not what I know).

I should also point out that adding gem’ in the Gemfile json’ will make the error “disappear”. I will be satisfied with it, but I am worried that there will be something more sinister here that will become a code bomb in the future.

This is Rails 3.0.3 and Ruby 1.8.7.

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

sudo gem install json

or

Add gem’json’ to Gemfile and perform bundle install

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3342 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.