Tech: http://compositecode.com
You likely need to tell RVM to use a certain version of rails as the default.
Of course, I should have prefaced this comment with, “if you have RVM installed”. I just ran into this yesterday, and setting a default RVM cleared it all up.
From: Ryan Eastabrook [mailto:ry...@mantratechnology.com]
Sent: Tuesday, December 06, 2011 10:40 AM
To: 'pdxalt...@googlegroups.com'
Subject: RE: [pdxalt.net] ubuntu with mongodb vm needed
You likely need to tell RVM to use a certain version of rails as the default.
http://beginrescueend.com/rubies/default/
From: pdxalt...@googlegroups.com [mailto:pdxalt...@googlegroups.com] On Behalf Of Justin Collum
Sent: Tuesday, December 06, 2011 10:38 AM
To: pdxalt...@googlegroups.com
Subject: Re: [pdxalt.net] ubuntu with mongodb vm needed
OK I started fresh with a new Ubuntu 11.04 this morning. I documented all my steps. In the end, when I type "rails" at a command prompt I get "rails is not currently installed". Read this post http://stackoverflow.com/questions/8351229/cant-use-rails, did a few things, same result. Read several other pages about rails failing to install, did more things, same result.
Yes, I had to do that too. However, until I set the default for RVM, every new terminal opened would give me a ruby and/or rails error.