Since this is the Amazon Linux instance, I'd rather not add more repositories than the ones Amazon provides if possible. However, I have installed the sqlite-devel packages and still no dice. Typically, this just means you need to install the development libraries and everything is cool. Results logged to /usr/lib64/ruby/gems/1.8/gems/sqlite3-1.3.3/ext/sqlite3/gem_make.out
Then on your cmd, do a 'gem install sqlite3'. However, PostgreSQL is a more robust solution which provides more advanced features, scaling, and stability, which may make it more suitable for your Ruby on Rails project.
Gem files will remain installed in /usr/lib64/ruby/gems/1.8/gems/sqlite3-1.3.3 for inspection. To use sqlite3, Unpack the precompiled Binaries for Windows in C:\WINDOWS\system32 folder. SQLite is an easy-to-configure, lightweight product which ships with Ruby on Rails by default. However, you may need to install SQLite in some cases and on other OSes. Location where your sqlite3 shared library is located).Ĭould not create Makefile due to some reason, probably lack of
This database is bundled with Mac OSX Leopard and so makes it really easy to get started with Ruby-on-Rails. Before you can install the Ruby gem, you will need to. The default database for Rails 2.0.x application is SQLite3. Or 'yum install sqlite3-devel' and check your shared library search path The necessary SQLite Ruby gem to interface to a SQLite database is a bit more complicated, however. This could take a while.ĮRROR: Failed to build gem native extension. I am trying to install the sqlite3 (or sqlite) gem and it's failing with the below error: $ sudo gem install sqlite3īuilding native extensions. This is optional if you have the database installed, then you. I'm running an instance built off ami-595a0a1c. By default, Rails uses sqlite3, but you may want to install MySQL, PostgreSQL, or other RDBMS.