class Bundler::Bundle

def setup_environment

def setup_environment
  unless @environment.system_gems
    ENV["GEM_HOME"] = gem_path
    ENV["GEM_PATH"] = gem_path
  end
  ENV["PATH"]     = "#{bindir}:#{ENV["PATH"]}"
  ENV["RUBYOPT"]  = "-r#{gem_path}/environment #{ENV["RUBYOPT"]}"
end