GumbyFramework / Gumby

A Flexible, Responsive CSS Framework - Powered by Sass
http://gumbyframework.com/
2.85k stars 442 forks source link

Why there's no gem for Rails ? #228

Open ahmadseleem opened 10 years ago

ahmadseleem commented 10 years ago

Why there's no gem for Rails ? I mean up-to-date one. officially from you guys ?

ahmadseleem commented 10 years ago

How do you suggest the best way to use it with rails and assets-pipeline ?

natsu871 commented 10 years ago

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.

ahmadseleem commented 10 years ago

Thanks, I should give it a try soon!

jgrannas commented 9 years ago

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