bin/fubu in fubu-0.9.9.317 vs bin/fubu in fubu-0.9.9.370

- old
+ new

@@ -1,9 +1,15 @@ -#!C:/Ruby/bin/ruby.exe +#!/bin/env ruby # # This file was generated by RubyGems. # # The application 'fubu' is installed as part of a gem, and # this file is here to facilitate running it. # -result = system(File.dirname(__FILE__) + "/fubu.exe " + ARGV.join(' ')) -exit 1 unless result \ No newline at end of file +cmd = "" +if(!RUBY_PLATFORM.match("linux|darwin").nil?) + cmd << "mono " +end +cmd << File.dirname(__FILE__) + "/Fubu.exe " + ARGV.join(' ') + +result = system(cmd) +exit 1 unless result