Skip to main content

Upgrade Ruby version

Install Ruby using RVM

Where <RUBY_VERSION> can be something like 3.2.4

  1. Install ruby
rvm install <RUBY_VERSION>
  1. Set this as the new default
rvm use <RUBY_VERSION> --default

Upgrade gem to latest

  1. 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'
  1. run bundle from the root of your project
bundle
  1. 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>

  2. You are now ready to use ruby