I was trying to make rails new ... to use an specific version of bundler so the Gemfile.lock would state that version in the end of that file.
I tried with:
bundle _x.x.x_ exec rails new ...
But it didn't work, because bundle exec needs a Gemfile to begin with.
What I did was to remove all the bundlers I had installed in the specific Ruby version I wanted to use and keep only the specific version of bundler I wanted.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I was trying to make
rails new ...
to use an specific version of bundler so the Gemfile.lock would state that version in the end of that file.I tried with:
bundle _x.x.x_ exec rails new ...
But it didn't work, because bundle exec needs a Gemfile to begin with.
What I did was to remove all the bundlers I had installed in the specific Ruby version I wanted to use and keep only the specific version of bundler I wanted.