Please, help me to tackle with bundle and gem dependencies.
RoR on Windows 7. i'm trying to run bundle update, but while update process I get:
Italling eventmachine (0.12.10) with native extensions Unfortunately, a fatal error has occurred. Please report this error to the Bundler issue tracker at https://github.com/carlhuda/bundler/issues so that we can fix it. Thanks! C:/RailsInstaller/Ruby1.9.2/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:529:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError) ..
Bundle update stops at this point.
Eventmachine is needed for thin web server. i've installed event machine manually: gem install eventmachine --pre
in my gemfile i've got:
gem 'thin' (nothing about eventmachine)
after bundle install/update in my gemfile.lock:
...
eventmachine (1.0.0.beta.4.1-x86-mingw32)
...
thin (1.2.11-x86-mingw32)
daemons (>= 1.0.9)
eventmachine (>= 0.12.6)
rack (>= 1.0.0)
..
DEPENDENCIES
eventmachine
rails (= 3.1)
....
thin
if I run "bundle install" its ok
if I run server (thin start) - it starts ok.
I've solved it. needed to lock the version in gemfile, to tell bundle that I need version that I :
gem 'eventmachine', "1.0.0.beta.4.1
EDIT: (11/14/2012) The gem version is not beta anymore. you won't be having problem with installing the gem anymore. :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With