Stylesheets not applied to Rails App


#1

When I run my rails app in C9 using “rails s -p $PORT -b $IP” and visit the URL where my code is running I do not receive any errors, functionality is working as designed, but my stylesheets are not being applied. However, once I deploy to Heroku all stylesheets are applied as expected.

Where in my app should I be looking to ensure stylesheets (in my case, bootstrap) are applied in the dev/test environment?


#2

maybe you are loading stylesheets using http:// protocol, and preview is opened as https://?


#3

Open your browser’s Developer Tool. Any error or warning message pop up?