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

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -