Rubygems, Bundler and RVM confusion

后端 未结 4 2001
灰色年华
灰色年华 2020-12-12 10:48

I read \"Relationships between Rubygems, Bundler, and RVM\" before asking it again.

Well, there are many questions like this, but people who answered say they work

4条回答
  •  春和景丽
    2020-12-12 11:09

    Use gem env to list the gem paths in each context.

    Without RVM gem env will report the system gem library paths.

    With RVM gem env will report the RVM-managed gem library paths.

    Bundler manages application dependencies and installs into the gem library in your environment. If you are using RVM + Bundler, the gems will be installed in the RVM managed gem directories. If you are using it without RVM, bundler will install gems in the system gem directories.

提交回复
热议问题