mina-deploy / mina

Blazing fast deployer and server automation tool
https://rubygems.org/gems/mina
Other
4.35k stars 490 forks source link

Could not find rack-cors-0.4.0 in any of the sources #500

Closed Prajna closed 6 years ago

Prajna commented 7 years ago

I just added this gem into my own project.

While deploying, the console shows rack-cors-0.4.0 is successfully installed,

$ bundle install --without development test --path "vendor/bundle" --deployment
       Fetching gem metadata from https://gems.ruby-china.org/..........
       Fetching version metadata from https://gems.ruby-china.org/..
       Installing rake 12.0.0
       Installing multipart-post 2.0.0
       Installing multi_json 1.12.1
       Using bundler 1.13.7
       Installing rack-cors 0.4.0

but while running

-----> Precompiling asset files
       $ RAILS_ENV="production" bundle exec rake assets:precompile
       Could not find rack-cors-0.4.0 in any of the sources
       Run `bundle install` to install missing gems.
 !     ERROR: Deploy failed.

It fails. Why? Would you please give me a solution?

d4be4st commented 6 years ago

I would need your full deploy.rb script to see where the problem might be @Prajna