Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

now it works on jruby as well. no need for shell scripts

  • Loading branch information...
commit f7a3a9fe530e28eb72942fdac5565ce1342d9f11 1 parent b47fc82
@danielribeiro authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 Rakefile
View
4 Rakefile
@@ -12,10 +12,8 @@ def classpath
end
def jruby_execute(filename = nil, args = [])
- ENV['CLASSPATH'] = classpath
filename = "lib/actor_word_count.rb" if filename.nil?
- puts ENV['CLASSPATH']
- system 'jruby', *(['-Ilib', filename] + args)
+ system "env CLASSPATH=#{classpath} jruby -Ilib #{filename} " + args.join(' ')
end
task :default => :run
Please sign in to comment.
Something went wrong with that request. Please try again.