Hi,
I am trying to install webpacker on my 4.2.8 rails app (ruby 2.4.1, installed with RVM).
When I do run: bundle exec rake webpacker:install
I am getting the following error
/.rvm/rubies/ruby-2.4.1/bin/ruby: No such file or directory -- ./bin/rake (LoadError)
Any clue on what could be wrong ?
Thank you for your support
Could you please run bundle install --binstubs or bundle binstubs rake and then try same command?
Looks like rake binstub isn't there.
Hello, I did run : bundle install --binstubs
and could install the webpacker.
Thank you very much. I have been stucked on this for a while and could not find any help on google.
Have a nice day
Awesome, you too 馃憤
I ran into the same issue and have a question: why does the rake binstub need to exist? Before using webpacker I could run rake tasks just fine. In fact I didn't even have a bin directory. All my bins usually reside in a rvm directory (/Users/Enno/.rvm/gems/ruby-2.3.1/bin/rake).
Why does this not work in this situation?
same to the above... Any response?
Most helpful comment
Could you please run
bundle install --binstubsorbundle binstubs rakeand then try same command?