2009
11.08

Hi people, for those than don't follow me on Twitter and not know yet, I wrote a script to automatize the setup of a development machine for work with Rails on Ubuntu 9.10 Karmic Koala. Check it out in my Github account, fork me or just let me know what you think about him.

[UPDATE]

* Now the script accepts others versions of Ruby and Git for perform download, just enter with the path for the tar.gz package that the script will download, compile and install everything for you.

If you wish the script still can keep the default installation of Ruby 1.8.7 P72 and Git 1.2.5.2.

* Gmate now is installed from ppa sources. More info in http://github.com/lexrupy/gmate

* Removed hardcode in the installation of Passenger. Now if you wants enable Passenger in Apache you can just enter with the version installed

and the script does the dirty job for you, thus the Apache not crash in your restarting.

* Individual files to install separately some steps of this script.

7 comments so far

Add Your Comment
  1. Hey, pretty nice your script, really liked it!

    Just for add, you may know, gmate is now available for install via ppa on karmic. Take a look at:
    https://launchpad.net/~ubuntu-on-rails/+archive/ppa

    Congratulations, Carlos

  2. Yeah, I thought in use ubuntu-on-rails, but how it coming with ruby 1.9 and most of the people aren’t using it yet. I chose take GMate from the source. But ubuntu-on-rails is a nice way too.

  3. Thanks for the script. I need to run this first before it would work:
    sudo aptitude update

  4. Yeah, thats a good practice, how this script was built in releasing of Ubuntu, i assumed that all packages already were updated. I go add this for the script, thanks by the hint.

  5. I know these are easy fixes, but I’m new to setting up a linux box, so I also had to make the changes below. Thank you for the script though… it probably saved me days considering how new I am to this.

    (error) apt-get libfcgi-dev (failed module not available. Need to add to source list?)
    (added) apt-get -y install tk (had to install for git to compile)
    (changed) passenger-2.2.5 hardcoded, now version 2.2.7 so apache failed to start
    (changed) rm /src/-rf rubygems-1.3.5 should be rm -rf /src/rubygems-1.3.5?

  6. Are welcome, Steve. I’m doing some improvements for this script, make it more smart and remove all hard code. I’m also writing a new script to setup Gitorious in 9.10 because, seem isn’t working decently with official tutorial.

  7. Opa Junio, gostei muito do blog. Me parece que é de BH, certo? Teria algum conhecido para indicar para esta vaga em BH http://mercadowebminas.blogspot.com/2009/12/vagas-da-semana-no-mercado-web-minas_09.html ? Abraços, Roberto, 68interativa