Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You don't have to specify version 3. If you have 1.9.2-p0, it will automatically get rails 3 when you <code>rvm gem install rails 3</code>. note: no sudo. I think when you use sudo it makes it use the system-installed ruby. If you think you need sudo, use <code>rvmsudo</code>.</p> <p>Things probably got messy because you were following guides based on the pre-stable release of rails, which involved many other things. If you like, you can try uninstalling rvm and re-doing everything. It really isn't all that difficult.</p> <p>Remember, you need 1.9.2, 1.9.1 won't work.</p> <pre><code>curl -O http://rvm.beginrescueend.com/releases/rvm-install-head sh rvm-install-head rvm install 1.9.2-p0 # also remember to edit your bash profile and add the required lines # verify that 1.9.2-p0 shows up there rvm list # makes it so you're using it, and sets it as the default rvm use 1.9.2-p0 --default # verify this happened. should have =&gt; 1.9.2-p0 in the list rvm list # verify the version ruby --version # should automatically get 3.0 # `rvm gem install` installs it for every single installed ruby version # in my experience gem install rails </code></pre> <p>When you did <code>rvm gem install</code>, I think it installs it for every ruby version you have registered with rvm (at least it happened in my experience), so my assumption is that it was trying to force install rails 3 for an older ruby installation, which was missing the required gems.</p> <p>Take it easy, not many commands are required. If you find yourself having to do 'hacks' or workarounds, then you're doing it wrong. Thankfully it's easy to start over. To remove rvm, just do <code>rm -rfv ~/.rvm</code> and also <code>rm ~/.rvmrc</code> if it's there.</p> <p>Let me know how it goes.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload