デバッグ環境作成の続きです。
デバッグ用gemをインストールする前に、古いgemをアンインストールします
gem uninstall ruby-debug
gem uninstall ruby-debug-ide
デバッグ用gemをインストール
>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.16
1 gem installed
Installing ri documentation for ruby-debug-ide-0.4.16...
Installing RDoc documentation for ruby-debug-ide-0.4.16...
>gem install ruby-debug-base19
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
Successfully installed ruby-debug-base19-0.11.25
1 gem installed
Installing ri documentation for ruby-debug-base19-0.11.25...
Installing RDoc documentation for ruby-debug-base19-0.11.25...
ruby-debug-base19は、1.9.x用みたいです。
gem listすると、こんな感じです。
abstract (1.0.0)
actionmailer (3.0.8)
actionpack (3.0.8)
activemodel (3.0.8)
activerecord (3.0.8)
activeresource (3.0.8)
activesupport (3.0.8)
archive-tar-minitar (0.5.2)
arel (2.0.10)
builder (2.1.2)
bundler (1.0.15)
columnize (0.3.3)
erubis (2.6.6)
i18n (0.5.0)
linecache (0.45.1 mswin32)
linecache19 (0.5.12)
mail (2.2.19)
mime-types (1.16)
minitest (1.6.0)
polyglot (0.3.1)
rack (1.2.3)
rack-mount (0.6.14)
rack-test (0.5.7)
rails (3.0.8)
railties (3.0.8)
rake (0.8.7)
rdoc (2.5.8)
ruby-debug-base19 (0.11.25)
ruby-debug-ide (0.4.16)
ruby_core_source (0.1.5)
sqlite3 (1.3.3 x86-mingw32)
thor (0.14.6)
treetop (1.4.9)
tzinfo (0.3.28)
これで、本来デバッグ環境が整ったはずなんですが、
NetBeanusで、デバッグ環境を実行すると、エラーが出力されます。
そこで、
Windows+Rails3+Fast Debuggerまとめ
を参考にさせていただきました。ありがとうございました。