<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ladysign Dev Blog &#187; installing sqlite</title>
	<atom:link href="http://www.ladysign-apps.com/blog/tag/installing-sqlite/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ladysign-apps.com/blog</link>
	<description>Girls can code.</description>
	<lastBuildDate>Mon, 12 Dec 2011 16:58:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing sqlite3 fails</title>
		<link>http://www.ladysign-apps.com/blog/code/ruby-on-rails/installing-sqlite3-fails/</link>
		<comments>http://www.ladysign-apps.com/blog/code/ruby-on-rails/installing-sqlite3-fails/#comments</comments>
		<pubDate>Sat, 18 Apr 2009 12:10:54 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[ruby on rails]]></category>
		<category><![CDATA[fails]]></category>
		<category><![CDATA[installing sqlite]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[sqlite3]]></category>

		<guid isPermaLink="false">http://ladysign-apps.com/blog/?p=610</guid>
		<description><![CDATA[<p><strong>Difficulty:</strong> 1 out of 5 stars</p>
<p>Ajj. Working with Ruby and the gem for installing sqlite database fails.<br />
I tried to download sqlite3, and run the install[......]</p><p class='read-more'><a href='http://www.ladysign-apps.com/blog/code/ruby-on-rails/installing-sqlite3-fails/'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p><strong>Difficulty:</strong> 1 out of 5 stars</p>
<p>Ajj. Working with Ruby and the gem for installing sqlite database fails.<br />
I tried to download sqlite3, and run the install gem command:</p>
<pre class="brush: jscript; title: ;">
D:\&gt;gem install sqlite3-ruby

Building native extensions.  This could take a while...ERROR:  Error installing sqlite3-ruby:        ERROR: Failed to build gem native extension.c:/ruby/bin/ruby.exe extconf.rb install sqlite3-ruby --platform Win32checking for fdatasync() in rt.lib... nochecking for sqlite3.h... nonmake'nmake' is not recognized as an internal or external command,operable program or batch file.Gem files will remain installed in c:/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4 for inspection.Results logged to c:/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.4/ext/sqlite3_api/gem_make.out
</pre>
<p>This is because not all versions of  sqlite3 are windows versions.<br />
Fine, and now?<br />
You can list all available sqlite gems:</p>
<pre class="brush: jscript; title: ;">
D:\&gt;gem list --remote --all sqlite

*** REMOTE GEMS ***

sqlite (2.0.1, 2.0.0, 1.3.1, 1.3.0, 1.2.9.1, 1.2.0, 1.1.3, 1.1.2, 1.1.1, 1.1)
sqlite-ruby (2.2.3, 2.2.2, 2.2.1, 2.2.0, 2.1.0, 2.0.3, 2.0.2)
sqlite3-ruby (1.2.4, 1.2.3, 1.2.2, 1.2.1, 1.2.0, 1.1.0, 1.0.1, 1.0.0, 0.9.0, 0.6
.0, 0.5.0)
sqlitecache (0.0.1)
</pre>
<p>Then, you can easily install the version you need:</p>
<pre class="brush: jscript; title: ;">
D:\&gt;gem install sqlite3-ruby -v 1.2.3
Successfully installed sqlite3-ruby-1.2.3-x86-mswin32
1 gem installed
Installing ri documentation for sqlite3-ruby-1.2.3-x86-mswin32...
Installing RDoc documentation for sqlite3-ruby-1.2.3-x86-mswin32...
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ladysign-apps.com/blog/code/ruby-on-rails/installing-sqlite3-fails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

