# Console2

**URL:** <https://www.ruby-forum.com/t/console2/125305>\
**Category:** Rails\
**Created:** [January 8, 2008, 2:49am UTC](https://www.ruby-forum.com/t/console2/125305 "2008-01-08T02:49:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![agilehack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/d2c977/32.png) [@agilehack](https://www.ruby-forum.com/u/agilehack)\
**Post date:** [January 8, 2008, 2:49am UTC](https://www.ruby-forum.com/t/console2/125305/1 "2008-01-08T02:49:14Z")

</div>

does anyone here use console2 with there RoR development? I already  
use e as my editor and after reading the blog on garbage burrito…

> **[GarbageBurrito.com is for sale | HugeDomains](https://www.hugedomains.com/domain_profile.cfm?d=garbageburrito.com)**
>
> Since 2005, we have helped thousands of people get the perfect domain name.

I would love to use console2, I am not real familiar with setting  
something like this up plus I use instantrails which the article does  
not go into. I am pretty sure I need to set the shell and maybe a  
thing or two else but not sure. Anyone done this that can help?

---

<div class="post-metadata">

**Author:** ![agilehack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/d2c977/32.png) [@agilehack](https://www.ruby-forum.com/u/agilehack)\
**Post date:** [January 8, 2008, 2:55am UTC](https://www.ruby-forum.com/t/console2/125305/2 "2008-01-08T02:55:40Z")

</div>

I sometimes develop on my home machine running Windows XP and you don’t  
really have to do much. I’m using Netbeans 6.0 with Console2 and a Rails  
install done by installing Ruby using the One-click Installer and then  
doing  
gem install rails. Everything should be set up for you with Netbeans  
being  
able to do most of the work for you.

---

<div class="post-metadata">

**Author:** ![agilehack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/d2c977/32.png) [@agilehack](https://www.ruby-forum.com/u/agilehack)\
**Post date:** [January 8, 2008, 3:12am UTC](https://www.ruby-forum.com/t/console2/125305/3 "2008-01-08T03:12:02Z")

</div>

I guess I just need to know how to configure console2 for the rails  
environment if I am using instantrails. I.E. I opened console2 and  
tried to create a project by command line using the command ‘rails  
testapp’ and received an error. I expected the error since I know my  
console2 installation was completely separate from rails and is  
therefor not pointed to anything it needs.

---

<div class="post-metadata">

**Author:** ![agilehack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/d2c977/32.png) [@agilehack](https://www.ruby-forum.com/u/agilehack)\
**Post date:** [January 8, 2008, 3:44am UTC](https://www.ruby-forum.com/t/console2/125305/4 "2008-01-08T03:44:47Z")

</div>

You have to add c:\ruby\bin (or something like that) to the Environment  
Variables PATH line which you can get to by right-clicking on My  
Computer,  
going into Advanced and then Environment Variables.

On Jan 8, 2008 12:41 PM, agilehack [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > really have to do much. I’m using Netbeans 6.0 with Console2 and a Rails  
> > install done by installing Ruby using the One-click Installer and then  
> > doing  
> > gem install rails. Everything should be set up for you with Netbeans  
> > being  
> > able to do most of the work for you.

–  
Ryan B.

> **[frozenplague.net](http://www.frozenplague.net)**
>
> This domain may be for sale!

Feel free to add me to MSN and/or GTalk as this email.

---

<div class="post-metadata">

**Author:** ![agilehack](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/d2c977/32.png) [@agilehack](https://www.ruby-forum.com/u/agilehack)\
**Post date:** [January 8, 2008, 11:40pm UTC](https://www.ruby-forum.com/t/console2/125305/5 "2008-01-08T23:40:04Z")

</div>

I’m using Console2 at home and I did not need to add anything to the  
path.

I had “rails XXX” working on my regular cmd prompt, and it worked the  
same way on Console2.

One tip: Using the newer version (2.0 build 136 I guess) you can set  
up “favorites” trough the settings menu. It its called tabs there.

I created a WEBrick and a “Rails Console” tab. On the first one, I  
used %WINDIR%\cmd.exe ruby script/server as the shell and my app as  
the startup dir. Same thing for Rails Console, just change to use  
script/console instead of script/server.

To access those “favorites”, use the first button I just go to File \>  
New \> WEBrick.
