Skip to content

Commit

Permalink
Lock frontend and backend sprockets-rails 2.x
Browse files Browse the repository at this point in the history
This is causing errors in our builds:

Asset was not declared to be precompiled in production.

and

NoMethodError: undefined method `register_engine' for nil:NilClass
  • Loading branch information
John Hawthorn committed Dec 17, 2015
1 parent ed358ad commit 5988804
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions backend/solidus_backend.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,5 @@ Gem::Specification.new do |s|
s.add_dependency 'select2-rails', '3.5.9.1' # 3.5.9.2 breaks forms

s.add_dependency 'handlebars_assets'
s.add_dependency 'sprockets-rails', '~> 2.0' # 3.0 breaks handlebars_assets
end
1 change: 1 addition & 0 deletions frontend/solidus_frontend.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,5 @@ Gem::Specification.new do |s|
s.add_dependency 'jquery-rails'

s.add_development_dependency 'capybara-accessible'
s.add_development_dependency 'sprockets-rails', '~> 2.0'
end

0 comments on commit 5988804

Please sign in to comment.