rweng / jquery-datatables-rails

jquery-datatables gem for rails
MIT License
564 stars 339 forks source link

Install Generator doesn't generate in SCSS file #154

Open RichardGregoryHamilton opened 9 years ago

RichardGregoryHamilton commented 9 years ago

I read the documentation, and got as far as step 3.

Running the command

rails generate jquery:datatables:install

It added //= require dataTables/jquery.dataTables to my application.js file.

When I checked my application.css.scss file, it wasn't there.

Needless to say, datatables did not work.

h0jeZvgoxFepBQ2C commented 9 years ago

also doesnt work for me..

rails generate jquery:datatables:install bootstrap3
=> Could not find generator jquery:datatables:install.
sivagollapalli commented 9 years ago

@lichtamberg I also faced this issue. Please update your Gemfile like as gem 'jquery-datatables-rails', '~> 3.2' would you solve your issue.

@ricardodovalle If css minifest extension is .css.scss then install generator wont edit css minifest file. I think it seems an issue. Thoughts please?

onebree commented 9 years ago

@sivagollapalli I agree that the generator does not recognize .css.scss filetypes. I tried the generate the LOC myself and found that only the JavaScript line was inserted.