solidusio / solidus_starter_frontend

🎨 Rails-based starter kit for your Solidus storefront.
BSD 3-Clause "New" or "Revised" License
58 stars 40 forks source link

fix: bin/sandbox command #373

Closed tvdeyen closed 1 week ago

tvdeyen commented 1 month ago

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.