-
Description 📖While installing vite_rails, a new binstub is added to my app's
Reproduction 🐞I ran Vite Ruby InfoRun
Logs 📜If not providing a reproduction: OutputRun
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
Hi Viktor!
Although bundler might suggest running The If there is a problem in the application's bundler setup, you can always run If you would like to get help solving this issue, please use a friendlier tone, and provide additional information, such as your Bundler version, the content of Check that It could happen that the version of bundler that generated |
Beta Was this translation helpful? Give feedback.
-
I ran into the same issue--I was also misled by the bundler error message. I found the answer here: you can run |
Beta Was this translation helpful? Give feedback.
-
Hey Massimo! I'm sorry if my original message was interpreted as in an unfriendly tone. That wasn't my intention. Let's work together on fixing this issue. I've found a solution since, but now I don't remember what was the solution anymore. :/ Here are the contents of my ~ > cat ~/.bundle/config
---
BUNDLE_BUILD__NOKOGIRI: "--use-system-libraries"
BUNDLE_GEM__COC: "true"
BUNDLE_GEM__MIT: "true"
BUNDLE_GEM__TEST: "rspec"
BUNDLE_GITHUB__HTTPS: "true"
BUNDLE_DEFAULT: "1.17.3"
BUNDLE_FROZEN: "false"
BUNDLE_JOBS: "6" It might be that I'll try to find out what I did and will let you know. That being said, maybe there is a better/simpler solution than having to change the bundler config. EDIT: This is how my ---
BUNDLE_JOBS: "6" |
Beta Was this translation helpful? Give feedback.
Hi Viktor!
Although bundler might suggest running
bundle binstubs bundler --force
, that's not part of the recommended installation process—the documentation never mentions runningbundle binstubs
.The
bin/vite
binstub is generated during the installation process by running bundler.If there is a problem in the application's bundler setup, you can always run
bundle exec vite
instead.If you would like to get help solving this issue, please use a friendlier tone, and provide additional information, such as your Bundler version, the content of
bin/vite
, and the result ofbundle config list
.Check that
bin/bundle
is a…