didn't work, no console error message, found this https://github.com/cyu/rack-cors/issues/33, adding set config.serve_static_assets = true in production.rb