fix detecting installed rubies, fix #a82073e13555cb909720ec595afa2cab598d166f
restore MY_RUBY_HOME in environment file to fix Passenger3 integration, fix #2543
add a notes warning for broken /dev/fd, fix #2542
do not link global gemset that can not be writen by user, fix #2541