From: Lothar Scholz Date: 2004-11-18T23:55:11+09:00 Subject: Re: debugging rails in an IDE? Hello John, JW> I've been really digging the ArachnoRuby IDE lately JW> (http://www.ruby-ide.com). It's still beta, and it has a few quirks at JW> this point (mainly related to the way it auto-indents code), but it's Can you please give me some code snippets where the auto-indents are wrong. Also do you use version 3.2 ? I fixed some of the auto-indent bugs there and now i think it only fails on complicated quoted strings. JW> You can debug Rails apps with ArachnoRuby. It's not 100% JW> straight-forward, though. First, if you're using Gems, you'll have to JW> edit the ArachnoRuby preferences and add the GEM_PATH variable to JW> point to your gems directory. I honestly don't know _why_ this is JW> necessary (as in, why ArachnoRuby doesn't detect this automatically, JW> since the regular ruby interpreter has no problem with it), but if you JW> don't, you'll get errors about missing gems. I think the reason is that the system environment is not passed to cgi scripts. This is because it is the way apache is normally setup and i wanted the debugging environment to be as close to a normal setup as possible. In the "Project Settings" on the "General - Environment Variables" there is a "Pass System Environment to CGI scripts" option. This must be set. Maybe i should set this option by default ? -- Best regards, emailto: scholz at scriptolutions dot com Lothar Scholz http://www.ruby-ide.com CTO Scriptolutions Ruby, PHP, Python IDE 's