public
Created

  • Download Gist
dash_x_version_spec.rb
Ruby
1 2 3 4 5 6
describe "-Xversion command line option" do
it "sets RUBY_VERSION to X18 when RBXOPT is set with -X19" do
ENV["RBXOPT"] = "-X19"
ruby_exe(nil, :args => %Q{-X18 -e 'puts RUBY_VERSION'}).chomp.should == "1.8.7"
end
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.