Go Back   SitePoint Forums > Forum Index > Program Your Site > Ruby
Newsletter FAQ Members List Calendar Mark Forums Read

New to SitePoint Forums? Register here for free!

SitePoint Sponsor
 
Reply
 
Thread Tools Display Modes
Old Oct 30, 2005, 01:16   #1
satishtalim
SitePoint Enthusiast
 
satishtalim's Avatar
 
Join Date: Jun 2005
Location: Pune, India
Posts: 69
Ruby IDE/Editor

Can anyone suggest me a Ruby Source Editor and/or an IDE for the Windows platform? Thanks.
satishtalim is offline   Reply With Quote
Old Oct 30, 2005, 04:59   #2
vgarcia
☆★☆★
silver trophy
 
vgarcia's Avatar
 
Join Date: Jan 2002
Location: in transition
Posts: 21,481
Bad news: at this point they all suck, at least on Windows.

Good news: There are a couple of options that are starting to suck less than before.

RadRails is based on the Eclipse platform and is only at version 0.3 but it's coming along nicely as a Rails IDE.

Arachno Ruby from Scriptolutions is fairly well developed for a 0.6 product, but I have my doubts about a company that was developing PHP/Python tools just a few months ago and stops all development on those to work on a Ruby IDE just cause it's the hot new thing.

Finally, if you're a Dreamweaver type there is the Rubyweaver extension that's supposed to get you Ruby/Rails support, but it didn't work for me when I tried to install it under Dreamweaver 8 so your mileage may vary.
vgarcia is offline   Reply With Quote
Old Oct 30, 2005, 07:05   #3
Luke Redpath
SitePoint Guru
silver trophy
 
Luke Redpath's Avatar
 
Join Date: Mar 2003
Location: London
Posts: 796
I like jEdit...I don't see any need for a full blown IDE to work with Ruby or Rails.
Luke Redpath is offline   Reply With Quote
Old Oct 30, 2005, 09:14   #4
vgarcia
☆★☆★
silver trophy
 
vgarcia's Avatar
 
Join Date: Jan 2002
Location: in transition
Posts: 21,481
Quote:
Originally Posted by Luke Redpath
I like jEdit...I don't see any need for a full blown IDE to work with Ruby or Rails.
I'm not a big jEdit fan (because I've used it for Java in the past :\) but it is way better than SCiTE in my opinion
vgarcia is offline   Reply With Quote
Old Oct 30, 2005, 09:16   #5
matthewmurcia
SitePoint Enthusiast
 
Join Date: Apr 2005
Location: Murcia, Spain
Posts: 69
Try eclipse. If you have windows, then look at this:

http://www.napcs.com/howto/railsonwindows.html

It took me a while to set it up but it works great now.
matthewmurcia is offline   Reply With Quote
Old Oct 30, 2005, 13:53   #6
asp_funda
SitePoint Wizard
silver trophybronze trophy
 
asp_funda's Avatar
 
Join Date: Jun 2003
Location: Andromeda Galaxy
Posts: 4,610
Cool

Quote:
Originally Posted by matthewmurcia
Try eclipse.
there's only one Ruby plugin for Eclipse, RubyEclipse which sucks badly IMHO. The overhead of loading Eclipse just to get basic syntax highlighting is not worth it, SciTE is much better(1 second flat loading time on my PC), its small, fast, low on resources/memory & has syntax highlighting, & its better than FreeRIDE as well, which is incidently written in Ruby, which is both heavy & slow!!
asp_funda is offline   Reply With Quote
Old Oct 30, 2005, 16:17   #7
wei
SitePoint Zealot
 
Join Date: Mar 2004
Location: Australia
Posts: 104
I like http://www.jedit.org/ruby/,
* Integrated Ruby documentation viewer, including Ruby on Rails docs
is a big help.
wei is offline   Reply With Quote
Old Oct 30, 2005, 17:57   #8
satishtalim
SitePoint Enthusiast
 
satishtalim's Avatar
 
Join Date: Jun 2005
Location: Pune, India
Posts: 69
Thanks guys for your comments.
satishtalim is offline   Reply With Quote
Old Oct 31, 2005, 04:56   #9
MiiJaySung
Resident Java Hater
 
Join Date: Jul 2004
Location: Gerodieville Central, UK
Posts: 479
If you are happy with a commercial editor, look at jEdit. It can do Ruby syntax highlighting if you can find the word file on it's site. I use this for most of my work.

