Hi everyone, I’ve been working with Rails for over a year now. The project I’m working on needs to be updated to new versions of Rails.
The project is blued with ruby version 2.7.2 and rails 5.2.3 and other dependencies that may have been updated or discontinued, currently not tested and the only documentation is only about user registration.
I’m researching best practices for upgrading Rails, perhaps to version 7. And I appreciate any help.
This is my GemFile
source ‘https://rubygems.org’
git_source(:github) { |repo| “GitHub · Build and ship software on a single, collaborative platform · GitHub” }
ruby ‘2.7.2’
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem ‘rails’, ‘~> 5.2.3’
# Use postgresql as the database for Active Record
gem ‘pg’, ‘>= 0.18’, ‘< 2.0’
# Use Puma as the app server
gem ‘puma’, ‘~> 3.11’
# Use SCSS for stylesheets
gem ‘sass-rails’, ‘~> 5.0’
# Use Uglifier as compressor for JavaScript assets
gem ‘uglifier’, ‘>= 1.3.0’
gem ‘sidekiq’, ‘< 7’
gem “aws-sdk-sqs”
gem ‘nio4r’, ‘~> 2.5’
gem ‘rake’, ‘~> 13.2.1’
gem ‘rack-cors’#, require: ‘rack/cors’
gem ‘jwt’
# Conversao valores formato moeda para busca
gem ‘money’
gem ‘faraday’
gem ‘json’
gem ‘ffi’, ‘<= 1.15.5’
# net/protocol
gem “net-http”
# Use CoffeeScript for .coffee assets and views
gem ‘coffee-rails’, ‘~> 4.2’
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem ‘jbuilder’, ‘~> 2.5’
gem ‘aws-sdk’
gem “httparty”
gem “will_paginate”
gem ‘bootstrap-generators’, ‘~> 3.3.4’
gem ‘activerecord-session_store’
# Exportação de dados para o Excel
gem ‘write_xlsx’
gem “recaptcha”
# Create beautiful JavaScript charts with one line of Ruby
gem ‘chartkick’
gem ‘groupdate’
# Use Redis adapter to run Action Cable in production
gem ‘redis’, ‘4.8.1’
# Reduces boot times through caching; required in config/boot.rb
gem ‘bootsnap’, ‘>= 1.1.0’, require: false
group :development, :test do
gem ‘rspec-rails’
gem ‘shoulda-matchers’
gem ‘byebug’, platforms: [:mri, :mingw, :x64_mingw]
gem ‘rb-readline’
end
group :development do
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
gem ‘web-console’, ‘>= 3.3.0’
gem ‘listen’, ‘>= 3.0.5’, ‘< 3.2’
# 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
group :test do
# Adds support for Capybara system testing and selenium driver
gem ‘capybara’, ‘>= 2.15’
gem ‘selenium-webdriver’
# Easy installation and use of chromedriver to run system tests with Chrome
gem ‘chromedriver-helper’
end
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem ‘tzinfo-data’, platforms: [:mingw, :mswin, :x64_mingw, :jruby]
gem ‘bootstrap’, ‘~> 4.3.1’, require: false
gem ‘bootstrap-sass’
gem ‘jquery-rails’
gem ‘rest-client’
gem ‘savon’, ‘~> 2.12.0’
gem ‘simple_form’
gem ‘popper_js’
gem ‘tether-rails’