Reputation: 52520
I've installed Foundation v4.1.6 on a test Rails 4rc1 project and it seems to work fine. But I want to install it on a production environment and I'd like to know if there are any major issues I just didn't see yet?
Upvotes: 1
Views: 2395
Reputation: 6366
Yes it works well. I don't use compass though, its not required.
There were a number of fixes to the foundation-rails gem which have not yet made it into a new release of the gem. I merged those fixes into my own fork so I could get things working smoothly with a Rails 4 project I am working on.
The details are in a related SO question I just answered here: https://stackoverflow.com/a/20473318/2238268
Upvotes: 1
Reputation: 1725
Yes now it can. I found different docs, here's how I've done it.
Gemfile
gem 'compass-rails', github: "milgner/compass-rails", branch: "rails4"
gem 'zurb-foundation'
Bash console
rails generate foundation:install
application.js
//= require foundation
application.css
*
*= require foundation
*/
@import "layout/*.png";
@include all-layout-sprites;
References:
Upvotes: 3