Failing that, Look at notepad2,

http://www.hanselman.com/blog/NewNot...hlighting.aspx

This version has ruby syntax highlighting, and if you are only working on a few files, this is a good free alternative.

Another thing I use is Notepad++. I'm not to mad on this as the interface is a bit clumsy and it doesn't like =begin =end comments. However I use this to edit rhtml templates and UltraEdit to edit solid code. You wanna use python syntax highlighing in Notepad++, and make sure all the fonts are set the same size.

I used to use jEdit when I worked on the Mac. Textmate is also good on the mac, but I perfered jedit due to the PC shortcut keys. Kate works well on Linux if you don't mind KDE.
MiiJaySung is offline   Reply With Quote
Old Oct 31, 2005, 06:05   #10
pfharlock
SitePoint Member
 
Join Date: Oct 2005
Posts: 6
abligatory plug for vim

I'm sorry, I have to insert the obligatory plug for vim at this point. Probably not what allot of web developers think of when looking for an IDE, but it has allot going for it.

1. will probably be installed on whatever box your running rails/ruby on by default
2. ruby syntax highlighting
3. good regular expression support
4. all the rest of the stuff that makes vim a good editor.

I apologize in advance for being a fanboy. It's really the regexp support that won me over in the end. Eventually I'll take the time to learn the scripting language built into the thing. I've also heard that there is a ruby scripting interface. I don't know much about it though, however that might be reason number 5, can be scripted using ruby.
pfharlock is offline   Reply With Quote
Old Oct 31, 2005, 14:56   #11
dc dalton
SitePoint Wizard
gold trophysilver trophybronze trophy
 
dc dalton's Avatar
 
Join Date: Nov 2004
Location: Right behind you, watching, always watching.
Posts: 5,979
Anyone know if there are any Ruby syntax files for EditPlus yet? I checked the Edit Plus site but didnt find any ... just wondering if anyone had found one elsewhere.
dc dalton is offline   Reply With Quote
Old Oct 31, 2005, 18:48   #12
vgarcia
☆★☆★
silver trophy
 
vgarcia's Avatar
 
Join Date: Jan 2002
Location: in transition
Posts: 21,481
Quote:
Originally Posted by dc dalton
Anyone know if there are any Ruby syntax files for EditPlus yet? I checked the Edit Plus site but didnt find any ... just wondering if anyone had found one elsewhere.
http://www.illanti.com/files/RubyOnRails_stx_file.zip

Came up in a google search, I don't use EditPlus so I'm not sure how good/bad/ugly it is.

edit: it's for version 2.1 of editplus.
vgarcia is offline   Reply With Quote
Old Oct 31, 2005, 19:54   #13
dc dalton
SitePoint Wizard
gold trophysilver trophybronze trophy
 
dc dalton's Avatar
 
Join Date: Nov 2004
Location: Right behind you, watching, always watching.
Posts: 5,979
Quote:
Originally Posted by vgarcia
http://www.illanti.com/files/RubyOnRails_stx_file.zip

Came up in a google search, I don't use EditPlus so I'm not sure how good/bad/ugly it is.

edit: it's for version 2.1 of editplus.
Nah seen that one (and tried it) ..... no good
dc dalton is offline   Reply With Quote
Old Nov 1, 2005, 01:28   #14
asp_funda
SitePoint Wizard
silver trophybronze trophy
 
asp_funda's Avatar
 
Join Date: Jun 2003
Location: Andromeda Galaxy
Posts: 4,610
Cool

Quote:
Originally Posted by dc dalton
Nah seen that one (and tried it) ..... no good
why it ain't good? if you think that it lacking in function names, keywords etc to highlight, then you can add them. Take a look at the Ruby language file that I made for my WordPress plugin/GeSHi(attached). You can take the keywords/function names from it to start with(the are quite a number of them, not all, but not less either) & add them to the EditPlus language file!!
Attached Files
File Type: zip ruby.zip (1.9 KB, 9 views)
asp_funda is offline   Reply With Quote
Old Nov 1, 2005, 04:54   #15
vgarcia
☆★☆★
silver trophy
 
vgarcia's Avatar
 
Join Date: Jan 2002
Location: in transition
Posts: 21,481
^^ yeah but that's a terrible thing to tell a new Ruby coder (you can do it yourself!), especially with developed toolsets in other languages that require a lot less configuration.
vgarcia is offline   Reply With Quote
Old Nov 1, 2005, 09:16   #16
Vex
SitePoint Enthusiast
 
