的Gemfile黃瓜tmbundle的運行命令失敗,「找不到文件」的錯誤
source 'http://rubygems.org'
gem 'rails', '3.0.3'
gem 'sqlite3-ruby', :require => 'sqlite3'
group :development, :test do
gem "rspec-rails", ">= 2.0.0"
gem "cucumber-rails", ">= 0.3.2"
gem "webrat", ">= 0.7.2"
end
我上的一個特徵文件中使用「運行特徵」的命令,我得到:
錯誤輸出:
/opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in gem_original_require':N o這樣的文件加載 -/Volumes/Macintosh HD/Users/christian/Projects/siteroot/.bundle/environment (LoadError)從 /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require。 rb:29:inrequire' from/Volumes/Macintosh HD/Users/christian/Library/Application Support/TextMate/Bundles/Cucumber.tmbundle/Support/lib/cucumber/mate /../ mate.rb:10 from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in gem_original_require'from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29: inrequire' 從/卷/ Macintosh 高清/用戶/基督徒/圖書館/應用程序 Support/TextMate/Bundles/Cucumber.tmbundle/Support/lib/cucumber/mate/feature_helper.rb:1 from /opt/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:29:in 從/tmp/cucumber-9776.rb:2
不,我正在使用1.8.7 – 2011-02-10 04:52:26