捆绑安装,Ruby on Rails,rubyinstaller

Bundle Install, Ruby on Rails, rubyinstaller

我对 Rails 上的 Ruby 完全陌生,在创建新的 rails 项目时遇到了一些困难。每次运行 'bundle install' 命令时,我都会收到以下错误:

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    C:/Ruby193/bin/ruby.exe -r ./siteconf20150226-7776-brvf10.rb extconf.rb
checking for rb_method_entry_t.called_id in method.h... no
checking for rb_control_frame_t.method_id in method.h... no
checking for rb_method_entry_t.called_id in method.h... no
checking for rb_control_frame_t.method_id in method.h... no
checking for rb_method_entry_t.called_id in method.h... yes
checking for vm_core.h... yes
checking for iseq.h... yes
checking for insns.inc... yes
checking for insns_info.inc... yes
checking for eval_intern.h... yes
checking for struct iseq_line_info_entry in vm_core.h,iseq.h... no
checking for struct iseq_insn_info_entry in vm_core.h,iseq.h... yes
checking for if rb_iseq_compile_with_option was added an argument filepath..
s
creating Makefile

make  clean
Makefile:165: *** target pattern contains no `%'.  Stop.

make
Makefile:165: *** target pattern contains no `%'.  Stop.

make failed, exit code 2

Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/debug
1.6.8 for inspection.
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/extensions/x86-mingw32/1.9.
bugger-1.6.8/gem_make.out
An error occurred while installing debugger (1.6.8), and Bundler cannot
continue.
Make sure that `gem install debugger -v '1.6.8'` succeeds before bundling.

现在我已经尝试了所有方法,从安装调试器版本 1.6.8、删除并重新安装它、删除 Gemfile.LOCK 和创建一个新的 rails 项目,但我仍然遇到错误.我正在使用来自 http://rubyinstaller.org/downloads/ 的 Ruby 安装程序 "Ruby 1.9.3-p551" 和来自同一个网站的 DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe。我尝试安装 byebug,但这与我的 Ruby.

版本不兼容

有人有什么建议吗?

非常感谢您!

rubygems > 2.4.0 存在一个已知问题

尝试 运行 运行 这个

之后的命令

gem update --system 2.3.0