Skip to content
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...
1 parent 7a880ce commit e927c71603a9633e07ace37606fef6024a90b5ce @iconara iconara committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 Library/Formula/jruby.rb
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| file, "j#{file}" unless file.match /^[j_]/
@@ -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'

0 comments on commit e927c71

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