Error Rails on Fedora 22

260 views Asked by At

When I want to create an application using rails new firstapp I get an error saying it requires the gem "byebug".

When I tried to install it using gem install byebug I got another error saying the necessary headers are missing.

Please tell me how to fix it.

Screen of my mistakes

1

There are 1 answers

0
Antarr Byrd On BEST ANSWER

You probably need to install Fedora Development Tools

su -
yum groupinstall "Development Tools" "Development Libraries"

and/or ruby develop

yum -y install gcc ruby-devel rubygems