setting ruby version global before installing bundler