Skip to content

Commit

Permalink
fixed jruby_version function
Browse files Browse the repository at this point in the history
  • Loading branch information
Foglio, Daniel committed Jan 23, 2014
1 parent b4c7a5b commit 3da1bd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/torquespec/torquespec.rb
Expand Up @@ -48,7 +48,7 @@ def jboss_home
@jboss_home ||= ENV['JBOSS_HOME'] || jboss_home_from_server_gem
end
def jruby_home
File.expand_path(java.lang.System.getProperty('jruby.home'))
ENV['JRUBY_HOME'] || File.expand_path(java.lang.System.getProperty('jruby.home'))
end
def java_home
ENV['JAVA_HOME'] || File.expand_path(java.lang.System.getProperty('java.home'))
Expand Down

0 comments on commit 3da1bd1

Please sign in to comment.