ruby - Rails bundle install path -


when use path flag bundle install, why ruby version go 2.1.0 when using version 2.1.5?

for example:

bundle install --path ~/bundled 

set structure to:

ls ~/bundled/ruby/2.1.0/ bin/            build_info/     bundler/        cache/          doc/            extensions/     gems/           specifications/  

why 2.1.0 instead of 2.1.5?

2.1.0 in library path refers ruby library version, not identical ruby version.

all 2.1.x versions of ruby can safely share same gems, why when bundle install gems using ruby 2.1.0, 2.1.1, 2.1.2, 2.1.3, , 2.1.4, put gems in same 2.1.0 directory.


Comments

Popular posts from this blog

node.js - How to mock a third-party api calls in the backend -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

Entity Framework - The property cannot be configured as a navigation property -