Jump to content

Sqlite ruby cygwin

From EggeWiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

To get sqlite 3 running in ruby under Cygwin, I followed these steps:

1. Install libsqlite3_0 and libsqlite3-devel from the Cygwin setup.

2. Installed the sqlite gem. <geshi lang="bash"> $ gem install sqlite3-ruby Building native extensions. This could take a while... Successfully installed sqlite3-ruby-1.2.4 1 gem installed Installing ri documentation for sqlite3-ruby-1.2.4... Installing RDoc documentation for sqlite3-ruby-1.2.4...

</geshi> 3. Test
<geshi lang="ruby"> $ irb irb(main):001:0> require 'rubygems'; require 'sqlite3' => true </geshi>