Problemi con Jammit Gem su Windows X64 [Duplicate]
-
14-11-2019 - |
Domanda
.Possibile duplicato:
rubino 1.9 - Nessun file del genere da caricare 'win32 / open3'Sto avendo un problema con Jammit Gem.Quando corro "rastrello", ricevo un messaggio che mi dice, c'è un problema - parte del messaggio:
$ rake -t (in c: / ruby187 / test) Rake abortito! Nessun file di questo tipo da caricare - Win32 / Open3 c: /ruby187/lib/ruby/gemm/1.8/GEMS/activesupport-3.0.6/lib/active_support/dependencies.rb: 239 : In Richiesta ' c: /ruby187/lib/ruby/gemm/1.8/GEMS/activesupport-3.0.6/lib/active_support/dependencies.rb: 239 : INREQUIRE '
Alcune informazioni sull'ambiente: OS: Windows 7 64 bit Ruby 1.8.7. Gemme: Jammit (0.6.0) Chiusura-compilatore (1.1.1) YUI-Compressor (0.9.6)
Se rimuovo Jammit da Gemfile, Command Rake -T corre senza problemi.
Grazie per qualsiasi suggerimento!
Soluzione
Add this to your Gemfile:
gem 'win32-open3'
and bundle
Altri suggerimenti
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