当on Rails的3.2使用基础4.3.1我得到以下错误:
Sprockets::FileNotFound in Refinery/pages#home
Showing ...../gems/refinerycms-92675b5132ae/core/app/views/refinery/_javascripts.html.erb where line #16 raised:
couldn't find file 'foundation'
(in ...../app/assets/javascripts/application.js:15)
我检查过了,资产被接通,降级到基金会的早期版本。 但没有任何工程像它应该(我有同样的事情用不同的Rails项目运行良好)
相关线路中的Gemfile:
source 'https://rubygems.org'
gem 'rails', '3.2.13'
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.2.3'
gem 'coffee-rails', '~> 3.2.1'
gem 'compass-rails'
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
# gem 'therubyracer', :platforms => :ruby
gem 'therubyracer', :platforms => :ruby
gem "zurb-foundation", "~> 4.3.1"
gem 'uglifier', '>= 1.0.3'
end
gem 'jquery-rails'