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.
ERROR: Error installing sqlite3: ERROR: Failed to build gem native extension.
Then run the command
Your Gift of $200 Cloud Hosting Credit is Here. Claim Now!
sudo dnf install sqlite-devel
after it is successful run
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.