Skip to content

Commit 000b23c

Browse files
committed
Upgrade to Ruby 3.3.8 and Rails 7.1.5
- Update Ruby version from 2.6.5 to 3.3.8 in .ruby-version - Upgrade Rails from 6.0.0 to 7.1.5 for modern Ruby compatibility - Replace therubyracer with mini_racer (modern V8 JavaScript runtime) - Comment out mysql2 gem for easier initial setup - Update all gem dependencies in Gemfile.lock - Maintain security training functionality while using supported versions
1 parent 3cc409a commit 000b23c

File tree

3 files changed

+397
-245
lines changed

3 files changed

+397
-245
lines changed

.ruby-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.6.5
1+
3.3.8

Gemfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
source "https://rubygems.org"
33

44
#don't upgrade
5-
gem "rails", "6.0.0"
5+
gem "rails", "7.1.5"
66

7-
ruby "2.6.5"
7+
ruby "3.3.8"
88

99
gem "aruba"
1010
gem "bcrypt"
@@ -24,7 +24,7 @@ gem "ruby-prof"
2424
gem "sassc-rails"
2525
gem "simplecov", require: false, group: :test
2626
gem "sqlite3"
27-
gem "therubyracer"
27+
gem "mini_racer" # Modern V8 JavaScript runtime
2828
gem "turbolinks"
2929
gem "uglifier"
3030
gem "unicorn"
@@ -61,5 +61,5 @@ group :openshift do
6161
end
6262

6363
group :mysql do
64-
gem "mysql2"
64+
# gem "mysql2" # Commented out for initial setup - install MySQL first if needed
6565
end

0 commit comments

Comments
 (0)