Following chapter (1) of the Ruby on Rails tutorial: http://railstutorial.org/, I was able to successfuly push the application to "Heroku" using:> git push heroku masterBut, when I open the website, I get a page with the following: App crashed This application is temporarily offline. If you''re the administrator of this app, please check your heroku logs for the backtrace. Why is that? And, why don''t I see the default Rails page? Thanks. -- 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.
On 11 December 2010 09:50, SW Engineer <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Following chapter (1) of the Ruby on Rails tutorial: > http://railstutorial.org/, I was able to successfuly push the > application to "Heroku" using: >> git push heroku master > But, when I open the website, I get a page with the following: > > App crashed > This application is temporarily offline. > If you''re the administrator of this app, please check your heroku logs > for the backtrace. > > Why is that? And, why don''t I see the default Rails page?I presume you checked the heroku logs as instructed. What did they say? Colin -- 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.
u know why it is happening.. heroku uses postgresql as default.. so if u r using sqlite3 u should disable that.. u can do that by commenting one single line in ur gemfile that will like gem require=>sqlite3 or something like that... then do: heroku config:add BUNDLE_WITHOUT="development:test" then again commit and push it to heroku...i am sure ur application will definitely work... On Dec 11, 4:23 pm, Colin Law <clan...-gM/Ye1E23mwN+BqQ9rBEUg@public.gmane.org> wrote:> On 11 December 2010 09:50, SW Engineer <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > > > Following chapter (1) of the Ruby on Rails tutorial: > >http://railstutorial.org/, I was able to successfuly push the > > application to "Heroku" using: > >> git push heroku master > > But, when I open the website, I get a page with the following: > > > App crashed > > This application is temporarily offline. > > If you''re the administrator of this app, please check your heroku logs > > for the backtrace. > > > Why is that? And, why don''t I see the default Rails page? > > I presume you checked the heroku logs as instructed. What did they say? > > Colin-- 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.
venkata reddy wrote in post #967814:> u know why it is happening.. > heroku uses postgresql as default.. > so if u r using sqlite3 u should disable that.. > u can do that by commenting one single line in ur gemfile > that will like gem require=>sqlite3 or something like that... > then do: > > heroku config:add BUNDLE_WITHOUT="development:test" > > then again commit and push it to heroku...i am sure ur application > will definitely work...Thanks a lot all for your replies. It worked when I did this in the Gemfile (Based on http://railstutorial.org/ruby-on-rails-tutorial-book) gem ''sqlite3-ruby'', :require => ''sqlite3'', :group => :developmen -- 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.