我创建了一个狂欢应用程序并使用一个现有的扩展 spree_news ,将其克隆到我的spree应用程序文件夹,现在当我尝试在 spree_news >内创建一个脚手架或资源时强>通过尝试扩展:
wapnil @ swapnil-pc:〜/ ecommerce / spree_news $ rails generate scaffold oerp Pname:string Pdesc:text Pprice:float
遇到以下错误:
/home/swapnil/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require': cannot load such file -- rails/engine/commands (LoadError)
from /home/swapnil/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:55:in `require'
from script/rails:8:in `<main>'
请帮助!!