Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

reload_prims task fixed

  • Loading branch information...
commit 3ad3f5a22a952301973fa806e53afd4e0b4755a4 1 parent faa6a31
@BloodyD BloodyD authored
Showing with 8 additions and 1 deletion.
  1. +8 −1 rakelib/maglev_stone.rb
View
9 rakelib/maglev_stone.rb
@@ -154,7 +154,14 @@ def reload_prims
start unless running?
puts "Loading Kernel for #{@name}. This may take a few seconds..."
input_file("#{ML}/src/smalltalk/ruby/allprims.topaz", false)
- system("#{ML}/bin/maglev-ruby --stone #{@name} #{ML}/src/kernel/extensions.rb")
+
+ stonename = ENV["STONENAME"]
+ begin
+ ENV["STONENAME"] = ""
+ system("#{ML}/bin/maglev-ruby", "--stone", @name, "#{ML}/src/kernel/extensions.rb")
+ ensure
+ ENV["STONENAME"] = stonename
+ end
end
def prims_loaded?(name='maglev')
Please sign in to comment.
Something went wrong with that request. Please try again.