In addition install ruby dev package via package manager to build native extension gems.
Ruby gem install.
Instantly publish your gems and then install them use the api to find out more about available gems.
Become a contributor and improve the site yourself.
Gem install gem name.
Instantly publish your gems and then install them use the api to find out more about available gems.
To upgrade rubygems or install it for the first time if you need to use ruby 1 9 visit the download page.
Ruby 1 9 and newer ships with rubygems built in but you may need to upgrade for bug fixes or new features.
If you want to see how to require files from a gem skip ahead to what is a gem.
Install ruby 2 4 on your local environment.
Bundler provides a consistent environment for ruby projects by tracking and installing the exact gems and versions that you need.
Use of common rubygems commands.
For example to install rails just run gem install rails.
Bundler prevents dependencies and ensures that the gems you need are present in development staging and production.
Starting work on a project is as simple as running the bundle install command.