rakeアセットを実行した後でも、My Railsアプリケーションがステージング環境で正しくアセットをロードしていません:プリコンパイルRAILS_ENV = "ステージング"。アセットのプリコンパイル資産がロードされていません
config.serve_static_files = ENV['RAILS_SERVE_STATIC_FILES'].present?
config.assets.js_compressor = :uglifier
config.assets.compile = false
# Generate digests for assets URLs
config.assets.digest = true
# config.force_ssl = true
# Expands the lines which load the assets
# config.assets.debug = false
config.log_level = :debug
Here's a screenshot of my browser's development console:
は、これは私のステージングconfigです。
パスが間違っています...誰かがwhyyyを知っていますか?
なぜ 'config.assets.compile = false'を設定しましたか? – Rodrigo
このホスト(192.168.0.71)をステージングURLとして使用していますか?そうでない場合は、あなたのマシンからこのホストにアクセスできますか? –