A Fresh Cup is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting in the universe of software. I'm a full-time software developer: most of my time in recent years has been spent writing Rails, though I've dabbled in many other things and like most people who have been writing code for decades I can learn new stuff as needed.

Currently I'm unemployed and starting to look around for my next opportunity as a senior manager, team lead, or lead developer. Drop me a comment if you're interested or email MikeG1 [at] larkfarm.com.

« Double Shot #952 | Main | Double Shot #951 »

Project Sputnik: Manual Installs

Dell promises that eventually Project Sputnik laptops will ship with:

Profile tool: a software management tool to go out to a github repository to pull down various developer profiles such as javascript, ruby, android.

The beta version of the laptop doesn't include this tool. I expect I'll end up wiping and reinstalling more than once, so I'm going to keep track here of what I end up installing by hand. When we get to the Big Rock Candy Mountain, I expect the profile tool to take care of all this for me.

Project Sputnik image

Firefox Nightly

sudo add-apt-repository ppa:ubuntu-mozilla-daily/ppa
sudo apt-get update
sudo apt-get install firefox-trunk 


Installed within Firefox from the 1.11 alpha build share.

Sublime Text 2

sudo add-apt-repository ppa:webupd8team/sublime-text-2
sudo apt-get update
sudo apt-get install sublime-text


sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 5044912E
sudo add-apt-repository "deb http://linux.dropbox.com/ubuntu $(lsb_release -sc) main"
sudo apt-get update
sudo apt-get install nautilus-dropbox

The box does ship with git installed (good) but the ruby is fairly ancient (bad): 1.8.7p352.


My main project needs nokogiri, which depends on libxml2 to build. So…

sudo apt-get install libxslt-dev libxml2-dev


Required for the curb gem.

sudo apt-get install libcurl3 libcurl3-gnutls libcurl4-openssl-dev


Dependencies, dependencies everywhere.

sudo apt-get install libsqlite3-dev


Change the default gnome terminal options

Pay attention to the rvm requirements output, and install them all before continuing. If you skip this, things will appear to work until you try to run irb and get readline errors.

curl -L https://get.rvm.io | bash -s stable --ruby
rvm pkg install zlib
rvm pkg install openssl

NOTE: Do not pkg install readline. This will bring pain.

NOTE: Install 1.8.7 under rvm before 1.9.3 to get readline support in irb.

This also brings in ruby 1.9.3-p194, which is what I'm using for most things these days. The ruby compilation was the first thing that kicked the fan on the XPS 13 into high gear.


I prefer PostgreSQL, but my main project these days is on MySQL, so that's what I set up as client and server. Need to install the development libraries so I can compile the mysql2 gem later, too.

sudo apt-get install mysql-server
sudo apt-get install mysql-client
sudo apt-get install mysql-workbench
sudo apt-get install libmysql-ruby 
sudo apt-get install libmysqlclient-dev


Where I store a lot of passwords and whatnot.


For integration testing.

wget http://phantomjs.googlecode.com/files/phantomjs-1.6.1-linux-x86_64-dynamic.tar.bz2
sudo tar xvjf phantomjs-1.6.1-linux-x86_64-dynamic.tar.bz2 -C /usr/local
sudo ln -s /usr/local/phantomjs-1.6.1-linux-x86_64/bin/phantomjs /usr/local/bin/phantomjs

Reader Comments (1)

If you want ruby 1.9.3 as a .deb package (for Ubuntu 12.04), add this PPA: http://wiki.brightbox.co.uk/docs:ruby-ng#installation (it also provides nginx and passenger, so it's great for production servers).

September 5, 2012 | Unregistered Commenterzaadjis

PostPost a New Comment

Enter your information below to add a new comment.
Author Email (optional):
Author URL (optional):
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>