저는 RoR 초보자이며 RoR 튜토리얼을 통해 학습을 시작했습니다. 사실이 장 (http://ruby.railstutorial.org/chapters/static-pages#top)에서 rspec을 설치하려고합니다. 하지만 때마다 "레일 g rspec : 설치"하려고 할 때이 오류 메시지가 나타납니다.rails generate rspec : install -로드 할 파일이 없습니다. -sprockets/railtie (LoadError)
C:\Sites\rails\rails_projects\sample_appp>rails g rspec:install
C:/Sites/rails/rails_projects/sample_appp/config/application.rb:8:in `require':
no such file to load -- sprockets/railtie (LoadError)
from C:/Sites/rails/rails_projects/sample_appp/config/application.rb:8:i
n `<top (required)>'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/railties-3.0.9
/lib/rails/commands.rb:15:in `require'
from C:/RailsInstaller/Ruby1.9.2/lib/ruby/gems/1.9.1/gems/railties-3.0.9
/lib/rails/commands.rb:15:in `<top (required)>'
from script/rails:6:in `require'
from script/rails:6:in `<main>'
아무도 도와 줄 사람이 있습니까? 이미 application.rb에서 주석 처리하거나 gemfile에서 명시 적으로 언급하려고했습니다. 하지만 여전히이 오류 메시지가 나타납니다.
누군가 나를 도울 수 있다면 좋을 것입니다. Btw. 내 OS는 Windows XP이고 Ruby 버전 1.9.2.p290 및 Rails 버전 3.1.0.rc6을 사용하고 있습니다.
레일 3.1은 안정적이지 않습니다. 레일 3.0.x로 다운 그레이드해야합니다. – apneadiving
방금 학습 한 경우 3.1을 사용하십시오. 학습을 위해 충분히 안정적이며, 무엇이든 제작에 들어갈 준비가되기 전에 출시 될 것입니다. 실제로 몇 가지 간단한 3.1 앱을 사용하여 제작에 들어갔고 제대로 작동합니다. 핵심은 테스트, 테스트, 테스트입니다. – jdc