Rails won't compile assets, but shows the compile in the log, rake assets:precompile not generating files

When I run rake assets:precompile it shows in the logs that it compiles plugin.js and knockout, however, those files are not in public/assets. What is wrong?

//= require jquery
//= require jquery_ujs
//= require twitter/bootstrap
//= require ckeditor/init
//= require_tree .

Searching for the files:

[vagrant@localhost BK-Development]$ find public/assets -name plugin.js
[vagrant@localhost BK-Development]$ find public/assets -name knock\*

[vagrant@localhost BK-Development]$ grep plugin.js log/production.log
Compiled ckeditor/plugins/youtube/plugin.js  (0ms)  (pid 32556)
Compiled ckeditor/plugins/youtube/plugin.js  (0ms)  (pid 32556)
[vagrant@localhost BK-Development]$ grep knockout log/production.log
Compiled knockout-3.1.0.js  (0ms)  (pid 32556)
Compiled knockout-3.1.0.js  (0ms)  (pid 32556)

[vagrant@localhost BK-Development]$ grep plugin.js public/assets/manifest.yml
[vagrant@localhost BK-Development]$ grep knockout public/assets/manifest.yml
[vagrant@localhost BK-Development]$

These are in my production.rb. Should not be relevant.

config.serve_static_assets = true
config.assets.compress = true
config.assets.compile = true
config.assets.digest = true
config.assets.precompile += %w( bootstrap.modal.js bootstrap.modal.css application/_helper_classes.css 
bootstrap-datepicker.js bootstrap-datepicker.css books_admin.js categories.js posts.js )

Rails 3.2.14


I explicitly added knockout-3.1.0.js and plugin.js to config.assets.precompile and that generated the files in public/assets. I still don't know why it would generate all the other JS files except those.

Need Your Help

OpenCV Mat of cropped images do not correctly display on MFC View

c++ mfc opencv

I am using following routines to display OpenCV Mat on MFC View. And it's working well for uncropped images. But for pre-cropped images, it shows blank or weird images like the ones below:

ItemStateChanged Event not invoked when unselecting a JToggleButton

java swing jtogglebutton itemlistener

I have a few JToggleButton in a ButtonGroup using ItemListener's itemStateChanged Event to detect when a button is selected/unselected. It does not work in the case where I click on a button itsel...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.