Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed JRuby formula: no compilation & less crud

There's no need to build JRuby, it's already compiled out of the box.
The code that cleaned out non-darwin native libraries was broken, but no more.
  • Loading branch information...
commit e927c71603a9633e07ace37606fef6024a90b5ce 1 parent 7a880ce
@iconara iconara authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 Library/Formula/jruby.rb
View
6 Library/Formula/jruby.rb
@@ -9,10 +9,10 @@ class Jruby < Formula
md5 'a363b6c2ea24f0ef8df478c93ac8cc59'
def install
- system "ant"
-
Dir.chdir 'bin' do
FileUtils.rm Dir['*.bat']
+ FileUtils.rm Dir['*.exe']
+ FileUtils.rm Dir['*.dll']
Dir['*'].each do |file|
FileUtils.mv file, "j#{file}" unless file.match /^[j_]/
end
@@ -21,7 +21,7 @@ def install
# Only keep the MacOSX native libraries
Dir.chdir 'lib/native' do
Dir['*'].each do |file|
- FileUtils.rm_f file unless file == 'darwin'
+ FileUtils.rm_rf file unless file == 'darwin'
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.