File tree Expand file tree Collapse file tree 3 files changed +16
-6
lines changed
Expand file tree Collapse file tree 3 files changed +16
-6
lines changed Original file line number Diff line number Diff line change 1515 gem 'solidus_frontend' , github : 'solidusio/solidus' , branch : branch
1616end
1717
18- # Needed to help Bundler figure out how to resolve dependencies,
19- # otherwise it takes forever to resolve them.
20- # See https://github.com/bundler/bundler/issues/6677
21- gem 'rails' , '>0.a'
18+ rails_version = ENV . fetch ( 'RAILS_VERSION' , '~> 7.0' )
19+ gem 'rails' , rails_version
2220
2321# Provides basic authentication functionality for testing parts of your engine
2422gem 'solidus_auth_devise'
@@ -29,7 +27,11 @@ when 'mysql'
2927when 'postgresql'
3028 gem 'pg'
3129else
32- gem 'sqlite3' , '~> 1.4'
30+ gem 'sqlite3' , rails_version < '~> 7.2' ? '~> 1.4' : '~> 2.0'
31+ end
32+
33+ if rails_version == "~> 7.0"
34+ gem 'concurrent-ruby' , '< 1.3.5'
3335end
3436
3537# While we still support Ruby < 3 we need to workaround a limitation in
Original file line number Diff line number Diff line change @@ -60,6 +60,14 @@ group :test, :development do
6060end
6161RUBY
6262
63+ echo " Generating manifest file"
64+ mkdir -p app/assets/config
65+ cat << MANIFESTJS > app/assets/config/manifest.js
66+ //= link_tree ../images
67+ //= link_directory ../javascripts .js
68+ //= link_directory ../stylesheets .css
69+ MANIFESTJS
70+
6371unbundled bundle install --gemfile Gemfile
6472
6573unbundled bundle exec rake db:drop db:create
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
3131
3232 spec . add_dependency 'acts_as_tenant' , '~> 1.0.1'
3333 spec . add_dependency 'solidus_core' , [ '>= 2.0.0' , '< 5' ]
34- spec . add_dependency 'solidus_support' , '~> 0.5 '
34+ spec . add_dependency 'solidus_support' , '>= 0.12.0 '
3535
3636 spec . add_development_dependency 'pry'
3737 spec . add_development_dependency 'solidus_dev_support' , '~> 2.9'
You can’t perform that action at this time.
0 commit comments