Arch Wiki: ruby
Install the ruby package.
Add ruby gem path to shell rc, ie
On Arch user gems will be installed to
~/.gem/ruby/ so they don't interact with anything installed by Pacman.
Install bundler with.
Bundler by default installs gems system-wide. To change this default add the following to your shell rc.
Bundles can be installed explicitly at a certain location using:
This would install a bundle in the working directory inside of a .bundle directory.
Arch Wiki: nodejs
Install the nodejs package.
To set up nodejs to store packages in working directories, add the following to your shell rc.