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

JS and CSS files couldn't be found in staging and production mode. #386

Closed
MasaHirano opened this issue May 5, 2016 · 4 comments
Closed

Comments

@MasaHirano
Copy link

MasaHirano commented May 5, 2016

similar issue with #210

When i deployed code on production server,
reset.css / split.css / dashboard.js files couldn't be found(return 404 error).

files path in HEAD tag are /split/dashboard.js, /split/reset.css, /split/split.css but
capistrano deployment doesn't create /public/split directory.

My environment => Rails: 4.2.1, Ruby: 2.1.5, split: 1.4.2, sinatra: 1.4.7

Any help would be appreciated.

@ccallebs
Copy link
Contributor

ccallebs commented May 9, 2016

@alpaca0984 This occasionally happens to me as well. I don't know the root cause, but it eventually corrects itself. In the meantime opening it up in another browser should do the trick.

@hiemanshu
Copy link

I'm facing the same issue as well. It works well locally, but doesn't work on Staging/Production.

@hiemanshu
Copy link

I eventually fixed this issue by sym-linking the public dashboard folder to my public/<mountpoint> folder in Capistrano.

@andrew
Copy link
Member

andrew commented Mar 30, 2017

Closing as this issue it's nearly a year old, please reopen if it's still affecting you.

@andrew andrew closed this as completed Mar 30, 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

No branches or pull requests

4 participants