ruby on rails - rake assets:precompile aborting, can't push to heroku -
I am using the ANK blogging gem, it works locally, it works locally I have tried to precompile and this is
/Users/me/.rvm/rubies/ruby-1.9.3-rc1/bin/ruby/Users/me/.rvm/gems / Ruby done -1.9.3- RC1 @ RBI 193 / Bean / RAP Asset: Precompile: All RARS_Anv = Production RARS_GRUUPS = Rack of Assets Rack! Can not load such files - uglifier (/Users/me/Sites/bayani/app/assets/javascripts/admin.js) I have an Enki blog for trouble The push was never done before and, though, I do not know where to get rid of, I remember that I have seen it in other NKI blogs, so I do not know why this is causing the problem now. >
When I pushed Haroko and canceled the precompile with it
Applications for asset pipeline running to prepare: rake assets: precompile rake aborted! No file to load - Eugglifire (in /tmp/build_5tbsi7k7ddhk/app/assets/javascripts/admin.js) Tasks: Top = & gt; Property: precompile: See full trace by running the work with primary (--trace) failed in the precompiling property, rails31_enable_runtime_asset_compilation Injection Please see this article for help troubleshooting help enabling asset compilation: http://devcenter.heroku.com / Article / rails31_heroku_cedar # troubleshooting After reading this troubleshooting article on the link provided, I will write in application.rb
config.assets.initialize_on_precompile = False put this but I still have the same problem
it's admin.js Only a clear file is this link of enki
// This is a clear file that will be compiled in application.js, which will include all the files listed below. Any javascript / coffee file in the directory, lab / assets / javascript, vendor / property / javascript, // or the vendor / property / JavaScript of the plug-in, if any, can be referenced here using the relative path. // // It is not appropriate to add code directly here, but if you do this, it will appear below // file. // // Warning: Firstly go to the end of the Blake line what has been applied, go after any empty line // below requirement. // // = require jquery_ujs // = requirement jquery_ujs // = requirement jquery.livequery // = require jquery.form // = requiring jquery.easing.1.3 // = require humanmsg // = require_tree ./admin
Add to the jifffile below.
Group: Property Mani 'therubyracer' Gem 'Saas-Rail', "~> 3.1.0" Mani 'Coffee-Rail', "~> 3.1.0" Mani Run Run 'uglifier'
Bundle install Rake property: precompile I hope, it will be useful.
Comments
Post a Comment