Join Date: May 2002
Location: Uk
Posts: 73
The next version of Komodo should support ruby, there is a beta available for testing. I haven't tried the beta but Komodo is pretty good for php.
Vex is offline   Reply With Quote
Old Nov 1, 2005, 10:57   #17
jpease
SitePoint Addict
 
jpease's Avatar
 
Join Date: Jul 2002
Location: In the network.
Posts: 220
I've used RadRails. It ain't perfect, but some parts work.
jpease is offline   Reply With Quote
Old Nov 1, 2005, 13:14   #18
asp_funda
SitePoint Wizard
silver trophybronze trophy
 
asp_funda's Avatar
 
Join Date: Jun 2003
Location: Andromeda Galaxy
Posts: 4,610
Cool

Quote:
Originally Posted by Vex
The next version of Komodo should support ruby, there is a beta available for testing. I haven't tried the beta but Komodo is pretty good for php.
I tried Komodo some time back & it wasn't that great as its touted as!! Zend Studio is best for PHP development IMHO!!
asp_funda is offline   Reply With Quote
Old Nov 1, 2005, 22:10   #19
xmitchx
SitePoint Evangelist
 
Join Date: Jun 2004
Location: California
Posts: 440
Quote:
Originally Posted by matthewmurcia
Try eclipse. If you have windows, then look at this:

http://www.napcs.com/howto/railsonwindows.html

It took me a while to set it up but it works great now.
I also recommend this. I use it for both rails and just plain old ruby development
xmitchx is offline   Reply With Quote
Old Nov 12, 2005, 03:21   #20
ryanyogan
SitePoint Member
 
Join Date: Oct 2005
Posts: 8
I am very happy with the early beta of Rad Ruby, it is small and efficient, has a neat yml interface for the database, lets you run queries straight from it too. It also has syntax highlighting and its a really nice fast app, its in java and I am assuming it is off of the eclipse project but its nice. It creates file structures for you and everything, no more terminal / command
ryanyogan is offline   Reply With Quote
Old Nov 12, 2005, 04:05   #21
stereofrog
SitePoint Wizard
 
stereofrog's Avatar
 
Join Date: Apr 2004
Location: germany
Posts: 4,321
I find SciTe most conformant with ruby's "simple is better" principle. The recent version 1.66 has a new improved ruby syntax highlighter.
stereofrog is offline   Reply With Quote
Old Nov 12, 2005, 06:03   #22
vgarcia
☆★☆★
silver trophy
 
vgarcia's Avatar
 
Join Date: Jan 2002
Location: in transition
Posts: 21,481
Quote:
Originally Posted by stereofrog
I find SciTe most conformant with ruby's "simple is better" principle. The recent version 1.66 has a new improved ruby syntax highlighter.
Yeah but I can't stand having an Explorer window open as my project file viewer and I hate having 30 different SCiTE windows open when I'm working on a bunch of them. That and Verdana's a horrible code font
vgarcia is offline   Reply With Quote
Old Nov 12, 2005, 06:16   #23
Fenrir2
SitePoint Guru
 
Join Date: Aug 2005
Posts: 987
Eclipse is strange: opens a file in 0.1 sec, closes it in 1.5 sec :S.
But it is a good option for ruby development with RDT. And you can use JSP highlight for .rhtml files.
Fenrir2 is offline   Reply With Quote
Old Nov 12, 2005, 07:39   #24
stereofrog
SitePoint Wizard
 
stereofrog's Avatar
 
Join Date: Apr 2004
Location: germany
Posts: 4,321
Quote:
Originally Posted by vgarcia
Yeah but I can't stand having an Explorer window open as my project file viewer and I hate having 30 different SCiTE windows open when I'm working on a bunch of them. That and Verdana's a horrible code font
I'm not going to advocate scite here, but the last two things are customizable and easy to change. The project window is a nice one to have, although with my custom "Open file at cursor" and "Find def at cursor" functions I don't miss it that much. I don't do any heavy ruby development though...
stereofrog is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread | Next Thread »

Thread Tools
Display Modes

 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Sponsored Links
 
Forum Jump


All times are GMT -7. The time now is 20:09.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 1998-2009, SitePoint Pty Ltd. All Rights Reserved