Skip to content

Instantly share code, notes, and snippets.

@allanjos
Created January 2, 2022 23:28
Show Gist options
  • Save allanjos/1808e2f6e2a78f85aca454b07f2299d2 to your computer and use it in GitHub Desktop.
Save allanjos/1808e2f6e2a78f85aca454b07f2299d2 to your computer and use it in GitHub Desktop.
Ruby Language Tips

Ruby Language Tips

Setup

RVM

List available packages:

rvm list known

Install package version:

rvm install <RUBY VERSION>

Version to use:

rvm use <RUBY VERSION>

Make version default:

rvm use <RUBY VERSION> --default

GEM

Install package:

gem install <PACKAGE NAME>

Install Rails framework:

gem install rails

Specific version to install:

gem install <PACKAGE NAME> -v <PACKAGE VERSION>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment