Re: RoR running on Localhost but not on Heroku
This worked for me, thanks.. http://railsapps.github.com/rails-heroku-tutorial.html -- You received this message because you are subscribed to the Google Groups "Heroku" group. To view this discussion on the web visit https://groups.google.com/d/msg/heroku/-/pBTJzZ3g2u8J. To post to this group, send email to heroku@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: RoR running on Localhost but not on Heroku
Also, by pushing your data I meant your database with "heroku db:push", pushing your app is "git push heroku master" :) On Sat, Oct 1, 2011 at 6:58 AM, Arun Thampi wrote: > From your pastebin it looks like you haven't included the postgres adapter > as part of your Gemfile. You need to add this gem 'pg' to your Gemfile. You > might be using sqlite locally, which is why its working locally and not in > production. Heroku uses > Postgres: http://devcenter.heroku.com/articles/database > Cheers, > Arun > On Sat, Oct 1, 2011 at 9:39 PM, Sushil Gupta wrote: >> >> Yes I pushed my data using "git push heroku master" and my log files is >> here as http://pastebin.com/LsS9Dh8j. I don't know what might be wrong here. >> >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Heroku" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/heroku/-/-Q3rLtG8ur0J. >> To post to this group, send email to heroku@googlegroups.com. >> To unsubscribe from this group, send email to >> heroku+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/heroku?hl=en. > > > > -- > It's better to be a pirate than join the Navy - Steve Jobs > http://mclov.in | @iamclovin > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to heroku@googlegroups.com. > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to heroku@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: RoR running on Localhost but not on Heroku
>From your pastebin it looks like you haven't included the postgres adapter as part of your Gemfile. You need to add this *gem 'pg'* to your Gemfile. You might be using sqlite locally, which is why its working locally and not in production. Heroku uses Postgres: http://devcenter.heroku.com/articles/database Cheers, Arun On Sat, Oct 1, 2011 at 9:39 PM, Sushil Gupta wrote: > Yes I pushed my data using "git push heroku master" and my log files is > here as http://pastebin.com/LsS9Dh8j. I don't know what might be wrong > here. > > > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/heroku/-/-Q3rLtG8ur0J. > > To post to this group, send email to heroku@googlegroups.com. > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > -- It's better to be a pirate than join the Navy - Steve Jobs http://mclov.in | @iamclovin -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to heroku@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: RoR running on Localhost but not on Heroku
Yes I pushed my data using "git push heroku master" and my log files is here as http://pastebin.com/LsS9Dh8j. I don't know what might be wrong here. -- You received this message because you are subscribed to the Google Groups "Heroku" group. To view this discussion on the web visit https://groups.google.com/d/msg/heroku/-/-Q3rLtG8ur0J. To post to this group, send email to heroku@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: RoR running on Localhost but not on Heroku
>From your app's directory, run "heroku logs", that'll show you the tail of the server log and (hopefully) the error. Did you push/migrate your database after deploying? On Fri, Sep 30, 2011 at 9:15 AM, Sushil Gupta wrote: > Hey there, > > I have been following http://ruby.railstutorial.org/chapters/beginning#top > since yesterday and I am going good on my machine with ROR. I have used > RailsInstaller for my environment on Windows7. My two apps are working good > on my localhost:3000 but as I put them into Heroku, I am getting error, > respectively, http://meinkampf.heroku.com and http://smoothipod.heroku.com. > I wonder why? :0 > > As I am a noob, I am just following as is said on the tutorial but I am > getting these error. May be it is some minor error, but since I am facing > this, haven't found any solution for this yet. So I would really appreciate > any kind of help or links to it. > > Thanks in advance. > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/heroku/-/_EvTt2_VyX8J. > To post to this group, send email to heroku@googlegroups.com. > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to heroku@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
RoR running on Localhost but not on Heroku
Hey there, I have been following http://ruby.railstutorial.org/chapters/beginning#top since yesterday and I am going good on my machine with ROR. I have used RailsInstaller for my environment on Windows7. My two apps are working good on my localhost:3000 but as I put them into Heroku, I am getting error, respectively, http://meinkampf.heroku.com and http://smoothipod.heroku.com. I wonder why? :0 As I am a noob, I am just following as is said on the tutorial but I am getting these error. May be it is some minor error, but since I am facing this, haven't found any solution for this yet. So I would really appreciate any kind of help or links to it. Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Heroku" group. To view this discussion on the web visit https://groups.google.com/d/msg/heroku/-/_EvTt2_VyX8J. To post to this group, send email to heroku@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.