My Ruby on Rails dev environment

June 29, 2009

My dev environment for Ruby is currently this:

Set up:
1. Windows Vista. I’m probably the only developer who likes Vista, but actually it behaved without problems for me from the start.
2. Ruby 1.8 + Rails 2.3.2.
3. sqlite3 – More than enough for the development purposes

IDE:
1. cmd window 1 – Web Server (ruby script/server). Usually runs in the background, but sometimes useful to see the database queries, no need to open the log.
2. cmd window 2 – Rails project directory. There I can quickly run Rails command-line commands, edit some text files, etc.
3. cmd window 3 – sqlite3.exe (dbconsole) for quick check ups on the data
4. Google Chrome browser – much faster than IE and the ever-bloated Mozilla.
5. E-texteditor. A “clone” of Mac’s favorite textmate. My version is a bit buggy and crashes if you try to write macros, plus I am not using bundles at all, but it still is the most pleasant way to write RoR code (an alternative was Aptana Studio, but when it crashed without any notice I decided against using it).

Entry Filed under: Uncategorized. .

4 Comments Add your own

  • 1. andynu  |  June 30, 2009 at 4:12 am

    I settled on a similar solution.

    1. terminal running gnu screen
    (1 – script/server, 2 – vim, 3 – shell in project folder, 4 – mysql cli, 5 – logs)
    2. Chromium; agreed: crazy fast js.

    One of the nice things about using screen is that provided I am in the rails root directory I can start it up with a particular screenrc and it splits into those five windows and starts their commands automatically.

    Reply
  • 2. Traz  |  July 1, 2009 at 3:19 pm

    Hello !
    For cmd, take a look at http://sourceforge.net/projects/console : nice multitabs console on windows :)

    Reply
    • 3. allaboutruby  |  July 19, 2009 at 10:40 am

      Hi Traz – thanks for suggestion! Actually started to use the console now, it works great. Two things that could be improved – (1) there’s no tab restart, (2) if process closes with an error (like script/server), the tab is closed, without possibility to see what was an error (I guess this can be cured with enveloping with cmd… but still).

      Reply
  • [...] you can get the amazon links on the right pane. Possibly related posts: (automatically generated)My Ruby on Rails dev environmentNo TitleOil And Water Do [...]

    Reply

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Recent posts

Starting to learn Rails?

Archive

Recent comments

allaboutruby on Post ruby or html, css, sql so…
Wolf on Post ruby or html, css, sql so…
allaboutruby on Google Maps API in Rails (YM4R…
Christian on Google Maps API in Rails (YM4R…
Pankaj Sisodiya on Installing Rails on Windows (3…