문제 설명
zurb‑foundation Rails gem에 캔버스 외 레이아웃 포함 (Including off‑canvas layouts with the zurb‑foundation Rails gem)
What is the right way of implementing the Foundation's off‑canvas layouts in a Rails project?
I am using the zurb‑foundation gem, and tried both version 3.x and 4 (with rails generators). The off‑canvas js/css files do not seem to get included in my pages. Should I be including these manually?
참조 솔루션
방법 1:
Better late than never.
I just hade this issue and its due to the fact that the zurb‑foundation
gem is badly out of date.
Remove:
gem "zurb‑foundation"
Run:
bundle clean ‑F
Add:
gem 'foundation‑rails'
Run:
bundle install
And restart your server.
(by Engin Erdogan、max)