documentcloud / closure-compiler

A Ruby Wrapper for the Google Closure Compiler

Home Page:http://github.com/documentcloud/closure-compiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

1.8.7 on Windows

whitmer opened this issue · comments

I know, I know, I'm a glutton for punishment. But it seems like there's a problem getting closure compiler to work on Windows with ruby < 1.9. In your gemspec you don't list any dependencies, but in lib/closure/popen.rb you require 'win32/open3' if on windows with ruby < 1.9. I have to add some funky logic to my Gemfile to manually require this gem in order for things to work on windows.

Any change you can update the gemspec?

Do you know of a way to update the gemspec, without requiring the gem on all other platforms, where it's not needed?

Lets call 1.8 use-at-your-own-risk at this point.