Pergunta

.

possível duplicado:
Ruby 1.9 - Nenhum arquivo para carregar 'Win32 / Open3'

Eu estou tendo um problema com Jammit Gem.Quando corro "Rake", recebo uma mensagem dizendo-me, há um problema - parte da mensagem:

$ Rake -t (em C: / ruby187 / teste) Rake abortado! Nenhum arquivo para carregar - Win32 / Open3 C: /Ruby187/lib/ruby/gems/1.8/gems/activesupport-3.0.6/lib/active_support/dependence.rb: 239 : em exigir ' C: /Ruby187/lib/ruby/gems/1.8/gems/activesupport-3.0.6/lib/active_support/dependence.rb: 239 : Inrequire '

Algumas informações sobre o meio ambiente: SO: Windows 7 64bit Ruby 1.8.7. Gems: Jammit (0.6.0) Compilador de fechamento (1.1.1) Yui-Compressor (0.9.6)

Se eu remover o Jammit da Gemfile, o Comando Rake -t é executado sem problemas.

Obrigado por qualquer sugestão!

Foi útil?

Solução

Add this to your Gemfile:

gem 'win32-open3'

and bundle

Outras dicas

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
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top