2013-02-27 52 views
-2

當我鍵入命令耙分貝創建命令:創建,被顯示在終端錯誤與耙分貝:在Ruby on Rails的

rake aborted! 
cannot load such file -- active_support/core_ext/class/inheritable_attributes 
/home/shashikant/.rvm/gems/ruby-1.9.3-p385/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `require' 
/home/shashikant/.rvm/gems/ruby-1.9.3-p385/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `block in require' 
/home/shashikant/.rvm/gems/ruby-1.9.3-p385/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:236:in `load_dependency' 
/home/shashikant/.rvm/gems/ruby-1.9.3-p385/gems/activesupport-3.2.11/lib/active_support/dependencies.rb:251:in `require' 
/home/shashikant/.rvm/gems/ruby-1.9.3-p385/gems/supermodel-0.1.4/lib/supermodel.rb:5:in `<top (required)>' 
/home/shashikant/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/runtime.rb:68:in `require' 
/home/shashikant/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/runtime.rb:68:in `block (2 levels) in require' 
/home/shashikant/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/runtime.rb:66:in `each' 
/home/shashikant/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/runtime.rb:66:in `block in require' 
/home/shashikant/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/runtime.rb:55:in `each' 
/home/shashikant/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler/runtime.rb:55:in `require' 
/home/shashikant/.rvm/gems/[email protected]/gems/bundler-1.2.3/lib/bundler.rb:128:in `require' 
/home/shashikant/railsproject/online_exams_system/config/application.rb:7:in `<top (required)>' 
/home/shashikant/railsproject/online_exams_system/Rakefile:5:in `require' 
/home/shashikant/railsproject/online_exams_system/Rakefile:5:in `<top (required)>' 
/home/shashikant/.rvm/gems/ruby-1.9.3-p385/bin/ruby_noexec_wrapper:14:in `eval' 
/home/shashikant/.rvm/gems/ruby-1.9.3-p385/bin/ruby_noexec_wrapper:14:in `<main>' 
(See full trace by running task with --trace) 
+0

嘗試運行'捆綁安裝'第一 – 2013-02-27 09:14:53

+0

我也這樣做,仍然得到相同的錯誤 – 2013-03-01 06:57:42

回答

0

我得到了答案下面的錯誤只是downloded文件「inheritable_attributes.rb」形式github和其他文件名將顯示後,您將指定的目錄中添加文件並運行命令rake db:migrate