Sunday, March 6, 2011

Re: [Rails] Re: Heroku deployment problem

On Sat, Mar 5, 2011 at 9:43 PM, Gaba Luschi <lists@ruby-forum.com> wrote:
One of the things I noticed that it said is:
/usr/ruby1.8.7/lib/ruby/gems/1.8/gems/bundler-1.0.7/lib/bundler/runtime.rb:64:
in 'require': no such file to load --sqlite3 <LoadError>

Check your database.yml, Gemfile, and Gemfile.lock. Make sure you are specifying that you want to use PostgreSQL which is the database that Heroku uses not SQLite3. You're development environment should match production the best that it can. That means that you should be using the same database types as well as web server (Thin is used by Heroku). You'll knock out that majority of your problems if you keep your environments as closely inline as possible.

B.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate