Skip to content
Gábor Szárnyas edited this page Sep 15, 2015 · 9 revisions

Install Ruby on Mint

  • Set the terminal as a login shell

  • Install RVM

  • Run the following commands:

    rvm install 2.2
    rvm use 2.2 --default

Interactive console

An alternative interactive shell to irb is Pry.

Troubleshooting

gem install fails

Problem:

$ gem install jekyll
ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions into the /var/lib/gems/1.9.1 directory.

Solution: the solution is not to use sudo, but to tick the Run command as login shell option.

Clone this wiki locally