开发者

Problems with jammit gem on windows x64 [duplicate]

开发者 https://www.devze.com 2023-03-06 03:10 出处:网络
This question already has answers here: C开发者_如何转开发losed 10 years ago. Possible Duplicate:
This question already has answers here: C开发者_如何转开发losed 10 years ago.

Possible Duplicate:

Ruby 1.9 - no such file to load 'win32/open3'

I am having a problem with jammit gem. When I run "rake", I get a message telling me, there is a problem - part of message:

$ rake -t (in c:/Ruby187/test) rake aborted! no such file to load -- win32/open3 c:/Ruby187/lib/ruby/gems/1.8/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:239 :in require' c:/Ruby187/lib/ruby/gems/1.8/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:239 :inrequire'

Some info about environment: OS: Windows 7 64bit Ruby 1.8.7 GEMS: jammit (0.6.0) closure-compiler (1.1.1) yui-compressor (0.9.6)

If I remove jammit from Gemfile, command rake -t runs without problems.

Thank you for any suggestion!


The previous answer didn't work for me because it complained that my Ruby version must be less than 1.9 (on Windows 7 64-bit). However, this command worked and jammit started working after the gem was installed:

gem install win32-open3-19


Add this to your Gemfile:

gem 'win32-open3'

and bundle

0

精彩评论

暂无评论...
验证码 换一张
取 消