Console, Cygwin and Ruby on Rails

I was playing around with my e editor and trying to learn how to customize it. The center of its customization story is cygwin and updating it. It was about that time that I also made the move to Console based on Scott's recommendation. His HanselShell inspired me to customize my Console to have Tabs for PowerShell, VS2008 and then finally Cygwin.

You need this for a shell:

c:\cygwin\bin\bash --login -i

Once I did that, I wanted to have a Ruby/Ruby on Rails environment like I have on my Mac with TextMate. I found this wonderful post: A Mac-esque Rails Development Environment on Windows. I had problems installing Rails I unset RUBY_OPT. The next problem became installing Rails with cygwin as it kept saying "/dev/urandom was not found" even though it was there. I found this and modified the file rails_generator.rb and then it worked!

Following that, I could:

$ rails burrito

$ cd burrito

$ e .

This opened e with the new project loaded into the project explorer! How cool is that?

So, now I have an excellent console, with three tabs for PowerShell, VS2008 and cygwin, all of which can be displayed at once. Thanks Scott!

Published 07 March 2008 12:11 AM by Sam Gentile

Comments

No Comments

Search

Go

This Blog

News

    The content of this site are my own personal opinions and do not represent my employer's view in anyway.

    Profile for SamGentile

MVP

Blog Information Profile for SamGentile

Tags

Archives

Syndication