Skip to main content
edited tags
Link
Gilles 'SO- stop being evil'
  • 865.5k
  • 205
  • 1.8k
  • 2.3k
Tweeted twitter.com/#!/StackUnix/status/405461205210238976
Formatting
Source Link
jasonwryan
  • 74.8k
  • 35
  • 204
  • 230

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!

I intend to use Ruby when programming my Raspberry Pi which is running the Debian based Occidentals. Via ssh, I executed

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 ssh created a folder called ".rvm" in the pi user's directory, whereas the WebIDE uses the webide user account.

What is the best way to allow the webide user account access ruby? I tried moving the .rvm folder from /home/pi to /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!

I intend to use Ruby when programming my Raspberry Pi which is running the Debian based Occidentals. Via SSH, I executed:

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 SSH created a folder called .rvm in the pi user's directory, whereas the WebIDE uses the webide user account.

What is the best way to allow the webide user account access to ruby? I tried moving the .rvm folder from /home/pi to /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!

Source Link
barry
  • 205
  • 1
  • 2
  • 7

Making ruby available to all users

I intend to use Ruby when programming my Raspberry Pi which is running the Debian based Occidentals. Via ssh, I executed

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 ssh created a folder called ".rvm" in the pi user's directory, whereas the WebIDE uses the webide user account.

What is the best way to allow the webide user account access ruby? I tried moving the .rvm folder from /home/pi to /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!