Ruby rails: install

From wikinotes

Archlinux

NOTE:

sourcing chruby's activation script from bashrc while installing rails was causing it to fail with CRITICAL: RUBYGEMS_ACTIVATION_MONITOR.owned?: before #{monitor_owned} -> after #{ow}


sudo pacman -S ruby
gem install rails   # run as non-sudo