Skip to content

Commit

Permalink
Don't rely on "/public/ironruby", use plugin's IronRuby binaries instead
Browse files Browse the repository at this point in the history
  • Loading branch information
jschementi committed Oct 18, 2008
1 parent 196ece5 commit 4306bb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/silverline/essential/xap.rb
Expand Up @@ -24,7 +24,7 @@ def generate
# Mac/Linux. If you don't want to install mono, use the pure-ruby XAP module.
class XAP < XAPBase
def generate
cmd = "public/ironruby/Chiron.exe /s /d:#{@directory} /z:#{@file}"
cmd = "#{Silverline::PLUGIN_ROOT}/public/ironruby/Chiron.exe /s /d:#{@directory} /z:#{@file}"
# TODO: Should I do some platform detection rather than trial&error?
system "#{cmd}" unless system "mono #{cmd}"
end
Expand Down

0 comments on commit 4306bb9

Please sign in to comment.