Hello People, I can´t publish Ruby on Rails application on HEROKU. It says "file sqlite3 is missing". But I know it´s not missing and the application runs allright on my computer. Is it true that I should stop using SQLITE as database and replace it for POSTGRES ? HEROKU works only with POSTGRES on a Ruby On Rails application ? Thanks a Lot Frederico -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 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.
Frederico Barbosa wrote in post #949839:> Hello People, > > I cant publish Ruby on Rails application on HEROKU. It says "file > sqlite3 is missing".Let''s see the error trace.> But I know its not missing and the application > runs allright on my computer. > > Is it true that I should stop using SQLITE as database and replace it > for POSTGRES ? > > HEROKU works only with POSTGRES on a Ruby On Rails application ?Heroku uses PostgreSQL -- a good thing, since SQLite is not appropriate for production use. You can still develop locally with SQLite, or you can install PostgreSQL locally for development. I''ve done it both ways.> > Thanks a Lot > FredericoBest, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 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.
On Wed, Oct 13, 2010 at 8:01 AM, Frederico Barbosa <fredmsbr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>wrote:> Hello People, > > I can´t publish Ruby on Rails application on HEROKU. It says "file > sqlite3 is missing". But I know it´s not missing and the application > runs allright on my computer. >It may be because you have sqllite gem in your gemfile? If so, you should try doing something like this which isolates gems you dont need to send to heroku. I had a similar problem with trying to push the ruby-debug gem to them: $heroku = ENV[''USER''] ? !! ENV[''USER''].match(/^repo\d+/) : ENV.any?{|key, _| key.match(/^HEROKU_/)} unless $heroku group :development, :test do gem ''ruby-debug19'' gem ''cucumber-rails'' gem ''cucumber'', ''>=0.8.5'' gem ''capybara'' gem ''rspec-rails'', ''>=2.0.0.beta.20'' gem ''factory_girl_rails'' gem ''webrat'', ''>=0.4.3'' gem ''heroku'' gem ''database_cleaner'' end end> > Is it true that I should stop using SQLITE as database and replace it > for POSTGRES ? > > HEROKU works only with POSTGRES on a Ruby On Rails application ? > > Thanks a Lot > Frederico > > -- > 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 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.
Hi. I use sqlite to develop no problem. When you push heroku maps the db to postgress. It''s done automatically. On 13 oct, 09:01, Frederico Barbosa <fredm...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hello People, > > I can´t publish Ruby on Rails application on HEROKU. It says "file > sqlite3 is missing". But I know it´s not missing and the application > runs allright on my computer. > > Is it true that I should stop using SQLITE as database and replace it > for POSTGRES ? > > HEROKU works only with POSTGRES on a Ruby On Rails application ? > > Thanks a Lot > Frederico-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org 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.
Pierrot wrote in post #949900: Hi, just edit gemfile and comment out the sqlite entry, then ''bundle install''. This should help. Dani -- Posted via http://www.ruby-forum.com/. -- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.