diff --git a/lib/v8/cli.rb b/lib/v8/cli.rb index b4db87c..5e0e918 100644 --- a/lib/v8/cli.rb +++ b/lib/v8/cli.rb @@ -31,7 +31,7 @@ module V8 elsif options.selftest self.test end - Context.open(:with => Shell.new) do |cxt| + Context.new(:with => Shell.new) do |cxt| for libfile in options.libs do load(cxt,libfile) end diff --git a/therubyracer.gemspec b/therubyracer.gemspec index 9cca465..fd842ba 100644 --- a/therubyracer.gemspec +++ b/therubyracer.gemspec @@ -16,14 +16,14 @@ Gem::Specification.new do |s| s.homepage = %q{http://github.com/cowboyd/therubyracer} s.require_paths = ["lib", "ext"] s.rubyforge_project = %q{therubyracer} - s.rubygems_version = %q{1.3.5} + s.rubygems_version = %q{1.3.7} s.summary = %q{Embed the V8 Javascript interpreter into Ruby} if s.respond_to? :specification_version then current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION s.specification_version = 3 - if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then + if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then else end else