I intend to use Ruby when programming my Raspberry Pi which is running the Debian based Occidentals. Via sshSSH, I executed:
curl -L https://get.rvm.io | bash -s stable --ruby
curl -L https://get.rvm.io | bash -s stable --ruby
which downloaded the ruby source and compiled it. It tool about 2 hours to complete. I would like to use ruby via AdaFruit's WebIDE - http://learn.adafruit.com/webide/. However, the ruby installation I performed via sshSSH created a folder called ".rvm".rvm in the pipi user's directory, whereas the WebIDE uses the webidewebide user account.
What is the best way to allow the webidewebide user account access to ruby? I tried moving the .rvm.rvm folder from /home/pi/home/pi to /etc/share/etc/share, but this didn't work - when trying to use ruby at a terminal I got the error "ERROR: Missing RVM environment file: '/home/pi/.rvm/environments/ruby-2.0.0-p353'" so I must've broken some link.
I'm holding back running another 2hr install for the webide user as I'm sure there's a better way!