cjohansen / juicer

A command line tool for JavaScript and CSS developers
631 stars 47 forks source link

Juicer not compatible with Ruby 1.9 #13

Closed jakubpawlowicz closed 14 years ago

jakubpawlowicz commented 14 years ago

Once installing juicer on Ruby 1.9 I'm getting the following error:

/usr/local/lib/ruby/gems/1.9.1/gems/rubyzip-0.9.1/lib/zip/zip.rb:4:in require': no such file to load -- ftools (LoadError) from /usr/local/lib/ruby/gems/1.9.1/gems/rubyzip-0.9.1/lib/zip/zip.rb:4:in<top (required)>' from /usr/local/lib/ruby/gems/1.9.1/gems/juicer-0.2.6/lib/juicer/install/jslint_installer.rb:3:in require' from /usr/local/lib/ruby/gems/1.9.1/gems/juicer-0.2.6/lib/juicer/install/jslint_installer.rb:3:in<top (required)>' from /usr/local/lib/ruby/gems/1.9.1/gems/juicer-0.2.6/lib/juicer.rb:62:in require' from /usr/local/lib/ruby/gems/1.9.1/gems/juicer-0.2.6/lib/juicer.rb:62:inblock in require_all_libs_relative_to' from /usr/local/lib/ruby/gems/1.9.1/gems/juicer-0.2.6/lib/juicer.rb:62:in each' from /usr/local/lib/ruby/gems/1.9.1/gems/juicer-0.2.6/lib/juicer.rb:62:inrequire_all_libs_relative_to' from /usr/local/lib/ruby/gems/1.9.1/gems/juicer-0.2.6/lib/juicer.rb:67:in <top (required)>' from /usr/local/lib/ruby/gems/1.9.1/gems/juicer-0.2.6/bin/juicer:5:inrequire' from /usr/local/lib/ruby/gems/1.9.1/gems/juicer-0.2.6/bin/juicer:5:in <top (required)>' from /usr/local/bin/juicer:19:inload' from /usr/local/bin/juicer:19:in `

'

In 1.9 ftool were removed in favor to fileutils.

cjohansen commented 14 years ago

It's the zip gem that fails I think. It's on my list.

jakubpawlowicz commented 14 years ago

Yes, you are right. I found a workaround by using http://github.com/febeling/rubyzip

cjohansen commented 14 years ago

Thanks. My tests for the upcoming 1.0 release looks like they're all green on 1.9, except for one insignificant test.

jakubpawlowicz commented 14 years ago

1.0 release? Looking forward to it!

cjohansen commented 14 years ago

Closed