ruby - File to import not found or unreadable when using Rails asset gem -


I am trying to make a Rail Property gem problem is that when I need asset files in my Rail 4 project Or use gem to import, I get an error:

  The file was not found or is not readable for import: jquery.xdan .datetimepicker  

I have inspected the paths that are seeing it, and it seems that it really is my Do not look at each directory (folder gem is nowhere in the list) to Ni. Therefore, it seems that the gem is not required, because if this happens, then the engine will load , there are indications of the rail that I have an asset folder, is anyone watching me What am I missing? Whatever I can tell, I am doing all those things which are doing other asset gemstones.

I saw your gem to work it, lib / xdan_datetimepicker_rails.rb To rename lib / xdan-datetimepicker-rails.rb .

In your rail project, uninstall your old gem and install a new one. To make sure it is properly installed:

  $ rails c> PP MyRailsApp :: application.assets.paths  

You should see an array of paths present in the asset pipeline. Search for:

  /gem/path/to/xdan-datetimepicker-rails-0.0.1/app/assets/javascripts/gem/path/to/xdan-datetimepicker-rails-0.0 . 1 / app / assets / stylesheet  

Note: Restart Rail c and / or Rail of If you are not looking at it.

// = jquery.xdan.datetimepicker required

app / property / stylesheet / stylesheet.css.scss

  * = Required jquery.xdan.datetimepicker  

Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -