Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Jumah Hamilton
8,648 PointsRake db:migrate results in an error
I was following along with the Generate a Rails Application Video and this happened at the terminal prompt:
$ rake db:migrate
but it resulted in this
$ rake db:migrate
/Users/jumah/.rvm/bin/ruby: line 6: /Users/jumah/.rvm/bin/ruby: Argument list too long
/Users/jumah/.rvm/bin/ruby: line 6: /Users/jumah/.rvm/bin/ruby: Undefined error: 0
Please help! Thank you.
2 Answers
Dino Paškvan
Courses Plus Student 44,108 PointsUsually re-installing rvm helps with that issue. Run this:
rvm implode
curl -sSL https://get.rvm.io | bash -s stable
The first command is to uninstall rvm and the second one is to install it again.
Jumah Hamilton
8,648 PointsThanks a lot Dino! It worked out great.
But...19000+ points! I have a long way to go..
Dino Paškvan
Courses Plus Student 44,108 PointsDon't worry about the points. While they can be a nice motivation short-term, the only important tally is how much knowledge you pick up in the end. They certainly aren't a reflection of your skills, just a reflection of your interests, or in my case, a reflection of compulsive behaviour. :)