We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a51e0a commit b65d01fCopy full SHA for b65d01f
command_line/feature_spec.rb
@@ -5,7 +5,7 @@
5
# Since some specs disable reading RUBYOPT, we instead pass its contents as :options for those specs
6
rubyopt = [ENV["RUBYOPT"]]
7
rubyopt << ENV["#{RUBY_ENGINE.upcase}OPT"] unless RUBY_ENGINE == 'ruby'
8
- @rubyopt = rubyopt.compact.join(" ")
+ @rubyopt = RUBY_ENGINE == "ruby" ? "" : rubyopt.compact.join(" ")
9
end
10
11
it "can be used with gems" do
0 commit comments