##Running a Gem from Source
In your Gemfile, specify the gem and the path to its source.
gem 'gem_name', path: '/~/code/gem_folder'
Require the gem in your program.
require 'gem_name'
Run the program with
bundle exec ruby main.rb
This command runs the program with the gem source path(s) specified in the Gemfile, rather than the default Ruby load paths. By default, RVM installs and looks for gems in ~/.rvm/gems.