Load specific version of a gem

/ Published in: Ruby
Save to your folder(s)

Copy this code and paste it in your HTML
  1. # require rubygems first
  2. require 'rubygems'
  4. # e.g.
  5. # gem 'rspec', '=1.1.12'
  6. gem '<gem>', '=<version>'

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.