sqlite3-ruby gem can't find sqlite3.h on ubuntu
Never mind. gcc itself wasn't installed, as I discovered when I tried to install another gem with better error messages.
sqlite3-ruby install error on Ubuntu
You need the SQLite3 development headers for the gem’s native extension to compile against. You can install them by running (possibly with sudo
):
apt-get install libsqlite3-dev
I can't install sqlite3 gem for Ubuntu 10
You need to first install the sqlite development headers so it can compile the gem against them:
sudo apt-get install libsqlite3-dev
Then try installing the gem.
gem install sqlite3 gives error - sqlite3.h is missing
I am seeing you are on Linux. Installing the libsqlite3-dev
package should fix your problem (at least that's what it's called on Debian).
e.g. sudo apt-get install libsqlite3-dev
If that's not the right package name, just look around for sqlite3's development package (which includes headers and often times compiler/linker intermediate files).
Issue with 'gem install sqlite3-ruby' on RHEL6
It turns out you have to have gcc installed for 'gem install sqlite3-ruby' to work. It will never explicitly tell you that gcc isn't found (even the log file doesn't mention it).
Related Topics
Using Ruby CSV to Extract One Column
Download File from S3 to Rails 4 App
Normal Variables VS Instance Variable in Ruby, Whats the Difference
Sinatra + Heroku + Datamapper Deploy Issues with Dm-Sqlite-Adapter
Generating Sequential Numbers in Multi-User Saas Application
What Ide/Editor Do You Use for Ruby on Linux
Error Nomethoderror: Undefined Method 'Debug_Rjs=' for Actionview::Base:Class
Ip Range to Cidr in Ruby/Rails
What Exactly Is a Gem Native Extension
How to Run Ruby in Haml in JavaScript Definition
How to Profile Rspec with Perftools and Bundler
How to Find .Index of a Multidimensional Array
Standalone Ruby -- How to Load Different Environments from Database.Yml
Gem Install Dm-Postgres-Adapter Build Error