Guest User

Untitled

a guest
May 25th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. # DO NOT MODIFY THIS FILE
  2. module Bundler
  3. file = File.expand_path(__FILE__)
  4. dir = File.dirname(file)
  5.  
  6. ENV["GEM_HOME"] = dir
  7. ENV["GEM_PATH"] = dir
  8.  
  9. # handle 1.9 where system gems are always on the load path
  10. if defined?(::Gem)
  11. $LOAD_PATH.reject! do |p|
  12. p != File.dirname(__FILE__) &&
  13. Gem.path.any? { |gp| p.include?(gp) }
  14. end
  15. end
  16.  
  17. ENV["PATH"] = "#{dir}/../../../../bin:#{ENV["PATH"]}"
  18. ENV["RUBYOPT"] = "-r#{file} #{ENV["RUBYOPT"]}"
  19.  
  20. $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rack-1.1.0/bin")
  21. $LOAD_PATH.unshift File.expand_path("#{dir}/gems/rack-1.1.0/lib")
  22. $LOAD_PATH.unshift File.expand_path("#{dir}/gems/haml-3.0.4/bin")
  23. $LOAD_PATH.unshift File.expand_path("#{dir}/gems/haml-3.0.4/lib")
  24. $LOAD_PATH.unshift File.expand_path("#{dir}/gems/jruby-rack-0.9.7/lib")
  25. $LOAD_PATH.unshift File.expand_path("#{dir}/gems/appengine-rack-0.0.9/lib")
  26.  
  27. @gemfile = "#{dir}/../../../../Gemfile"
  28.  
  29. # . . .
Add Comment
Please, Sign In to add comment