sqlite3 Issues – Error installing sqlite3 – sqlite3 requires Ruby version >= 1.9.1

Errors as follows, common problem is not having the header files installed or installing the gem sqlite3 when you actually want sqlite3-ruby. sudo gem install sqlite3 ERROR:  Error installing sqlite3: sqlite3 requires Ruby version >= 1.9.1. Fix with:

Posted on July 6, 2010 at 1:48 pm by Jordan Carter · Permalink · 2 Comments
In: Ruby on Rails, Server Config · Tagged with: ,

uninitialized constant Encoding

Problem with Rails sqlite3? uninitialized constant Encoding Couldn’t create database for {“timeout”=>5000, “adapter”=>”sqlite3”, “database”=>”db/test.sqlite3”, “pool”=>5} If you installed the gem ‘sqlite3’ then sudo gem uninstall sqlite3 sudo gem install sqlite3-ruby Fixed!

Posted on May 7, 2010 at 4:43 pm by Jordan Carter · Permalink · Leave a comment
In: Ruby on Rails · Tagged with: , ,