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?
I just added this gem into my own project.
While deploying, the console shows rack-cors-0.4.0 is successfully installed,
but while running
It fails. Why? Would you please give me a solution?