RVM 版本:rvm 1.16.17(稳定)
Rails 版本:3.2.9
ruby-oci8 版本:2.1.3
activerecord-oracle_enhanced-adapter:1.4.1
它们是按该顺序安装的。当我尝试使用以下方法搭建对象时:
rails generate scaffold Product title:string description:text\
image_url:string price:decimal
我得到:
invoke active_record
/home/dlsa/.rvm/gems/ruby-1.9.3-p286/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `require': Please install the oracle_enhanced adapter: `gem install activerecord-oracle_enhanced-adapter` (cannot load such file -- active_record/connection_adapters/oracle_enhanced_adapter) (LoadError)
from /home/dlsa/.rvm/gems/ruby-1.9.3-p286/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:251:in `block in require'
from /home/dlsa/.rvm/gems/ruby-1.9.3-p286/gems/activesupport-3.2.9/lib/active_support/dependencies.rb:236:in `load_dependency'
...而且它一直在继续。
你建议我怎么做。我是一个完整的 ruby/rails 新手。