Archive for June, 2010

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: 

Sending Emails with Rails, multipart html plain with Attachments

When trying to send attachments along with type versons of an email (html and plain text) you might notice that there is no content in your email message.  While I found this out too.  Simple if not over the top solution. The trick is that you have to put the html and plain part inside […]

Posted on June 3, 2010 at 5:36 am by Jordan Carter · Permalink · 3 Comments
In: Ruby on Rails · Tagged with: , ,