I´ve been trying to install rbenv, ruby and rails in my Raspberry Pi 3 B+ in the past couple of days and after some issues here and there I've managed to get everything installed with no errors

With rbenv I installed both Ruby 2.6.3 and Ruby 2.5.5 Using Rails 5.2.3

and with both ruby versions I am getting the same problem when I execute the command:

rails server

First the output shows this:

pi@raspberrypi:~/environment/hello_app $ rails server
=> Booting Puma
=> Rails 5.2.3 application starting in development 
=> Run `rails server -h` for more startup options

And then the contents of the text file in the next link are shown.

Here is a link with the whole output:


I would really appreciate if someone could give me a hand to solve this problem.


  • I don't know anything about Ruby. However, a) Does Ruby run any scripts at all? b) Is this an interpreter error, or a error with your code? c) Report this to Ruby's developers. – user96931 May 15 at 17:18
  • This is more a Rails problem, I haven´t been able to do any code. I am basically installing the Ruby on Rails framework, to be able to develop some web applications. But this seems to be happening only on the Raspberry Pi, that is why I am asking here because I would like to know if anyone else has ran into the same issue.... – Sócrates Medina May 15 at 20:44
  • It could also be an issue with the Puma server that Rails tries to run when the command ``` rails server ``` is executed... – Sócrates Medina May 15 at 20:45
  • Try to do a Hello World without running Puma, and see if that returns an issue. – user96931 May 16 at 15:05
  • You mean print "Hello World" to the console using Ruby? – Sócrates Medina May 16 at 16:13

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.