documentcloud / jammit

Industrial Strength Asset Packaging for Rails
http://documentcloud.github.com/jammit/
MIT License
1.16k stars 197 forks source link

Jammit ignores "config.action_controller.asset_host" ? #110

Closed ghost closed 13 years ago

ghost commented 13 years ago

I set my config.action_controller.asset_host="http://assets.staging.mysite.com" in my environments/staging.rb however, the URIs to my jammit assets are all absolute from the root (/assets/app.js?xxxx) ..

Setting the config.action_controller.asset_host in my dev env seems to work though.

I am running nginx/passenger 3

Thoughts?

ghost commented 13 years ago

N/M - Had to restart Nginx for the updates asset_host directive to take effect.

jashkenas commented 13 years ago

whew...