0
已安裝/配置RSpec 2.3.0的新rails項目創建了一個模型。當我運行rake spec時,它無法加載shared_helpers.rb。有任何想法嗎?RSpec shared_helpers問題
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -S bundle exec rspec "./spec/models/school_spec.rb"
/Library/Ruby/Gems/1.8/gems/bundler-1.0.7/lib/bundler/shared_helpers.rb:2:in `require': no such file to load -- rubygems (LoadError)
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.7/lib/bundler/shared_helpers.rb:2
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.7/lib/bundler/setup.rb:1:in `require'
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.7/lib/bundler/setup.rb:1
rake aborted!
ruby -S bundle exec rspec "./spec/models/school_spec.rb" failed