Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Mar 14th, 2018 52 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. if version = defined?(RAILS_GEM_VERSION) ? RAILS_GEM_VERSION : rails_gem_version
  2.       rails_gem = Gem.cache.search('rails', "=#{version}").first
  3.  
  4.       if rails_gem
  5.         gem "rails", "=#{version}"
  6.         require rails_gem.full_gem_path + '/lib/initializer'
  7.       else
  8.         STDERR.puts %(Cannot find gem for Rails =#{version}:
  9.     Install the missing gem with 'gem install -v=#{version} rails', or
  10.     change environment.rb to define RAILS_GEM_VERSION with your desired version.
  11.   )
  12.     exit 1
  13. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top