jquery-datatables-rails icon indicating copy to clipboard operation
jquery-datatables-rails copied to clipboard

Install Generator doesn't generate in SCSS file

Open RichardGregoryHamilton opened this issue 9 years ago • 3 comments

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.

RichardGregoryHamilton avatar Jan 09 '15 21:01 RichardGregoryHamilton

also doesnt work for me..

rails generate jquery:datatables:install bootstrap3
=> Could not find generator jquery:datatables:install.

h0jeZvgoxFepBQ2C avatar Mar 18 '15 12:03 h0jeZvgoxFepBQ2C

@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?

sivagollapalli avatar Mar 30 '15 14:03 sivagollapalli

@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.

onebree avatar Jun 16 '15 17:06 onebree