Skip to content

Commit a1a9953

Browse files
justin808claude
andcommitted
Use >= 8.2.0 instead of ~> 8.2.0 for shakapacker in examples
This helps avoid Bundler conflicts during generator tests where both exact and flexible version constraints might be specified. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 486e296 commit a1a9953

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rakelib/shakapacker_examples.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace :shakapacker_examples do # rubocop:disable Metrics/BlockLength
3434
sh_in_dir(example_type.dir, "touch .gitignore")
3535
sh_in_dir(example_type.dir,
3636
"echo \"gem 'react_on_rails', path: '#{relative_gem_root}'\" >> #{example_type.gemfile}")
37-
sh_in_dir(example_type.dir, "echo \"gem 'shakapacker', '~> 8.2.0'\" >> #{example_type.gemfile}")
37+
sh_in_dir(example_type.dir, "echo \"gem 'shakapacker', '>= 8.2.0'\" >> #{example_type.gemfile}")
3838
bundle_install_in(example_type.dir)
3939
sh_in_dir(example_type.dir, "rake shakapacker:install")
4040
sh_in_dir(example_type.dir, example_type.generator_shell_commands)

rakelib/webpacker_examples.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ namespace :webpacker_examples do # rubocop:disable Metrics/BlockLength
3434
sh_in_dir(example_type.dir, "touch .gitignore")
3535
sh_in_dir(example_type.dir,
3636
"echo \"gem 'react_on_rails', path: '#{relative_gem_root}'\" >> #{example_type.gemfile}")
37-
sh_in_dir(example_type.dir, "echo \"gem 'shakapacker', '~> 8.2.0'\" >> #{example_type.gemfile}")
37+
sh_in_dir(example_type.dir, "echo \"gem 'shakapacker', '>= 8.2.0'\" >> #{example_type.gemfile}")
3838
bundle_install_in(example_type.dir)
3939
sh_in_dir(example_type.dir, "rake shakapacker:install")
4040
shell_commands = []

0 commit comments

Comments
 (0)