相关疑难解决方法(0)

我如何调试Ruby脚本?

我从Internet复制了以下Ruby代码并进行了一些更改.

__PRE__

但它不起作用!

请帮忙.我该怎么做才能自己调试程序?

ruby debugging

148
推荐指数
12
解决办法
15万
查看次数

安装调试器时出错:无法使用ruby-1.9.3-p362构建gem本机扩展

在尝试为新项目运行bundle时,我遇到以下错误:

Installing debugger (1.2.2) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

    C:/Ruby193/bin/ruby.exe 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
Makefile creation failed
**************************************************************************
No source for ruby-1.9.3-p362 provided with debugger-ruby_core_source gem.
**************************************************************************
*** 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. …
Run Code Online (Sandbox Code Playgroud)

ruby bundle ruby-on-rails

25
推荐指数
5
解决办法
3万
查看次数

标签 统计

ruby ×2

bundle ×1

debugging ×1

ruby-on-rails ×1