Misc Tools

January 21, 2008

Ruby

January 19, 2008

Great reading on ruby:

RoR

January 19, 2008

Great reading on Rails:

Great links for Unix and Mac OSX

January 19, 2008

It has been a while since I work on unix platform. Here is a list of great refresher reading:


    Using /usr/local

    January 3, 2008
    The following tip is taken directly from: hivelogic 

    Using /usr/local is easy. There are only three things one needs to do:

    Compile Using –prefix
    When compiling command line utilities, programs, and system tools, tell the system to install things into /usr/local. Just append –prefix=/usr/local to the ./configure command in the build process.

    Set The Path
    By default, tell the system to look in /usr/local for files first by editing your path. On Mac OS X, either create or edit a file called .bash_login in your home folder (note the ”.”, it’s a hidden file) and add the following line to it:
    export PATH=”/usr/local/bin:/usr/local/sbin:$PATH”

    Specify the /usr/local Prefix in Scripts
    When writing scripts, specify the full path to the executable you’ve installed in the first line of the script. So to specify a Ruby binary in /usr/local/bin, one would use a line like this:

    #!/usr/local/bin/ruby
    That’s all there is to it.


    Follow

    Get every new post delivered to your Inbox.