-
gem install sqlite3 fails
I get this message when I try "sudo gem install sqlite3-ruby":
Building native extensions. This could take a while...
ERROR: Error installing sqlite3-ruby:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb install sqlite3-ruby
checking for fdatasync() in -lrt... yes
checking for sqlite3.h... no
make
make: *** No rule to make target `ruby.h', needed by `sqlite3_api_wrap.o'. Stop.
I'm relatively new to linux. Any suggestions? Thanks.
-
my fault! I needed the libraries. So, first I had to :
sudo apt-get install libsqlite3-0 libsqlite3-dev
Then, I could
sudo gem install sqlite3-ruby
worked fine.
-
SitePoint Zealot

How do you fix this on Leopard?
-
hmmm..didnt work for me...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks