Create an application with a specific version of rails
Ensure you have the right version installed in your app. Here's an example of how you would install it for version 7.0.4 of Rails
rails _7.0.4_ new appname
Setting up time zones on the client side
Make the following changes in the controller:
around_action :set_time_zone, if: :current_user
private
def set_time_zone(&block)
Time.use_zone('Quito', &block)
end
Returning raw HTML from the controller to the view
Update the bundler version in your Gemfile.lock
bundle update --bundler