ruby on rails 3.1 - Files added to config.assets.precompile are not served in development -



ruby on rails 3.1 - Files added to config.assets.precompile are not served in development -

i using activeadmin gem proposes little weird way of including additional assets automatically generated gem: https://github.com/gregbell/active_admin/issues/492

my problem though in config/application.rb set

config.assets.precompile += ['active_admin.css', 'active_admin.js', 'my.css', 'my.js']

my_file.css , my_file.js not served in development mode, it's routing error.

i have registered them activeadmin's own config.require_javascript , config.require_stylesheet, seems work, since generated html contains respective script tags.

however /assets/my.css , /assets/my.css not responsive.

what cause problem, how think?

it turned out files trying add together corrupted somehow since creating new ones , copying content within made trick.

i including .js , .css files of plugin: http://loopj.com/jquery-tokeninput/ fine not taking issue account.

ruby-on-rails-3.1 asset-pipeline activeadmin

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -