Skip to main content
added 146 characters in body
Source Link
Matchu
  • 86.1k
  • 18
  • 155
  • 160

Is the gem listed in your Gemfile? In Rails 3, all gem dependencies should be listed in the Gemfile, so that it is properly loaded when the app runs.

You should have something like the following line:

gem 'ruby-tmdb' 

Then, run bundle install to ensure that all gem dependencies are installed, and to have Bundler save the lock file that will ensure that all copies of this application run with the same gem versions. From this point on, you will no longer have to write the require line yourself; Rails will load in all necessary gems as the environment loads.

You might get the same error even after this, but it's always worth going through the standard process to help narrow things down :)

Is the gem listed in your Gemfile? In Rails 3, all gem dependencies should be listed in the Gemfile, so that it is properly loaded when the app runs.

You should have something like the following line:

gem 'ruby-tmdb' 

Then, run bundle install to ensure that all gem dependencies are installed, and to have Bundler save the lock file that will ensure that all copies of this application run with the same gem versions.

You might get the same error even after this, but it's always worth going through the standard process to help narrow things down :)

Is the gem listed in your Gemfile? In Rails 3, all gem dependencies should be listed in the Gemfile, so that it is properly loaded when the app runs.

You should have something like the following line:

gem 'ruby-tmdb' 

Then, run bundle install to ensure that all gem dependencies are installed, and to have Bundler save the lock file that will ensure that all copies of this application run with the same gem versions. From this point on, you will no longer have to write the require line yourself; Rails will load in all necessary gems as the environment loads.

You might get the same error even after this, but it's always worth going through the standard process to help narrow things down :)

Source Link
Matchu
  • 86.1k
  • 18
  • 155
  • 160

Is the gem listed in your Gemfile? In Rails 3, all gem dependencies should be listed in the Gemfile, so that it is properly loaded when the app runs.

You should have something like the following line:

gem 'ruby-tmdb' 

Then, run bundle install to ensure that all gem dependencies are installed, and to have Bundler save the lock file that will ensure that all copies of this application run with the same gem versions.

You might get the same error even after this, but it's always worth going through the standard process to help narrow things down :)