1
터미널에서 rake db:migrate
명령을 실행하려고하는데 오류가 발생합니다. 불과 몇 분 전에 작동했습니다. 여기에 오류가 나는 얻을 것 : 오류의rake db : 마이그레이션 실패 (활성 레코드)
rake aborted!
no such file to load -- activerecord
전체 추적 : 나는이 문제를 해결하려면 어떻게
/Users/amritayalur/.rvm/gems/ruby-1.9.2-p318/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:inrequire'
/Users/amritayalur/.rvm/gems/ruby-1.9.2-p318/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in block in require'
/Users/amritayalur/.rvm/gems/ruby-1.9.2-p318/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:236:inload_dependency'
/Users/amritayalur/.rvm/gems/ruby-1.9.2-p318/gems/activesupport-3.2.6/lib/active_support/dependencies.rb:251:in require'
/Users/amritayalur/.rvm/gems/ruby-1.9.2-p318/gems/has_one_autocreate-1.0.0/lib/has_one_autocreate.rb:2:in'
/Users/amritayalur/.rvm/gems/[email protected]/gems/bundler-1.1.4/lib/bundler/runtime.rb:68:in require'
/Users/amritayalur/.rvm/gems/[email protected]/gems/bundler-1.1.4/lib/bundler/runtime.rb:68:inblock (2 levels) in require'
/Users/amritayalur/.rvm/gems/[email protected]/gems/bundler-1.1.4/lib/bundler/runtime.rb:66:in each'
/Users/amritayalur/.rvm/gems/[email protected]/gems/bundler-1.1.4/lib/bundler/runtime.rb:66:inblock in require'
/Users/amritayalur/.rvm/gems/[email protected]/gems/bundler-1.1.4/lib/bundler/runtime.rb:55:in each'
/Users/amritayalur/.rvm/gems/[email protected]/gems/bundler-1.1.4/lib/bundler/runtime.rb:55:inrequire'
/Users/amritayalur/.rvm/gems/[email protected]/gems/bundler-1.1.4/lib/bundler.rb:119:in require'
/Users/amritayalur/rails_projects/mobilecapdb/config/application.rb:7:in'
/Users/amritayalur/.rvm/rubies/ruby-1.9.2-p318/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in require'
/Users/amritayalur/.rvm/rubies/ruby-1.9.2-p318/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:inrequire'
/Users/amritayalur/rails_projects/mobilecapdb/Rakefile:5:in <top (required)>'
/Users/amritayalur/.rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:inload'
/Users/amritayalur/.rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/rake_module.rb:25:in load_rakefile'
/Users/amritayalur/.rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/application.rb:501:inraw_load_rakefile'
/Users/amritayalur/.rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/application.rb:82:in block in load_rakefile'
/Users/amritayalur/.rvm/gems/ruby1.9.2p318/gems/rake0.9.2.2/lib/rake/application.rb:133:instandard_exception_handling'
/Users/amritayalur/.rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/application.rb:81:in load_rakefile'
/Users/amritayalur/.rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/application.rb:65:inblock in run'
/Users/amritayalur/.rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/application.rb:133:in standard_exception_handling'
/Users/amritayalur/.rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/lib/rake/application.rb:63:inrun'
/Users/amritayalur/.rvm/gems/ruby-1.9.2-p318/gems/rake-0.9.2.2/bin/rake:33:in <top (required)>'
/Users/amritayalur/.rvm/gems/ruby-1.9.2-p318/bin/rake:23:inload' /Users/amritayalur/.rvm/gems/ruby-1.9.2-p318/bin/rake:23:in <main>'
를?
어떤 레일 버전을 사용하고 있습니까? – CodeMaster123
rake db : migrate --trace' 명령을 실행하여 전체 오류 추적을 붙여 넣으십시오. – abhas
레일에 있습니다. 3.2.6 – Slicekick