Note that there are some explanatory texts on larger screens.

plurals
  1. POruby in linux: permanently "source .rvm/scripts/rvm"?
    primarykey
    data
    text
    <p>I'm new to Ruby on Rails and have just set it up in Ubuntu Linux following instructions I found <a href="https://stackoverflow.com/questions/9439502/rvm-install-ruby-installation-error">here</a>. Specifically, </p> <blockquote> <p>As s.m. said, I uninstalled everything, then I opened another terminal session as a normal user and run:</p> <p>bash -s stable &lt; &lt;(curl -s <a href="https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer" rel="nofollow noreferrer">https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer</a>) then i run source /home/my-desktop-username/.rvm/scripts/rvm as a normal user NOT ROOT</p> <p>then i run rvm requirements as a normal user. Then I copy the requirements and close the session, open a root session and install the requirements using sudo</p> <p>Then I close the session and open a normal user session and run rvm install ruby-1.9.3-p125 if you run this command as root, it will say that rvm is not installed and will suggest that you install it using sudo apt-get install rvm Don't do that!</p> <p>So basically I had two problems, the tutorials that i followed didn't say that i should run</p> <p>source /home/my-desktop-username/.rvm/scripts/rvm and didn't say that I should not run rvm as root, s.m told me that. Thanks to everyone, especially to s.m</p> </blockquote> <p>That works well, but I will have to remember to </p> <blockquote> <p>source .rvm/scripts/rvm</p> </blockquote> <p>every time I open a terminal to work with Ruby on Rails.</p> <p>Is there a way to permanently tell Ubuntu to look in .rvm for all the Ruby stuff?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    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