Upgrade Ruby version
- MacOS/Linux
- Windows
Install Ruby using RVM
Where <RUBY_VERSION>
can be something like 3.2.4
- Install ruby
rvm install <RUBY_VERSION>
- Set this as the new default
rvm use <RUBY_VERSION> --default
Install Ruby using RubyInstaller
Where <RUBY_VERSION>
can be something like 3.2.4
- Via
Add or Remove Programs
uninstall yourRuby <RUBY_VERSION> with MSYS2
- Go to rubyinstaller.org and download and install Ruby
<RUBY_VERSION>
with Devkit. - During the installation, ensure you select the option to 'add Ruby executables to your path' and Select Option 3 to install "MSYS2 and MINGW development toolchain".
Upgrade gem to latest
- Get the latest Spark Gem which supports the version of Ruby.
Gemfile
source 'https://oxy.jfrog.io/oxy/api/gems/testevolve-kyuri-local' do
gem 'test-evolve', '<SPARK_RUBY_VERSION>'
end
source 'http://rubygems.org'
- run bundle from the root of your project
bundle
If you are using RubyMine you can edit your Ruby SDK in -> File | Settings | Languages & Frameworks | Ruby SDK and Gems and select Ruby
<RUBY_VERSION>
You are now ready to use ruby