コマンド ラインから rspec テストを実行すると、問題なく動作します。しかし、Eclipse 内から (DLTK を使用して) 同じテストを実行しようとすると、次のエラーが発生します。
C:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:
require': cannot load such file -- spec (LoadError) from C:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:45:in
C:/Users/Tim/.eclipse/org.eclipse.platform_4.3.0_1709980481_win32_win32_x86_64/configuration/org. eclipse.osgi/bundles/886/1/.cp/testing/dltk-rspec-runner.rb:12:inrescue in <main>' from C:/Users/Tim/.eclipse/org.eclipse.platform_4.3.0_1709980481_win32_win32_x86_64/configuration/org.eclipse.osgi/bundles/886/1/.cp/testing/dltk-rspec-runner.rb:3:in
'
正しく構成されていないと思いますが、構成方法についてオンラインで役立つものを見つけるのに苦労しています。誰かがそれを機能させるために正しい方向に向けることができますか?
ありがとう。