I've read all over the web that "deploying to Heroku is totally painless!" Wow. 2 days later, and my best answer was to start over, line by line. Now, granted, I'm a complete newbie to Rails, so I'm sure to make every mistake possible. But, wow, Heroku has been a complete pain in the ass! First, I'm discovering that Heroku doesn't believe in error messages. They simply state:
Second, Git is a newbie nightmare! Seriously! All I wanted to do was back up 5 commits! How hard should that be? I wanted everything I had done in those 5 commits to be UNDONE. Isn't that the point of a versioning system? Yeah, well, if there's a way to do this, then please let me know. After searching all over the web and trying a number of "solutions", I ended up starting the tutorial over from scratch. (Write one line of code, git commit, git push, git push heroku, test/verify.) All the TDD that RSpec uses is great, and all the local testing passed with flying colours! Then, upload to Heroku and watch it fail! So, now I'm trying to figure out what exactly is the cause. I'm completely baffled, but so pissed off that I won't give it up. Maybe I'll post more here as I go. For those of you who are curious, here are my Heroku failures to-date (all of which yielded the exact same error screen described above):
One final thing: I spent hours trying to figure out how to setup the database config for the production (i.e. Heroku) site. Then I found the link describing how to get this. But there's not need to post it here, because then I found out that Heroku re-writes your production database config on upload (i.e. git push heroku). So, there's no need to worry about this after all. [...sigh...] Add Comment Learning Rails -- Hiccups along the way 10/13/2011
So, as I've posted in my bio, I've been learning Rails lately. (Full name: Ruby on Rails)
I've been using Michael Hartl's RailsTutorial.org/book and it's been fantastic. I've thought long and hard about paying the $85 for his screen-capture-videos, but with being unemployed, I've decided to go the free route. The tutorial is amazingly detailed and the explanations are fantastic. Michael does a great job of bringing the new-to-Rails programmer. ... |

RSS Feed