Open ahmadseleem opened 10 years ago
How do you suggest the best way to use it with rails and assets-pipeline ?
I recommend using this gem.
https://github.com/afnecors/gumby
I had the same difficulties as you. and, I solved this problem as follows.
In my Gemfile
,
gem 'gumby'
gem 'jquery-rails'
gem 'modernizr-rails'
$ bundle install
and, in app/assets/javascripts/application.js
, write down like this
//= require modernizr
then, open the file app/assets/stylesheets/application.css
*= require gumby
It was going to work for me. (with Rails 4.1.1)
Thanks.
Thanks, I should give it a try soon!
@natsu871 -- Using this gem does not use the scss that gumby has available... so you can not override the var/_default.scss file with different grid sizes...
how did you go about accomplishing overrides to the default gumby css?
Why there's no gem for Rails ? I mean up-to-date one. officially from you guys ?