Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: bin/sandbox command #5875

Merged
merged 3 commits into from
Oct 18, 2024
Merged

Conversation

tvdeyen
Copy link
Member

@tvdeyen tvdeyen commented Oct 16, 2024

Use bundle exec to invoke the rails installer,
otherwise it will fail with

/Users/<user>/.rubies/ruby-3.3.5/lib/ruby/3.3.0/rubygems.rb:259:in `find_spec_for_exe': can't find gem rails (= 7.2.1.1) with executable rails (Gem::GemNotFoundException)
	from /Users/<user>/.rubies/ruby-3.3.5/lib/ruby/3.3.0/rubygems.rb:278:in `activate_bin_path'
	from /Users/<user>/.gem/ruby/3.3.5/bin/rails:25:in `<main>'

although it is installed.

Use `bundle exec` to invoke the rails installer,
otherwise it will fail with

```
/Users/<user>/.rubies/ruby-3.3.5/lib/ruby/3.3.0/rubygems.rb:259:in `find_spec_for_exe': can't find gem rails (= 7.2.1.1) with executable rails (Gem::GemNotFoundException)
	from /Users/<user>/.rubies/ruby-3.3.5/lib/ruby/3.3.0/rubygems.rb:278:in `activate_bin_path'
	from /Users/<user>/.gem/ruby/3.3.5/bin/rails:25:in `<main>'
```

although it is installed.
@tvdeyen tvdeyen requested a review from a team as a code owner October 16, 2024 18:31
@github-actions github-actions bot added the changelog:repository Changes to the repository not within any gem label Oct 16, 2024
@tvdeyen tvdeyen disabled auto-merge October 18, 2024 05:41
@tvdeyen tvdeyen merged commit f6d8dbf into solidusio:main Oct 18, 2024
11 of 12 checks passed
@tvdeyen tvdeyen deleted the fix-sandbox-command branch October 18, 2024 05:41
@tvdeyen tvdeyen mentioned this pull request Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:repository Changes to the repository not within any gem
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants