Home » Posts » How To » [Solved] Error installing sqlite3. Ruby on Rails, Fedora

[Solved] Error installing sqlite3. Ruby on Rails, Fedora

While creating an app with ruby on rails, in Fedora if you face error something like this:




or in other Linux distros, you can use the same way make sure you replace the correct command as per your system.


Grow your YouTube channel quicker with TubeBuddy.



    ERROR:  Error installing sqlite3:
    ERROR: Failed to build gem native extension.

Then run the command


Get $100 Credit on DigitalOcean for Cloud Hosting. Claim Now!


    sudo dnf install sqlite-devel

after it is successful run


Don't forget to subscribe!.





    bundle install If still not working then, install ruby in developer mode by command:

    sudo dbf install ruby-devel

and run bundle install, it must work.


Grow your YouTube channel quicker with TubeBuddy. Join Today!
Before you go, let's stay connected
Photo of author
About the Author
Lakshman Basnet
Digital Media Marketer from Nepal currently based in Adelaide, South Australia who apart from playing with his cat - Eleven, also enjoys developing web content, publishing blogs and YouTube videos in his free time.