How to install Ruby on Rails

Hello,
I am trying to install RoR but can not find a recent tutorial.
Instead of switching to Ubuntu, I am wondering if someone would be willing to write out the steps or, even better, point me to a tutorial that works for openSUSE Tumbleweed.

Thank you! :slight_smile:

On another computer which has since been reset, I have installed rails 6 via YAST but that did not work. I was able to create a new rails project but I don’t think the server started. I am new to this and without a tutorial, I won’t be able to get started.

I have installed:
sqlite3
nodejs 17
yarn

Issuing gem install fails (as root) gives the following error:

ERROR: Error installing rails:
ERROR: Failed to build gem native extension.

current directory: /usr/lib64/ruby/gems/3.0.0/gems/websocket-driver-0.7.5/ext/websocket-driver

/usr/bin/ruby.ruby3.0 -I /usr/lib64/ruby/3.0.0 -r ./siteconf20220129-32239-mtjzya.rb extconf.rb
creating Makefile

current directory: /usr/lib64/ruby/gems/3.0.0/gems/websocket-driver-0.7.5/ext/websocket-driver
make DESTDIR= clean
current directory: /usr/lib64/ruby/gems/3.0.0/gems/websocket-driver-0.7.5/ext/websocket-driver
make DESTDIR=
make failedNo such file or directory - make

Gem files will remain installed in /usr/lib64/ruby/gems/3.0.0/gems/websocket-driver-0.7.5 for inspection.
Results logged to /usr/lib64/ruby/gems/3.0.0/extensions/x86_64-linux/3.0.0/websocket-driver-0.7.5/gem_make.out

I also installed ruby-devel but that didn’t fix it. What am I missing?

I would just try to install RubyGems, I see there is a devel:languages:ruby repository. If you add that is rubygems available?