Sto usando Windows e il mio Gemfile
ha questa linea:problema robusta installazione gioiello possibilmente con libgit2 su Windows
gem 'rugged'
Quando eseguo bundle install
mi sta dando questo errore:
Installing rugged 0.21.0 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
C:/Ruby21/bin/ruby.exe extconf.rb --use-system-libraries
checking for cmake... no
ERROR: CMake is required to build Rugged.
*** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers.
Check the mkmf.log file for more details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=C:/Ruby21/bin/ruby
extconf failed, exit code 1
Gem files will remain installed in
C:/Ruby21/lib/ruby/gems/2.1.0/gems/rugged-0.21.0 for inspection.
Results logged to C:/Ruby21/lib/ruby/gems/2.1.0/extensions/x86-mingw32/2.1.0/rugged-0.21.0/gem_make.out
An error occurred while installing rugged(0.21.0), and Bundler cannot continue.
Make sure that `gem install rugged -v '0.21.0'` succeeds before
bundling.
Sono suppongo che abbia qualcosa a che fare con libgit2
ma non ne sono sicuro.
grazie amico .... ora c'è una nuova area in cui ho bloccato..it ha a che fare con libv8 e rubyracer su windows pc. –
A questo si dovrebbe rispondere qui da qualche parte, se non si fa un'altra domanda. – Azolo
grazie amico .... ora c'è una nuova area in cui ho bloccato..it ha a che fare con libv8 e rubyracer su windows pc. Molto è stato detto come http://stackoverflow.com/questions/19673714/rails-gem-install-error-error-install-libv8-error-failed-to-build-gem-nati e così via. Ma sembra che non stiano funzionando. Ho provato a eseguire C: \ Sooraj \ Playdrone \ playdrone-master> gem installazione libv8 -v '3.16.14.3' - --with-system-v8 prima e poi quando faccio installare bundle sotto l'errore sta arrivando http: //stackoverflow.com/questions/31254645/libv8-and-rubyracer-error-after-using-gem-install-libv8-v-3-16-14-3-with –