Skip to content
Browse files

symlink the jvm bins

  • Loading branch information...
1 parent d32113d commit 3d3a41a911520f12f8dc8f337e839343faaf4cdd @hone hone committed Jul 9, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/language_pack/ruby.rb
View
6 lib/language_pack/ruby.rb
@@ -232,6 +232,12 @@ def install_jvm
Dir.chdir(slug_vendor_jvm) do
run("curl #{JVM_BASE_URL}/#{JVM_VERSION}.tar.gz -s -o - | tar xzf -")
end
+
+ bin_dir = "bin"
+ FileUtils.mkdir_p bin_dir
+ Dir["#{slug_vendor_jvm}/bin/*"].each do |bin|
+ run("ln -s ../#{bin} #{bin_dir}")
+ end
end
end

0 comments on commit 3d3a41a

Please sign in to comment.
Something went wrong with that request. Please try again.