安装rvm 及 ruby:
Shell
$ curl -L https://get.rvm.io | bash -s stable --ruby
1 $ curl -L https://get.rvm.io | bash -s stable --ruby
参考文章:
http://blog.111cn.net/abbuggy/article/details/8170899
http://www.ruby-lang.org/en/downloads/
Windows
1. 下载ruby installer:
http://rubyinstaller.org/downloads/archives
2. 下载DevKit
http://rubyinstaller.org/downloads/
注意ruby与DevKit版本对应关系:
Ruby 1.8.6 to 1.9.3: tdm-32-4.5.2
Ruby 2.0.0: mingw64-32-4.7.2
Ruby 2.0.0 x64 (64bits): mingw64-64-4.7.2
3. 安装DevKit
Ruby
ruby dk.rb init
ruby dk.rb install
1
2 ruby dk.rb initruby dk.rb install
4. 安装ruby debug环境
gem install ruby-debug ruby-debug-ide
ruby-debug和ruby-debug-ide下载地址及版本参见:
http://rubygems.org/search?utf8=%E2%9C%93&query=ruby-debug
5. 下载netbeans 6.9.1
https://netbeans.org/downloads/6.9.1/start.html?platform=windows&lang=zh_CN&option=ruby