public
Description: Plugin for running Ruby in the browser seamlessly from Rails, and display either HTML or vector graphics
Homepage: http://jimmy.schementi.com/silverline
Clone URL: git://github.com/jschementi/silverline.git
Don't rely on "/public/ironruby", use plugin's IronRuby binaries instead
jschementi (author)
Sat Oct 18 15:50:33 -0700 2008
commit  4306bb9d461352b86843a14dc324346ff6461595
tree    e929945f4d06c09c691c6de709a7117d6d7b73f6
parent  196ece5ec28fd080f395a80d724bcd8dc483cff3
...
24
25
26
27
 
28
29
30
...
24
25
26
 
27
28
29
30
0
@@ -24,7 +24,7 @@ module Silverline::Essential
0
     # Mac/Linux. If you don't want to install mono, use the pure-ruby XAP module.
0
     class XAP < XAPBase
0
       def generate
0
-        cmd = "public/ironruby/Chiron.exe /s /d:#{@directory} /z:#{@file}"
0
+        cmd = "#{Silverline::PLUGIN_ROOT}/public/ironruby/Chiron.exe /s /d:#{@directory} /z:#{@file}"
0
         # TODO: Should I do some platform detection rather than trial&error?
0
         system "#{cmd}" unless system "mono #{cmd}"
0
       end

Comments