RubyMine调试不起作用
我无法获取在RubyMine中工作的调试模式。以下是我所做的全部安装。其次是错误的详细信息和我的设置 任何建议,请RubyMine调试不起作用
A下载和安装Ruby
1.Download红宝石2.2.6 - http://rubyinstaller.org/downloads/
2.安装红宝石2.2.6到C: \红宝石
B下载红宝石DEV KIT
3.返回到http://rubyinstaller.org/downloads/
\红宝石\的devkit6.Unzip “的devkit-mingw64-64-4.7.2-20130224-1432-sfx.exe”:在 “https://dl.bintray.com/oneclick/rubyinstaller/DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe”
5.创建目录C4.Under发展点击到C:\红宝石\的devkit
8.Go到文件夹C:\红宝石\的devkit,现在按SHIFT键然后用鼠标点击 “这里打开命令窗口”
9.Type “红宝石dk.rb初始化” 中命令提示符并回车(c:\ DevKit> ruby dk.rb init)
10.在comman中键入“ruby dk.rb install” d提示和回车(C:\的devkit>红宝石dk.rb安装)
C安装的RubyGems
11.Open命令提示并键入以下命令并回车每次 C:\宝石安装打捆
然后导航到Gemfile中找到并运行命令“包安装”
d下载并安装Ruby矿
13.Open http://www.jetbrains.com/ruby/download/项目文件夹
14.Click上试用30天“立即下载”
15.Now安装Ruby矿
从这点我可以加载的项目和运行项目,但是当我尝试调试 同一个项目我得到问题。
该消息测试框架意外退出
C:\Ruby\bin\ruby.exe -EUTF-8 -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) C:/Ruby/lib/ruby/gems/2.2.0/gems/ruby-debug-ide-0.6.0/bin/rdebug-ide --disable-int-handler --evaluation-timeout 10 --rubymine-protocol-extensions --port 62718 --host 0.0.0.0 --dispatcher-port 62719 -- C:\Ruby\bin/cucumber C:/git/wiggle-automation/features/checkout.feature --format Teamcity::Cucumber::Formatter --expand --color -r features
Testing started at 15:58 ...
C:/Ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- debase_internals (LoadError)
from C:/Ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from C:/Ruby/lib/ruby/gems/2.2.0/gems/debase-0.2.2.beta10/lib/debase.rb:4:in `<top (required)>'
from C:/Ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from C:/Ruby/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
from C:/Ruby/lib/ruby/gems/2.2.0/gems/ruby-debug-ide-0.6.0/lib/ruby-debug-ide.rb:8:in `<top (required)>'
from C:/Ruby/lib/ruby/gems/2.2.0/gems/ruby-debug-ide-0.6.0/bin/rdebug-ide:8:in `require_relative'
from C:/Ruby/lib/ruby/gems/2.2.0/gems/ruby-debug-ide-0.6.0/bin/rdebug-ide:8:in `<top (required)>'
from -e:1:in `load'
from -e:1:in `<main>'
Process finished with exit code 1
本
所以记住我尝试安装贬低 - 创业板安装贬低 我得到这个
Building native extensions. This could take a while...
The system cannot find the path specified.
ERROR: Error installing debase:
ERROR: Failed to build gem native extension.
C:/Ruby/bin/ruby.exe -r ./siteconf20170726-16784-15t9wif.rb extconf.rb
checking for vm_core.h... no
checking for vm_core.h... no
checking for vm_core.h... yes
creating Makefile
extconf failed, exit code 1
Gem files will remain installed in C:/Ruby/lib/ruby/gems/2.2.0/gems/debase-0.2.1 for inspection.
Results logged to C:/Ruby/lib/ruby/gems/2.2.0/extensions/x64-mingw32/2.2.0/debase-0.2.1/gem_make.out
所以我看上面的gem_make.out文件,我看到这个
C:/Ruby/bin/ruby.exe -r ./siteconf20170726-21048-1y9auxw.rb extconf.rb
checking for vm_core.h... no
checking for vm_core.h... no
checking for vm_core.h... yes
creating Makefile
extconf failed, exit code 1
任何人都可以解释发生了什么事情请。
我正在使用Windows 7和Ruby 2.2。6p396
好吧,现在这个工作。 我打开命令提示符作为管理员,然后执行以下 C:\宝石安装红宝石调试IDE C:\创业板安装贬低
这一次,他们都没有错执行。 然后我重新启动了RubyMine,现在我可以在调试模式下运行。 Happy days ....