ruby/run-basic-rails-application
Jun Aruga 77206c7b41 run-basic-rails-application: Use Rails RPM to run Rails application server
When running `rails new app` running the `bundle install` internally on the
rubygem-rails RPM version 7.0.8, the command tries to install the upstream
rails gem version 7.0.8.7, and that triggers the following error.

This commit fixes the error by using the rubygem-rails RPM version 7.0.8 rather
than installing the upstream rails 7.0.8.7.

```
$ tmt -c distro=fedora-rawhide run --all provision -h virtual -i fedora-rawhide tests -n '^/run-basic-rails-application$'
/var/tmp/tmt/run-039
...

$ tmt run --id run-039 report -vvv
...
                    :: [ 13:37:43 ] :: [  BEGIN   ] :: Creating new rails application :: actually running 'rails new app | tee bundle.log'
...
                    Bundle complete! 14 Gemfile dependencies, 78 gems now installed.
                    Use `bundle info [gemname]` to see where a bundled gem is installed.
                    1 installed gem you directly depend on is looking for funding.
                      Run `bundle fund` for details
                             run  bundle binstubs bundler
                           rails  importmap:install
                    /usr/local/share/gems/gems/activesupport-7.0.8.7/lib/active_support/logger_thread_safe_level.rb:12:in '<module:LoggerThreadSafeLevel>': uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger (NameError)

                        Logger::Severity.constants.each do |severity|
                        ^^^^^^
...
```
2025-02-20 14:48:22 +01:00
..
main.fmf Require wget, iproute and procps-ng 2024-11-14 10:37:43 +01:00
runtest.sh run-basic-rails-application: Use Rails RPM to run Rails application server 2025-02-20 14:48:22 +01:00