I'm trying to publish a Rails 3.1 (upgraded from 3.0) application. After submitting the code I ran

bundle install --path vendor/gems RAILS_ENV=production

It worked. I've got a directory vendor/gems/ruby/1.9.1, in which bin, cache, doc, gems and specifications are located. However, when I run a rake task I've got an error:

$ rake db:migrate RAILS_ENV=production
Could not find authlogic-3.0.3 in any of the sources
Run `bundle install` to install missing gems.

It's not a problem with authlogic, it's both in gems and specifications directories, and it was annotate mentioned in the error before I removed it from the gemfile.

What can be wrong?

I'm using Ubuntu 10.10, Ruby 1.9.2p0, Rails 3.1 and Rake 0.9.2. The code was deployed by capistrano, vendor directory is placed in shared folder and linked in the releases.

没有正确的解决方案

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top