Fixed version check of rails in ruby_setup.sh