Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

remove quotes on RUBYOPT on Windows #2376

Merged
merged 1 commit into from Mar 12, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 1 addition & 5 deletions lib/bundler/runtime.rb
Expand Up @@ -224,11 +224,7 @@ def setup_environment
rubyopt = [ENV["RUBYOPT"]].compact
if rubyopt.empty? || rubyopt.first !~ /-rbundler\/setup/
rubyopt.unshift %|-rbundler/setup|
if Bundler::WINDOWS
rubyopt.unshift %|"-I#{File.expand_path('../..', __FILE__)}"|
else
rubyopt.unshift %|-I#{File.expand_path('../..', __FILE__)}|
end
rubyopt.unshift %|-I#{File.expand_path('../..', __FILE__)}|
ENV["RUBYOPT"] = rubyopt.join(' ')
end
end
Expand Down