Skip to content

Commit

Permalink
Narrow sprockets-rails version
Browse files Browse the repository at this point in the history
Prevent usage of sprockets 3 for now which causes precompile errors.
  • Loading branch information
tf committed Jun 22, 2016
1 parent efb890c commit 0361aee
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pageflow.gemspec
Expand Up @@ -89,6 +89,11 @@ Gem::Specification.new do |s|
# Scss compiler
s.add_dependency 'sass', '~> 3.4'

# Newer sprocket version allow sprockets 3 which causes
# precompilation errors due to the arity of the lambda added to
# `config.assets.precompile` in `pageflow/engine.rb`.
s.add_dependency 'sprockets-rails', '~> 2.0.1'

# Using translations from rails locales in javascript code.
s.add_dependency 'i18n-js', '~> 2.1'

Expand Down

0 comments on commit 0361aee

Please sign in to comment.