rails / jsbundling-rails

Bundle and transpile JavaScript in Rails with esbuild, rollup.js, or Webpack.
MIT License
831 stars 143 forks source link

bin/dev: 8: exec: foreman: not found #147

Closed Michael-Mehta closed 1 year ago

Michael-Mehta commented 1 year ago

I get this error when I run bin/dev in the terminal

Michael-Mehta commented 1 year ago

/home/test/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/foreman-0.87.2/bin/foreman start -f Procfile.dev

That's what ended up working for me in case anyone else has the same problem, however yours might look slightly different becaue this is the route for my laptop

BilalBudhani commented 1 year ago

@Michael-Mehta try running rbenv rehash if that doesn't fix your issue then there might be problem with your rbenv installation.

melashu commented 5 months ago

Using rbenv rehash works for me