Closed MichaelMartinez closed 12 years ago
Yep, I was dense.
Was there a fix for this? I have the same issue and Im a noob to rails in general.
Haven't run into any issues with the Foundation gem on our side (currently using it with Rails 3.2.8 but 3.2.6 should also work). What's happening when you try to use the gem?
If you're using Heroku there are some instances where you may need to set update your config/application.rb
to include the following line:
config.assets.initialize_on_precompile = false
More information on potential Heroku issues can be found in #1165.
Someone should open this ticket again, because I tried Foundation on a separate new Rails install and couldn't get it to work without including foundation like this...
//= require foundation/app //= require foundation/jquery.cookie //= require foundation/jquery.event.move //= require foundation/jquery.event.swipe //= require foundation/jquery.foundation.accordion //= require foundation/jquery.foundation.alerts //= require foundation/jquery.foundation.buttons //= require foundation/jquery.foundation.clearing //= require foundation/jquery.foundation.forms //= require foundation/jquery.foundation.joyride //= require foundation/jquery.foundation.magellan //= require foundation/jquery.foundation.mediaQueryToggle //= require foundation/jquery.foundation.navigation //= require foundation/jquery.foundation.orbit //= require foundation/jquery.foundation.reveal //= require foundation/jquery.foundation.tabs //= require foundation/jquery.foundation.tooltips //= require foundation/jquery.foundation.topbar //= require foundation/jquery //= require foundation/jquery.offcanvas //= require foundation/jquery.placeholder //= require foundation/modernizr.foundation
I am trying to add this gem to an existing Rails 3.2.6 app and I can not get it working. Maybe I am dense, but I don't have any problem with other frameworks, my own gems and other modified gems.
I either get a sprockets error; Sprockets::FileNotFound
or
none of the foundation files compile.
I have followed all of the instructions here; http://foundation.zurb.com/docs/gem-install.php#simple2 AND I have go so far as to attempt updating the foundation-rails gem via pull request here; https://github.com/zurb/foundation-rails/pull/46
I really want to love and use Foundation 3.... but ...