我已禁用管道資產預編譯。對於我在我的的config/application.rb中&配置/環境/ development.rb管道資產預編譯禁用似乎不起作用
config.assets.enabled = false
以下行我試圖與Capistrano3開發環境中進行部署。當我運行部署命令時,我發現資產已經預編譯。
$帽開發部署--trace
DEBUG [8b4a938e] Command: cd /home/ec2-user/capistrano-3/a/releases/20140122054901 && (RAILS_ENV=development ~/.rvm/bin/rvm 2.0.0-p353 do bundle exec rake assets:precompile)
DEBUG [8b4a938e] /home/ec2-user/.rvm/rubies/ruby-2.0.0-p353/bin/ruby /home/ec2-user/capistrano-3/ano_dev/shared/bundle/ruby/2.0.0/bin/rake assets:precompile:all RAILS_ENV=development RAILS_GROUPS=assets
DEBUG [8b4a938e]
INFO [8b4a938e] Finished in 8.812 seconds with exit status 0 (successful).
我需要做什麼來避免資產預編譯什麼。它進一步給出了
in'Capfile'這行評論了'load'deploy/assets''? –
@ Monk_Code-我正在使用capistrano 3. – user3205523