當前位置:編程學習大全網 - 行動軟體 - 如何在Win7上調試Ruby程序

如何在Win7上調試Ruby程序

先安裝rubyinstaller,下載並解壓DevKit,註意,這兩個版本要對應,網頁上有說明(plete! Please review and modify the auto-generated

'config.yml' file to ensure it contains the root directories to all

of the installed Rubies you want enhanced by the DevKit.

--------------------------------

ruby dk.rb install

---

Invalid configuration or no Rubies listed. Please fix 'config.yml'

and rerun 'ruby dk.rb install'

如果出現的是這個,則需要修改config.yml

加入

- C:\Ruby200-x64

---

[INFO] Updating convenience notice gem override for 'C:/Ruby200-x64'

[INFO] Installing 'C:/Ruby200-x64/lib/ruby/site_ruby/devkit.rb'

這是對的

---------------------

gem install ruby-debug-ide

---

Temporarily enhancing PATH to include DevKit...

Building native extensions. This could take a while...

Successfully installed ruby-debug-ide-0.4.17

Parsing documentation for ruby-debug-ide-0.4.17

Installing ri documentation for ruby-debug-ide-0.4.17

1 gem installed

  • 上一篇:軟件工程專業考研考什麽科目?
  • 下一篇:大鵬怎麽涼的
  • copyright 2024編程學習大全網