虽然捆绑安装在下面的步骤失败了..
Installing dotenv 0.11.1
Installing eventmachine 1.0.3 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
C:/Ruby21-x64/bin/ruby.exe extconf.rb
checking for main() in -lssl... no
checking for rb_trap_immediate in ruby.h,rubysig.h... no
checking for rb_thread_blocking_region()... yes
checking for inotify_init() in sys/inotify.h... no
checking for __NR_inotify_init in sys/syscall.h... no
checking for writev() in sys/uio.h... no
checking for rb_wait_for_single_fd()... yes
checking for rb_enable_interrupt()... no
checking for rb_time_new()... yes
checking for windows.h... yes
checking for winsock.h... yes
checking for main() in -lkernel32... yes
checking for main() in -lrpcrt4... yes
checking for main() in -lgdi32... yes
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
generating rubyeventmachine-x64-mingw32.def
The system cannot find the path specified.
make: *** [rubyeventmachine-x64-mingw32.def] Error 1
make failed, exit code 2
Gem files will remain installed in C:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/eventmachine-1.0.3 for inspection.
Results logged to C:/Ruby21-x64/lib/ruby/gems/2.1.0/extensions/x64-mingw32/2.1.0
/eventmachine-1.0.3/gem_make.out
An error occurred while installing eventmachine (1.0.3), and Bundler cannot
继续。
在捆绑之前确保gem install eventmachine -v '1.0.3'
成功。
请帮助解决如何纠正?非常感谢
答案 0 :(得分:0)
eventmachine 1.0.3
中存在一个错误,阻止它使用DevKit-x64
编译器构建。
您可以将eventmachine
gem升级到更新版本,也可以使用 32位版本的Ruby。