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.
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.