Skip to content

Commit

Permalink
[rails] upgrade Ruby 2.7 -> 3.2, upgrade and clean up other dependenc…
Browse files Browse the repository at this point in the history
…ies (#653)
  • Loading branch information
realkosty authored Jan 3, 2025
1 parent b9e86af commit 9958a16
Show file tree
Hide file tree
Showing 6 changed files with 215 additions and 157 deletions.
2 changes: 1 addition & 1 deletion ruby-on-rails/.ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby-2.6.1
ruby-3.2.2
33 changes: 7 additions & 26 deletions ruby-on-rails/Gemfile
Original file line number Diff line number Diff line change
@@ -1,52 +1,33 @@
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '~> 2.7.0'
ruby '~> 3.2.2'

gem 'dotenv-rails'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.2.8', '>= 5.2.8.1'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
gem 'rails', '~> 7.2.2'
# Use Puma as the app server
gem 'puma', '~> 3.11'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
# gem 'jbuilder', '~> 2.5'
# Use Redis adapter to run Action Cable in production
# gem 'redis', '~> 4.0'
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'

# Use ActiveStorage variant
# gem 'mini_magick', '~> 4.8'

# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
gem 'puma', '~> 6.5.0'

# Reduces boot times through caching; required in config/boot.rb
gem 'bootsnap', '>= 1.1.0', require: false

gem 'nokogiri', '~>1.17.2'

# Use Rack CORS for handling Cross-Origin Resource Sharing (CORS), making cross-origin AJAX possible
gem 'rack-cors'
gem 'pg'

gem "stackprof"
gem "sentry-ruby"
gem "sentry-rails"
gem "rack"

group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
end

group :development do
gem 'listen', '>= 3.0.5', '< 3.2'
gem 'listen', '~> 3.5'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
gem 'spring-watcher-listen', '~> 2.0.0'
end


# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
Loading

0 comments on commit 9958a16

Please sign in to comment.