Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # DO NOT MODIFY THIS FILE
- module Bundler
- file = File.expand_path(__FILE__)
- dir = File.dirname(file)
- ENV["GEM_HOME"] = dir
- ENV["GEM_PATH"] = dir
- # handle 1.9 where system gems are always on the load path
- if defined?(::Gem)
- $LOAD_PATH.reject! do |p|
- p != File.dirname(__FILE__) &&
- Gem.path.any? { |gp| p.include?(gp) }
- end
- end
- ENV["PATH"] = "#{dir}/../../../../bin:#{ENV["PATH"]}"
- ENV["RUBYOPT"] = "-r#{file} #{ENV["RUBYOPT"]}"
- $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rack-1.1.0/bin")
- $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rack-1.1.0/lib")
- $LOAD_PATH.unshift File.expand_path("#{dir}/gems/haml-3.0.4/bin")
- $LOAD_PATH.unshift File.expand_path("#{dir}/gems/haml-3.0.4/lib")
- $LOAD_PATH.unshift File.expand_path("#{dir}/gems/jruby-rack-0.9.7/lib")
- $LOAD_PATH.unshift File.expand_path("#{dir}/gems/appengine-rack-0.0.9/lib")
- @gemfile = "#{dir}/../../../../Gemfile"
- # . . .
Add Comment
Please, Sign In to add comment