2013-02-27 54 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