Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save timmatheson/284979 to your computer and use it in GitHub Desktop.
Save timmatheson/284979 to your computer and use it in GitHub Desktop.
require 'rubygems'
begin
gem 'gem_name'
rescue LoadError
require 'gem_name'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment