私はレールが初めてで、これが私を止めています。rspec spec/ を実行しようとしていますが、エラーが発生します。誰でも私を助けることができますか?
これは私が得ているコードです:
/Library/Ruby/Gems/1.8/gems/rspec-rails-2.0.0.a6/lib/rspec/rails/transactional_database_support.rb:33: 初期化されていない定数 Rspec::Core (NameError)
from /Library/Ruby/Gems/ 1.8/gems/rspec-rails-2.0.0.a6/lib/rspec/rails.rb:1
から /Users/Kendall/Sites/sample_app/spec/spec_helper.rb:4
から/Library/Ruby/Site/1.8/ rubygems/custom_require.rb:31:in `gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
from /Users/Kendall/Sites/sample_app/spec/controllers/pages_controller_spec. rb:1
from /Library/Ruby/Gems/1.8/gems/rspec-core-2.1.0/lib/rspec/core/configuration.rb:334:in `load'
from /Library/Ruby/Gems/1.8/gems/rspec-core-2.1.0/lib/rspec/core/configuration.rb:334:in `load_spec_files'
from /Library/Ruby/Gems/1.8/gems/rspec- core-2.1.0/lib/rspec/core/configuration.rb:334:/Library/Ruby/Gems/1.8/gems/rspec-core-2.1.0/lib/rspec/core/configuration の「マップ」内
。 rb:334: /Library/Ruby/Gems/1.8/gems/rspec-core-2.1.0/lib/rspec/core/command_line.rb の「load_spec_files」内 rb:18: /Library/Ruby/
の「run」内
Gems/1.8/gems/rspec-core-2.1.0/lib/rspec/core/runner.rb:55:in `run_in_process'
from /Library/Ruby/Gems/1.8/gems/rspec-core-2.1.0/ lib/rspec/core/runner.rb:46:in `run'
from /Library/Ruby/Gems/1.8/gems/rspec-core-2.1.0/lib/rspec/core/runner.rb:10:in `
/usr/bin/rspec から自動実行:19