Sha256: b84b4c8190bbadcbd15f5e477fdbb165649e1156f9db493bc1ddb839b84698fb
Contents?: true
Size: 725 Bytes
Versions: 2
Compression:
Stored size: 725 Bytes
Contents
#-- # Copyright (c) 2011-2012 Engine Yard, Inc. # See the file LICENSE.txt included with the distribution for # software license details. #++ include_recipe "java" version = node[:jruby][:version] remote_file "/usr/src/jruby-bin-#{version}.tar.gz" do source "http://jruby.org.s3.amazonaws.com/downloads/#{version}/jruby-bin-#{version}.tar.gz" checksum node[:jruby][:checksum] end execute "untar jruby" do command "tar xzf /usr/src/jruby-bin-#{version}.tar.gz " cwd "/usr/local/lib" creates "/usr/local/lib/jruby-#{version}" end link "/usr/local/jruby" do to "/usr/local/lib/jruby-#{version}" end %w( jruby jirb jgem ).each do |b| link "/usr/local/bin/#{b}" do to "/usr/local/jruby/bin/#{b}" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
engineyard-visualvm-0.5.4-java | cookbooks/jruby/recipes/default.rb |
engineyard-visualvm-0.5.4 | cookbooks/jruby/recipes/default.rb |