My Ruby on Rails dev environment

June 29, 2009 at 10:27 pm 8 comments

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. Tags: .

Learning to read Ruby on Rails code – a cheatsheet for absolute beginners Create an object of a type (class) stored in a string

8 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
  • 4. 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
    • 5. 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
  • 7. B7  |  May 15, 2011 at 2:35 am

    Thanks, I was looking for Textmate thing on Windows. And definitely big ups for Chrome. It is like 10 times faster than Firefox.

    Don’t you need a real IDE for things like refactoring, code completion and pausing execution?

    By the way, is E-texteditor still buggy?

    Reply
  • 8. √-π  |  March 14, 2012 at 12:56 am

    why not Zoidberg?

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


Recent posts

Starting to learn Rails?

Kindle

Get Kindle - the best e-book reader, that I personally use, and the only one that you can read on the beach - very useful: Kindle Wireless Reading Device (6" Display, Global Wireless, Latest Generation)

%d bloggers like this: