Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Prajna opened this issue Jan 4, 2017 · 1 comment
Closed

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

Prajna opened this issue Jan 4, 2017 · 1 comment

Comments

@Prajna
Copy link

Prajna commented Jan 4, 2017

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
Copy link
Member

d4be4st commented Sep 29, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants