Ruby Screenshot of the Week #3

Yes, the code is now in CVS. Please note that this is under active development. There are known bugs and instability. This is for early adopters only! As things get more stable we'll be making more official builds for a broader audience. I'll post a feature list here soon so you know what you can play with.

Did I mention that this may be unstable? Okay, good. I've posted screenshots here before, but remember that screenshots will show a particular case known to work, not a feature working in all conditions... Don't rush into this with high expectations. I will however be doing my best to fix bugs and add features. Please file bugs with Issuezilla in the scripting category with ruby as a sub category. Join the mailing lists to provide feedback and participate.

Did I mention that this is for early-adopter types only at this stage? Okay, good.

If you felt cheated by the above screenshot, here's another one. Can't remember the escapes in a Regular Expression? No problem!

This is not particular to regular expressions. Try it on dollar variables, or in literal strings. Here's another example:

Comments:

Way cool. Just one note on the script above ... it assumes you have "checkout -P" in your ~/.cvsrc file; otherwise the build will complain. Might want to include that note, or modify the example to explicitly include the "-P" option.

Posted by Craig McClanahan on February 02, 2007 at 07:59 AM PST #

Thanks Craig. Yes, -P is required on checkout. Note also that anyone building on Solaris should make sure that ant will use /usr/bin/gpatch rather than /usr/bin/patch. The straightforward way is to add a bin directory to the front of your PATH that contains a symlink to gpatch:
ln -s /usr/bin/gpatch patch

Posted by Tor Norbye on February 02, 2007 at 09:53 AM PST #

The -P thing caught me a couple times too. DAMN YOU CVS. But this is super-dooper-great news. Finally I don't have to shy away from folks that want to know where they can get the new NB-Ruby stuff...I can point them in the right direction :)

Posted by Charles Oliver Nutter on February 02, 2007 at 11:52 AM PST #

Cool! But, how about Groovy?

Posted by TigerShark on February 03, 2007 at 02:37 PM PST #

Very promising, Tor.

Posted by Antonio Cangiano on February 04, 2007 at 02:28 AM PST #

This is very cool indeed. A few days ago I was feeling like experimenting with the support of NetBeans for Ruby and JavaScript, but I couldn't find the Ruby plugin. :-) Anyway, here's hoping that NetBeans will be scriptable with JRuby as well. I may need to create custom windows and launch custom things while capturing the output. The leverage over the alternatives would be if JRuby could be used for such things as well. Another thing for a long term goal is to try to clean up the interface for the folks who don't need Java or might need it only some times. A less cluttered interface would be awesome. Think "GVim" like.

Posted by Joao on February 04, 2007 at 03:35 PM PST #

Hint: In the link to IssueZilla, you can also use the 'subcomponent' parameter: http://scripting.netbeans.org/issues/enter_bug.cgi?component=scripting&subcomponent=ruby&issue_type=DEFECT

Posted by Marian Petras on February 04, 2007 at 04:02 PM PST #

hello, just found this ruby effort for netbeans. looks very promising. one short question: will there be "fast" debugging support for rails applications? the ruby debugger is somewhat slow. there's a ruby-debug extension which is pretty fast. thought about implementing something like that? thank you. :)

Posted by pantarhei on February 04, 2007 at 07:41 PM PST #

> will there be "fast" debugging [...] there's a ruby-debug extension

Yes, it will (note it is just for C Ruby version, not for JRuby). You may take a look at http://sourceforge.net/mailarchive/message.php?msg_id=38021927 thread for more information.

Posted by Martin Krauskopf on February 05, 2007 at 12:06 AM PST #

Post a Comment:
Comments are closed for this entry.
About

Tor Norbye

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today