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

Fix ActionController::RoutingError #91

Merged
merged 1 commit into from
Jul 25, 2017
Merged

Conversation

snumano
Copy link
Contributor

@snumano snumano commented Jul 25, 2017

I experienced following issue.
https://stackoverflow.com/questions/7829480/no-route-matches-get-assets

When we use puma in production mode, we should set config.public_file_server.enabled to true.
http://edgeguides.rubyonrails.org/configuring.html

I experienced following issue.
https://stackoverflow.com/questions/7829480/no-route-matches-get-assets

When we use puma in production mode,  we should set config.public_file_server.enabled to true.
http://edgeguides.rubyonrails.org/configuring.html
@mfojtik
Copy link
Contributor

mfojtik commented Jul 25, 2017

@snumano if you are using puma in production mode, can you set the RAILS_SERVE_STATIC_FILES variable? Eventually we can set that variable in run script if the puma is configured in production mode.

@mfojtik
Copy link
Contributor

mfojtik commented Jul 25, 2017

actually this is modifying production.rb, so it is reasonable to set this to true in that case :)

@bparees bparees merged commit 9099b10 into sclorg:master Jul 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants