1

With Nitrous.io the documentation states that other Ruby version managers may be used instead of RVM.

However, sudo is needed for installing rbenv

Is RVM currently the only option on nitrous.io?

0

1 Answer 1

2

If you do not wish to use RVM which is pre-installed then you can install rbenv. Run the following commands within your Nitrous.IO console:

$ git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
$ echo 'eval "$(rbenv init -)"' >> ~/.bashrc
$ git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
$ source ~/.bashrc

These steps can be found within the Octopress guide which utilizes rbenv on Nitrous.IO.

1
  • I've tried this but get a bash error "rbenv: command not found". After checking, ~/.rbenv doesn't actually exist even though I cloned it as you've written here, with no errors. Any ideas why??
    – sixty4bit
    Jan 29, 2015 at 15:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.