我很难过。我成功运行了bundle install:
bundle install
...
Using activerecord-oracle_enhanced-adapter (1.4.1) from git://github.com/rsim/oracle-enhanced.git (at master)
...
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
但是,当我运行rake db:create时,我得到以下内容
vagrant@lucid32:/vagrant$ rake db:create
(in /vagrant)
git://github.com/rsim/oracle-enhanced.git (at master) is not checked out. Please run `bundle install`
尝试这个:
vagrant@lucid32:/vagrant$ bundle exec db:create
bundler: command not found: db:create
Install missing gem executables with `bundle install`
在我的Gemfile中:
gem 'activerecord-oracle_enhanced-adapter', '~>1.4.1', :git => 'git://github.com/rsim/oracle-enhanced.git'
这是在Ubuntu上,安装了ruby 1.8.7。我正在运行1.9.2p290 w / rbenv。
答案 0 :(得分:5)
您打算使用bundle exec rake db:create
。
答案 1 :(得分:0)