Archive for 2010

Redis will not time out. Try installing the SystemTimer gem.

WARNING: Could not find a good alternative for performing time outs — connecting to Redis will not time out. Try installing the SystemTimer gem. rake aborted! undefined method `get’ for nil:NilClass WARNING: Could not find a good alternative for performing time outs — connecting to Redis will not time out. Try installing the SystemTimer gem.rake […]

Posted on July 27, 2010 at 3:03 pm by Jordan Carter · Permalink · 2 Comments
In: Ruby on Rails, Server Config · Tagged with: , ,

ERROR: new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII)

createdb: database creation failed: ERROR:  new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII) HINT:  Use the same encoding as in the template database, or use template0 as template. createdb: database creation failed: ERROR:  new encoding (UTF8) is incompatible with the encoding of the template database (SQL_ASCII)HINT:  Use the same encoding […]

Posted on July 27, 2010 at 12:11 pm by Jordan Carter · Permalink · One Comment
In: Server Config · Tagged with: ,

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: ,

RubyGem nokogiri failed to install – libxslt is missing – Error installing nokogiri

Had trouble installing nokogiri until I installed dependencies. libxslt is missing #or libxml2 sudo apt-get install libxslt-dev libxml2-dev Full Error Stacktrace:

Posted on June 29, 2010 at 2:22 pm by Jordan Carter · Permalink · 11 Comments
In: Ruby on Rails, Server Config · Tagged with: , ,

Memcached – Libmemcached already built; run ‘rake clean’ first if you need to rebuild.

Trying to install memcached ruby gem on Ubuntu 10.04 Lucid Lynx and I get the error Libmemcached already built; run ‘rake clean’ first if you need to rebuild. Fixed this by installing sudo apt-get install libsasl2-dev gem uninstall memcached && gem install memcached Full Error Stacktrace:

Posted on June 28, 2010 at 2:10 pm by Jordan Carter · Permalink · 5 Comments
In: Ruby on Rails, Server Config, Ubuntu Tricks · Tagged with: , ,

Developing Ruby on Rails on Ubuntu Lucid Lynx 10.04

Update: For Installing Ruby on Rails onto a Ubuntu Server (Lucid Lynx 10.04) goto this post Developing for any Web Application can be helped by developing in the same environment as the deployment.  For me this means that running Ubuntu Desktop and deploying onto Ubuntu Server is a no brainer.  Most Ruby on Rails developers […]

Posted on June 8, 2010 at 2:54 pm by Jordan Carter · Permalink · Leave a comment
In: Ruby on Rails, Server Config · Tagged with: 

Package ‘adobe-flashplugin’ is Virtual when installing Flash on Firefox or Chrome – Ubuntu Lucid Lynx 10.04 64

Trying to install Flash on Ubuntu 10.04 64 bit fails with the error Package ‘adobe-flashplugin’ is Virtual I managed to install it with the following pasted into terminal. sudo add-apt-repository ppa:sevenmachines/flash && sudo apt-get update && sudo apt-get install flashplugin64-installer

Posted on June 8, 2010 at 9:36 am by Jordan Carter · Permalink · 13 Comments
In: Ubuntu Tricks · Tagged with: , , ,

Share Keyboard and Mouse between Two or Multiple Computers

I have three computers at my desk.  No reason other than I am a geek.  I have a desktop, nice beasty thing.  I have a Tablet Laptop and I have a netbook. I wanted to connect them all up so that I could use the screen space on them, put twitter on one maybe, gmail […]

Posted on June 4, 2010 at 9:42 am by Jordan Carter · Permalink · Leave a comment
In: Ubuntu Tricks · Tagged with: