Hey Scott, Just FYI: as much as I'm sure you don't want to take the time to set up postgres on your local machine (I know I didn't), it's worth it. Until you do, every so often you're going to get hit with something going wrong in your app when you try to deploy to Heroku, and it will always be because of some mysql (or sqlite3) <=> postgres inconsistency. Unless your development machine is really strapped for memory, it's worth it.
Good luck to you! --Justin On Tue, Dec 13, 2011 at 10:24 AM, Scott LaBounty <[email protected]>wrote: > For posterity's sake here's what I ended up doing. > > # To get everything working on Heroku, I had to add this … > group :production do > gem 'pg' > end > # to the Gemfile to tell it to use postgresql in production (Heroku) and > then run > > bundle install --without production > heroku rake db:migrate > > > I think you could skip the production stuff (i.e. just put pg in the > Gemfile and do a bundle install) if you have postgresql on your development > machine. > > Thanks for pointing me in the right direction everyone. > > Scott > > On Tue, Dec 13, 2011 at 5:49 AM, Chap <[email protected]> wrote: > >> What version of rails and which Heroku stack are you using? >> >> If you're on the cedar stack you'll need to require the pg gem in your >> bundle to connect to the postgres database: >> http://devcenter.heroku.com/articles/rails3 >> >> On Dec 12, 10:55 am, Scott LaBounty <[email protected]> wrote: >> > I've been receiving this message ... >> > >> > << >> > We're sorry, but something went wrong. >> > >> > We've been notified about this issue and we'll take a look at it >> shortly. >> > >> > >> > >> > on some pages in a Rails app. I'm just starting the application so the >> > Rails welcome page is still the default page and it shows fine. It's >> only >> > when I go to a different page that I see the problem. Could it be >> something >> > that I'm doing or is it something that I really need to just wait for >> > Heroku to look at. If it's something I'm doing, any ideas on how to look >> > for it? It "works on my machine" (I know, I know). It's been happening >> > since last night. >> > >> > -- >> > Scotthttp://steamcode.blogspot.com/ >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Heroku" group. >> To post to this group, send email to [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/heroku?hl=en. >> >> > > > -- > Scott > > http://steamcode.blogspot.com/ > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > -- Justin Houk Co-Founder, 10x10 Room http://10x10room.com http://playconclave.com -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
