Sha256: 60a1e6827b97d3d9aaa61873bc6a5f2f851a26e331cefba7674048ba7d7dfbcd
Contents?: true
Size: 392 Bytes
Versions: 1
Compression:
Stored size: 392 Bytes
Contents
require "bonethug/version" module Bonethug #arguments can be for example db:migrate def self.call_rake(arguments) if RUBY_PLATFORM =~ /mswin/ rake_cmd = "rake.bat" #very important because windows will break with just "rake" else rake_cmd = "rake" end puts "calling #{rake_cmd} " + arguments puts system("#{rake_cmd} " + arguments) puts $? end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bonethug-0.0.5 | lib/bonethug.rb |