Error ROR on fedora 22

Sorry for bad english)

When I want to create an application "#rails new firstapp" then a mistake. Requires gem byebug. When you try to install it "#gem install byebug", formed mistake. Tell me how to fix it.

Attachments: http://www.ruby-forum.com/attachment/10856/eqGVmZ56-Fg.jpg

Install missing headers! There should be Ruby Dev or source package in your package repository

Norbert Melzer wrote in post #1175258:

Install missing headers! There should be Ruby Dev or source package in your package repository

I don't understand, do you can explain more?

Do you see anything about "missing headers" in your error message?

Hint: we could easily provide a stronger clue if you pasted in the text of the error message instead of a *picture* of an error message....

Your error message complains about not beeing able to find ruby.h, this file is not delivered in most Linux default Ruby setup, you have to install Ruby’s source or development packages additionally via your distributions package manager or you have to use RVM. I don’t know neither how fedoras package manager is called, invoked or used, nor how the package could be named.