i am new to the world of programming and i started programming with ruby on rails on ubuntu 20.4 through virtual machine. I'm trying to make an application with composer. only every time I type: rails new myapplication -m https://raw.github.com/RailsApps/rails-composer/master/composer.rb ; I get the following message: Rails 7.0.2.2 is not supported. Use Rails 4.1 or newer. I installed ruby on rails from rvm and these are my versions:
$ rails -v: Rails 7.0.2.2
$ ruby -v: ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux]
$ rvm: rvm 1.29.12 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
$ gem list: rails (7.0.2.2, 4.1.0)
I already tried to uninstall this version 7 of rails and install the version that is requested but even so when I create a new application changing the name or overwriting the one I had already created, the same error occurs.
thanks for the help in advance!