我無法獲取在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