Class: Culerity::JRubyRunner
- Inherits:
-
Object
- Object
- Culerity::JRubyRunner
- Defined in:
- lib/culerity/jruby_runner.rb
Class Method Summary collapse
Class Method Details
.cmd ⇒ Object
3 4 5 6 7 |
# File 'lib/culerity/jruby_runner.rb', line 3 def self.cmd jruby_complete = "#{File.dirname(__FILE__)}/../../vendor/jruby/jruby-complete-1.4.0.jar" celerity = "#{File.dirname(__FILE__)}/../../vendor/gems/celerity-0.7.6/lib" "java -Xmx512m -Xss1024k -jar #{jruby_complete} -I#{celerity}" end |
.run(command_to_run) ⇒ Object
9 10 11 |
# File 'lib/culerity/jruby_runner.rb', line 9 def self.run(command_to_run) `#{cmd} #{command_to_run}` end |