Copyright 2006 by Chad F., Rich Kilmer, Jim W. and others.
All rights reserved.
See LICENSE.txt for permissions.
#++
require ‘rubygems’
Gem.manage_gems
required_version = Gem::Version::Requirement.new(">= 1.8.0")
unless required_version.satisfied_by?(Gem::Version.new(RUBY_VERSION))
puts “Expected Ruby Version #{required_version}, was
#{RUBY_VERSION}”
exit(1)
end
We need to preserve the original ARGV to use for passing gem options
to source gems. If there is a – in the line, strip all options
I’m trying to install rails in my laptop, ubuntu partition, but
gems
#–
Copyright 2006 by Chad F., Rich Kilmer, Jim W. and
others.
All rights reserved.
See LICENSE.txt for permissions.
#++
require ‘rubygems’
Gem.manage_gems
required_version = Gem::Version::Requirement.new(“>= 1.8.0”)
unless
required_version.satisfied_by?(Gem::Version.new(RUBY_VERSION))
puts “Expected Ruby Version #{required_version}, was
#{RUBY_VERSION}”
exit(1)
end
We need to preserve the original ARGV to use for passing gem
options
to source gems. If there is a – in the line, strip all options