I'm setting up a server, it's an Ubuntu 12.04
first I installed RVM multi-user:
me@ubuntu$ \curl -L https://get.rvm.io | sudo bash -s stable
then after RVM installed, as the installation suggests I added myself to RVM group
usermod -a -G me rvm
installed ruby
rvm insall 1.9.3 --default
then I tried to install system wide gem passenger and I get this:
me@ubuntu:~$ rvmsudo gem install passenger
sudo: gem: command not found
In fact any command run with rvmsudo
just says sudo : {command}: not found
I need gems to be installed system wide, because it's a production server setup, also installing passenger-install-nginx-module
requires root permissions as it installs int to /opt/nginx/
any thoughts?
Maybe this bug affects you.
Instead of waiting for a fixed release you might install an older version of rvm:
\curl -L https://get.rvm.io | sudo bash -s -- --version 1.16.20
See https://rvm.io/rvm/install/ for details.
EDIT: This issue is now solved. rvmsudo
is working for me (Ubuntu 12.04).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With