ナツ2:Ruby on Rails始動 ~SQLite3で苦戦~

昨日はドットインストールにてRuby講座をひとまず流して確認できたので、
今日はRailsの講座をスタート。

今日は日曜日で外へ出る用事があったため、電車の中でRailsの1~6講座を見て、帰ったときにすぐさまスタートできるように整えた。
6講座が、rails serverの起動の回で、今日の目標はローカルホストに辿り着くところまでとした。

が、しかしこれにとくかく時間が掛かってしまった。
原因はSQLite3。
サーバー立ち上げをしようとすると以下のエラーが表示される。

c:\Ruby200\railsprojects\myapp>rails server
c:/Ruby200/lib/ruby/gems/2.0.0/gems/sqlite3-1.3.7-x86-mingw32/lib/sqlite3.rb:6:i
n `require': cannot load such file -- sqlite3/sqlite3_native (LoadError)
        from c:/Ruby200/lib/ruby/gems/2.0.0/gems/sqlite3-1.3.7-x86-mingw32/lib/s
qlite3.rb:6:in `rescue in <top (required)>'
        from c:/Ruby200/lib/ruby/gems/2.0.0/gems/sqlite3-1.3.7-x86-mingw32/lib/s
qlite3.rb:2:in `<top (required)>'
        from c:/Ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/runti
me.rb:72:in `require'
        from c:/Ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/runti
me.rb:72:in `block (2 levels) in require'
        from c:/Ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/runti
me.rb:70:in `each'
        from c:/Ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/runti
me.rb:70:in `block in require'
        from c:/Ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/runti
me.rb:59:in `each'
        from c:/Ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/runti
me.rb:59:in `require'
        from c:/Ruby200/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler.rb:13
2:in `require'
        from c:/Ruby200/railsprojects/myapp/config/application.rb:7:in `<top (re
quired)>'
        from c:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.0/lib/rails/comman
ds.rb:76:in `require'
        from c:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.0/lib/rails/comman
ds.rb:76:in `block in <top (required)>'
        from c:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.0/lib/rails/comman
ds.rb:73:in `tap'
        from c:/Ruby200/lib/ruby/gems/2.0.0/gems/railties-4.0.0/lib/rails/comman
ds.rb:73:in `<top (required)>'
        from bin/rails:4:in `require'
        from bin/rails:4:in `<main>'

んで、なんとか次のページを発見し、解決にたどりついた。
http://masamitsu-murase.blogspot.jp/2013_05_01_archive.html

なんか、

現時点で sqlite3 の Windows 用 gem には Ruby 2.0 向けのバイナリが入っていない

らしく、それを入れたらなんとかなった。

Google先生の使い方をもっと上手くしてスピード上げないとやばい。