自从我开始使用rvm以来,我度过了一段艰难的时光.我已经完成了所有的rvm/textmate设置并拥有最新的捆绑包但我仍然无法从textmate运行Rspec测试.
我有最新的捆绑包github.com/rspec/rspec-tmbundle.git
,它安装在~/Library/Application\ Support/TextMate/Bundles/
RSpec.tmbundle
RVM默认使用系统ruby 1.8.6
Rspec宝石版本
宝石列表 - 本地| grep spec blue_light_special(0.2.0)rspec(2.2.0)rspec-core(2.2.1,2.0.1)rspec-expectations(2.2.0,2.0.1)rspec-mocks(2.2.0,2.0.1) rspec-rails(2.0.1,1.3.2)
TextMate的
TM_RUBY = /用户/ jspooner/.rvm /斌/ RVM-自动红宝石
错误:rspec/core(LoadError)
/ Users/jspooner/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/rspec/mate.rb:29:in require': no such file to load -- rspec/core (LoadError) from /Users/jspooner/Library/Application Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/rspec/mate.rb:29 from /tmp/textmate-command-8073.rb:2:inrequire'from /tmp/textmate-command-8073.rb:2