Results 1 to 3 of 3

Thread: How to install Ruby on Rails

  1. #1

    Question How to install Ruby on Rails

    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!

    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.

  2. #2

    Default Re: How to install Ruby on Rails

    I have installed:
    nodejs 17

    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?

  3. #3
    Join Date
    Oct 2014

    Default Re: How to install Ruby on Rails

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

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts