Windows X64上的Jammit Gem的问题[复制]
-
14-11-2019 - |
题
可能的副本:
Ruby 1.9 - 没有加载'win32 / open3'我有抖动宝石的问题。当我跑“耙子”时,我收到一条消息告诉我,有一个问题 - 消息的一部分:
$ rake -t (在C:/ Ruby187 /测试中) 耙中止了! 没有加载文件 - Win32 / Open3 C:/ruby187/lib/ruby/gems/1.8/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:239 :在要求' C:/ruby187/lib/ruby/gems/1.8/gems/activesupport-3.0.6/lib/active_support/dependencies.rb:239 :初步'
一些关于环境的信息: OS:Windows 7 64bit Ruby 1.8.7. 宝石: JAMMIT(0.6.0) Closure-Compiler(1.1.1) YUI-压缩机(0.9.6)
如果我从gemfile中删除了jammit,则命令rake -t运行没有问题。
谢谢任何建议!
解决方案
Add this to your Gemfile:
gem 'win32-open3'
and bundle
其他提示
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