Skip to content

Commit

Permalink
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions spec/ruby/core/binding/local_variable_get_spec.rb
Original file line number Diff line number Diff line change
@@ -3,11 +3,11 @@

ruby_version_is "2.1" do
describe "Binding#local_variable_get" do
it "reads local variables captured in the binding" do
it "reads local variables captured in the binding" do
a = 42
bind = binding
bind.local_variable_get(:a).should == 42
end
end

it "raises a NameError for missing variables" do
bind = BindingSpecs::Demo.new(1).get_empty_binding
2 changes: 1 addition & 1 deletion spec/truffle/truffle.mspec
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ class MSpecScript
set :target, File.expand_path("../../../bin/jruby#{windows? ? '.bat' : ''}", __FILE__)

if ARGV[-2..-1] != %w[-t ruby] # No flags for MRI
set :flags, %w[-X+T -J-ea -J-Xmx2G]
set :flags, %w[-X+T -J-ea -J-esa -J-Xmx2G]
end

set :language, [
4 changes: 2 additions & 2 deletions tool/jruby_eclipse
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ bootclasspath = []
classpath = []

bootclasspath << "#{JRUBY}/lib/jruby.jar"
bootclasspath << "#{JRUBY}/lib/jruby-stdlib-9.0.0.0-SNAPSHOT.jar"
classpath << "#{JRUBY}/lib/jruby-stdlib-9.0.0.0-SNAPSHOT.jar"
if rest.include?('-X+T')
bootclasspath << TRUFFLEJAR
classpath << "#{JRUBY}/truffle/build.eclipse"
@@ -37,7 +37,7 @@ end
args = [java]
args << "-Djffi.boot.library.path=#{JRUBY}/lib/jni"
args << "-Xbootclasspath/a:" + bootclasspath.join(':')
args << "-cp" << classpath.join(':') unless classpath.empty?
args << "-classpath" << classpath.join(':') unless classpath.empty?

args << "-Djruby.home=#{JRUBY}"
args << "-Djruby.lib=#{JRUBY}/lib"

0 comments on commit 91befe3

Please sign in to comment.