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 Rails developer and contributor, available for long- or short-term consulting, with solid experience in working as part of a distributed team. If you'd like to hire me, drop me a line. I'm also the author of Rails Rescue Handbook and Rails Freelancing Handbook.

Navigation
« Double Shot #952 | Main | Double Shot #951 »
Wednesday
Sep052012

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 

Firebug

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

Dropbox


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.

libxml2

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


sudo apt-get install libxslt-dev libxml2-dev

libcurl

Required for the curb gem.


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

libsqlite

Dependencies, dependencies everywhere.


sudo apt-get install libsqlite3-dev

rvm

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.

MySQL

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

Wuala

Where I store a lot of passwords and whatnot.

PhantomJS

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):
Post:
 
Some HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>