What is the specification (behavior) of `rbenv exec`?

Asked 1 years ago, Updated 1 years ago, 55 views

capistrano-rbenv was looking at the repository.

Therefore, I think this gem is expecting rbenv exec to execute the rails command.

On the other hand, I believe that this rbenv exec command does not describe its behavior when I read README of the rbenv formula github.

ruby rbenv

2022-09-30 14:57

1 Answers

"I just searched ""What is rbenv exec"", but I found a page with the following description:

reference:
Basic Use of rbenv and bundle

The bundle command is installed with the gem command, although it is complicated."rbenv exec" is not "gem of system ruby" but "gem of ruby currently valid in rbenv".Optional if "gem" refers to ruby's gem valid in rbenv.

$rbenv exec gem install bundleer
$ rbenv rehash


2022-09-30 14:57

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.