Search code examples
ruby-on-railsrubyzurb-foundationmiddleman

Where is foundation when installed with middleman


I installed foundation into middleman with rails-assets.org just like it says on their frontpage:

Gemfile:

source 'https://rails-assets.org'
source 'https://rubygems.org'
gem 'rails-assets-bower-foundation'
gem "middleman", "~>3.3.7"
# Live-reloading plugin
gem "middleman-livereload", "~> 3.1.0"

all.js:

//= require_tree .

application.js:

//= require_tree .
 //= require_self
+//= require bower-foundation
 //= require_tree .
 //= require_tree shared

application.css:

/*
  *= require_self
+ *= require bower-foundation
  *= require_tree .
  */

Its working, but... It is not visible anywhere on the source folder.

How can I have it there so I can search for classes and override them ?

I have already tried bundle install, but the code is not there. Any ideas?

Thanks.


Solution

  • It's right here:

    gem 'rails-assets-bower-foundation'
    

    That gem you included contains the source. Try bundle show rails-assets-bower-foundation to find out where on disk that is.