nicolas-besnard / adminlte2-rails

MIT License
104 stars 57 forks source link

Plugin generate not working #9

Open AndreLZGava opened 8 years ago

AndreLZGava commented 8 years ago

rails g admin_lte2_plugins PLUGIN_NAME is not working for me this give me a error in my terminal, but that creates the code in the aplication.js file Error in terminal: Could not find "PLUGIN_NAME" in any of your source paths. Your current source paths are: /home/my_computer/.rvm/gems/ruby-2.1.2/gems/adminlte2-rails-0.0.6/lib/generators/admin_lte2_plugins/templates

Am I doing something simply wrong?

oca159 commented 8 years ago

I have the same problem, any workaround?

KarolisMart commented 8 years ago

Check if plugin files have the same names that are set in plugins_generator.rb, I have fixed a similar error.

oca159 commented 8 years ago

Thanks, i am going to check the names.

vanliem commented 6 years ago

In my case, I need to install slimScroll, just need (lowercase plugin name), It work for me $rails g admin_lte2_plugins slimscroll