Languages

MauricioVieira's picture

Updating rubygems on ubuntu 10.04

I use an Ubuntu 10.04 box at work, and needed a newer rubygems installation.

Borrowing instructions from Ascarter and changing version (1.3.6 to 1.8.7):

When I build from source and install to the system, I prefer to put the source in /usr/local/src.
But feel free to install anywhere you like. To install rubygems, you
need to download the latest tarball. As of this writing, it is 1.8.7.
Then extract the archive and install:

cd /usr/local/src

wget http://production.cf.rubygems.org/rubygems/rubygems-1.8.7.tgz

tar xzvf rubygems-1.3.6.tgz

cd rubygems-1.3.6

sudo ruby setup.rb

The gem binary is now installed:

/usr/bin/gem1.8

If you want to have gem point to the 1.8 binary:

sudo update-alternatives --install /usr/bin/gem gem /usr/bin/gem1.8 1

Next, run a gem system update to be sure you are on the latest version:

sudo gem update --system

Rubygems should now be installed and ready to go.

MauricioVieira's picture

Quick install node.js at $HOME

Install node.js

Node.js is a server-side javascript environment.

You'll need to have git and build-essential packages.

$ mkdir -p $HOME/opt

$ git clone https://github.com/joyent/node.git && cd node

$ ./configure --prefix=$HOME/opt

$ make

$ make install

Add $HOME/opt/bin to your path. Add to $HOME/.bashrc

if [ -d ~/opt/bin ]; then
    PATH=$HOME/opt/bin:"${PATH}"
fi

Reload it:

$ source $HOME/.bashrc

See what version you've got:

$ node -v

At the time of this writting, I got v0.5.0-pre.

Install node package manager

Node package manager, aka npm, is the way we have to install packages and dependencies.

You'll need to have curl client installed.

MauricioVieira's picture

My list of personal productivity free software

Here's my list of personal productivity free software:
I have one mauriciovieira.net subdomain for each, and host all of them on my http://dreamhost.com account.

(first published on my posterous)

MauricioVieira's picture

Why didn't I study engineering?

Reading texts like this (in portuguese), I almost regret the career choice I did about eleven years ago, when I joined the university. In the text, the author says brazilian companies, like Vale, are importing brazilian engineering students that went study in USA universities.

MauricioVieira's picture

Zeitgeist, The Movie: Final Edition

I just saw in somebody's twitter that the final edition of Zeitgeist was released.

MauricioVieira's picture

MBA group's barbecue

Yesterday my MBA class group had a barbecue at one of our colleagues' home. It was a great time with my colleagues, mostly because of the speeches of some of them. I resized and uploaded photos and they are shown below. I got some videos also, but as I'll have to edit them, I just don't know when they are gonna be released to the public :-p.

MauricioVieira's picture

Hello drupal

I decided to migrate my blog from wordpress to this drupal instalation. Firstly, I had to export the WXR file, and then I used wordpress_import drupal module (it requires trackback and some core modules).

I wanted to blog using some desktop blogging software and found this gotdrupal post. Now, I'm happily editing this blog post using scribefire.

 

MauricioVieira's picture

Online tools to get things done

Last  december, I wrote about getting things done methodology.   I know some free web apps like Remember The Milk,   RunwayClocking It... There are a lot of other software listed in gtd-br wiki, (in brazilian portuguese). My main requisite is to be able to install the tool at my hosting (I have privacy issues), so I tried to use Taskfreak for some time. I gave up taskfreak because I didn't find it usable enough. I switched to Tracks, and it is much better. I recommend it. I found Clocking It recently, and haven't tried For further information, refer to the LifeHacker blog "Which online GTD app is right for you?". Update: take a look at the Interactive GTD Software Comparison Table.Thanks to Márcio Nilo @ GTD-BR mailing list.

MauricioVieira's picture

What about publishing a book?

I am reading Chris Anderson's The Long Tail (in portuguese) and yesterday I read about Lulu.com, a service where anyone can publish a book and get an ISBN. As he wrote this book some years ago, probably there are other 'long tail' book publishing services out there. If you know any, please let me know. I haven't looked throghout all the site, so I don't know whether I can write a book in portuguese (my native tongue) and publish there. Anyways, I have a new goal: write a book in english and publish ;-).

Syndicate content
This is a free demo result from the Wayback Machine Downloader. It is not a complete website.