Ruby IDE's

Hi This is sunil..
i am new to ruby technology...
can anyone tel which IDE is good for running ruby programs....

···

--
Posted via http://www.ruby-forum.com/.

Sunil Kumar wrote:

Hi This is sunil..
i am new to ruby technology...
can anyone tel which IDE is good for running ruby programs....
  

May I recommend that you learn to run it from the command line. It's not at all hard.

I've done several IDE's, and aside from the need to learn them, and their bugs, they have the additional disadvantage of keeping you from seeing what you're really doing.

I'm an absolute amateur with Ruby, and always will be, I now run from the command line, and use the ruby-debug gem (not yet available in ruby 1.9), and am completely pleased with what I can do. I would never go back to an IDE. I simply don't see any advantage at all.

t.

···

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Cloyd, MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< tc@tomcloyd.com >> (email)
<< TomCloyd.com >> (website) << sleightmind.wordpress.com >> (mental health weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Best would be Netbeans or Eclipse , no doubt .
But both are so slow on my recently bought machine ( Intel Core 2 Duo ,
nVidia 9600 1 GB , 4 GB RAM , Windows Vista ) thats its of no practical
use . FTP hangs in between , SVN hangs here-and-there , God knows .
For Eclipse i used SVN Connector ( Polarion something ) , for DB I used
DTP . All are buggy and slow .

Previously I left Netbeans(Eclipse) in favour of UltraEdit because I had
an Old Machine ( AMD Athlon , 1 GB RAM , nVidia 5200 128 MB ) . But now
with 5 GB Memory at disposal , Netbeans and Eclipse are still slow .
They are , as someone will argue meant for Enterprise Projects or some
shit like that . So leave them for them and go for UltraEdit ( UEStudio
) . It integrates seamlessly with Tortoise SVN , FTP and SSH is built-in
. Loads fast . Has Syntax Highlighting for Ruby , HTMl , Javascript etc
.

UEStudio ( Ultraedit ) works great for Windows . It is primarily
focussed towards PHP and Ruby .

Linux Users like me probably know what they are doing :slight_smile:
Theres plethora . Best would be Scite or gEdit . gEdit comes by default
with Fedora and Ubuntu and has Syntax highlighting for Ruby .

For Mac , Use Textmate :slight_smile:

Again , Netbeans comes for all OS's . You can try it ( or Eclipse ) .
But , I threw my hands up in frustration and came back to UEStudio (
Ultraedit ) .

Cheers !

···

--
Posted via http://www.ruby-forum.com/.

Hi,
I installed Eclipse in my computer..
Nw am trying to run one ruby program. but it showing error called..

"An error occurred while trying to launch a ruby application

Reason
  There is no currently no ruby interpret defined, Use performance to
define and select the active interpret"...

···

--
Posted via http://www.ruby-forum.com/.

A most effective facility I have found is to be able to edit vertically.

tabs -> Spaces, indent.

jedit.org.

···

--
チェックアウトが、Jingle だ!
It's a Jingle Out There!

Sunil Kumar <sunil.muki@gmail.com> writes:

Hi This is sunil..
i am new to ruby technology...
can anyone tel which IDE is good for running ruby programs....

Emacs (Carbon Emacs if on OSX) with ruby-mode.el, inf-ruby.el,
ruby-electric.el

···

--
Brian Adkins
http://lojic.com/

you can use vim, gedit, emacs undder Linux system.
and if u want to use IDE , u can use Komodo Geany and many IDE contains
ruby.exmaple(Anjuta, Kdevelop)

the Komodo can setup on Windows.

JackyCheung

I don't agree the guy Tom.
For the testers, the efficient is quite important.
I recommend Netbeans6.7 ruby version.

Thanks.
Wesley Chen.

···

On Mon, Jul 20, 2009 at 3:47 PM, Tom Cloyd <tomcloyd@comcast.net> wrote:

to an IDE. I simply don't see any advantage at all.

Hi,
How to use run ruby programs Eclipse..
i kw hw to run java programs in eclipse....

···

--
Posted via http://www.ruby-forum.com/.

Sunil Kumar wrote:

Hi This is sunil..
i am new to ruby technology...
can anyone tel which IDE is good for running ruby programs....

May I recommend that you learn to run it from the command line. It's not
at all hard.

I've done several IDE's, and aside from the need to learn them, and
their bugs, they have the additional disadvantage of keeping you from
seeing what you're really doing.

Amen (and even more so for beginners)
<snip> the command line, and use the ruby-debug gem (not yet available in ruby

1.9

Seems you are running an old version here, I happen to have good news :slight_smile:

536/49 > cat test1.rb && ruby -vrdebug test1.rb
puts 42
ruby 1.9.1p129 (2009-05-12 revision 23412) [i686-linux]
Debug.rb
Emacs support available.

test1.rb:1:puts 42
(rdb:1) help
Debugger help v.-0.002b
Commands
  b[reak] [file:|class:]<line|method>
  b[reak] [class.]<line|method>
                             set breakpoint to some position
  wat[ch] <expression> set watchpoint to some expression
  cat[ch] (<exception>|off) set catchpoint to an exception
  b[reak] list breakpoints
  cat[ch] show catchpoint
  del[ete][ nnn] delete some or all breakpoints
  disp[lay] <expression> add expression into display expression list
  undisp[lay][ nnn] delete one particular or all display expressions
  c[ont] run until program ends or hit breakpoint
  s[tep][ nnn] step (into methods) one line or till line nnn
  n[ext][ nnn] go over one line or till line nnn
  w[here] display frames
  f[rame] alias for where
  l[ist][ (-|nn-mm)] list program, - lists backwards
                             nn-mm lists given lines
  up[ nn] move to higher frame
  down[ nn] move to lower frame
  fin[ish] return to outer frame
  tr[ace] (on|off) set trace mode of current thread
  tr[ace] (on|off) all set trace mode of all threads
  q[uit] exit from debugger
  v[ar] g[lobal] show global variables
  v[ar] l[ocal] show local variables
  v[ar] i[nstance] <object> show instance variables of object
  v[ar] c[onst] <object> show constants of object
  m[ethod] i[nstance] <obj> show methods of object
  m[ethod] <class|module> show instance methods of class or module
  th[read] l[ist] list all threads
  th[read] c[ur[rent]] show current thread
  th[read] [sw[itch]] <nnn> switch thread context to nnn
  th[read] stop <nnn> stop thread nnn
  th[read] resume <nnn> resume thread nnn
  p expression evaluate expression and print its value
  h[elp] print this help
  <everything else> evaluate
(rdb:1) quit
Really quit? (y/n) y

and

cat test1.rb && ruby -vrdebug test1.rb
require 'debug'
a = 41
@a = 42
ruby 1.9.1p129 (2009-05-12 revision 23412) [i686-linux]
Debug.rb
Emacs support available.

test1.rb:1:require 'debug'
(rdb:1) s
test1.rb:2: a = 41
(rdb:1) v l
  a => nil
(rdb:1) s
test1.rb:3:@a = 42
(rdb:1) v l
  a => 41
(rdb:1) quit
Really quit? (y/n) y

HTH
Robert

···

On 7/20/09, Tom Cloyd <tomcloyd@comcast.net> wrote:

--
Toutes les grandes personnes ont d’abord été des enfants, mais peu
d’entre elles s’en souviennent.

All adults have been children first, but not many remember.

[Antoine de Saint-Exupéry]

Sunil,

Okay, first of all, what is your programming background? Are you used to running programs from the commandline/shell or from an editor/IDE?

Second, to echo Rohit, do you have Ruby installed at all?

IDEs are good if you have experience in programming, but for this iteration, I think you should follow Tom's advice and start off from the command-line.

···

On Jul 20, 2009, at 6:04 AM, Sunil Kumar wrote:

Hi,
I installed Eclipse in my computer..
Nw am trying to run one ruby program. but it showing error called..

"An error occurred while trying to launch a ruby application

Reason
There is no currently no ruby interpret defined, Use performance to
define and select the active interpret"...
--
Posted via http://www.ruby-forum.com/\.

Hi,
Thank you very much, Its running nw…
i downloaded one ruby project called chilkatRuby,its project or wat??? .
how to deploy this project in eclipse??ng

···

--
Posted via http://www.ruby-forum.com/.

Rohit Chauhan wrote:

Best would be Netbeans or Eclipse , no doubt .
But both are so slow on my recently bought machine ( Intel Core 2 Duo , nVidia 9600 1 GB , 4 GB RAM , Windows Vista ) thats its of no practical use .

NetBeans on my Kubuntu laptop (Intel Core 2 Duo, 3 GB RAM) is quite peppy. Have not found it to be buggy at all. Extremely useful.

That said, I prefer gvim for day-to-day coding. I use NetBeans for the UI editor when hacking on JRuby desktop apps. But I know a few folks who use quite regularly (on Macs)

If it's important to have an "IDE" (as opposed to a code editor), NetBeans is a really good option.

···

--
James Britt

www.jamesbritt.com - Playing with Better Toys
www.ruby-doc.org - Ruby Help & Documentation
www.rubystuff.com - The Ruby Store for Ruby Stuff
www.neurogami.com - Smart application development

Mark T wrote:

A most effective facility I have found is to be able to edit vertically.

tabs -> Spaces, indent.

jedit.org.

Absolutely. I use this facility in the jEdit editor all the time. Couldn't live without it.

All you need is jEdit plus the RubyPlugin and you'll be sitting at a very powerful console. I use jEdit far more than I use my word processor or spreadsheet - I can't say enough good things about this editor. I've looked at a great many others, and have never found even a close competitor. It's my #1 must-have tool, for Ruby and many other things.

t.

···

--

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Cloyd, MS MA, LMHC - Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< tc@tomcloyd.com >> (email)
<< TomCloyd.com >> (website) << sleightmind.wordpress.com >> (mental health weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Rohit Chauhan wrote:

Best would be Netbeans or Eclipse , no doubt .
But both are so slow on my recently bought machine ( Intel Core 2 Duo ,
nVidia 9600 1 GB , 4 GB RAM , Windows Vista ) thats its of no practical
use . FTP hangs in between , SVN hangs here-and-there , God knows .
For Eclipse i used SVN Connector ( Polarion something ) , for DB I used
DTP . All are buggy and slow .

Previously I left Netbeans(Eclipse) in favour of UltraEdit because I had
an Old Machine ( AMD Athlon , 1 GB RAM , nVidia 5200 128 MB ) . But now
with 5 GB Memory at disposal , Netbeans and Eclipse are still slow .
They are , as someone will argue meant for Enterprise Projects or some
shit like that . So leave them for them and go for UltraEdit ( UEStudio
) . It integrates seamlessly with Tortoise SVN , FTP and SSH is built-in
. Loads fast . Has Syntax Highlighting for Ruby , HTMl , Javascript etc
.

Woah! I run Netbeans on this here 2Gb, 1.6GHz Intel M (or something like
that - it's six years old) and it's fine. Any bottlenecks are caused by
the hd. This is on Ubuntu, but I was running it dual boot until a few
months ago and nb was fine under XP.

Along with nb, I'm simultaneously running all the usual candidates:
apache, mongrel cluster, mysql, postfix, dovecot, email, firefox, etc.

On my 4Gb dual core, it's snappier, of course, but it's fine on the ol'
laptop.

···

--
Best,
Marc

"Change requires small steps."

Tom Cloyd wrote:

Sunil Kumar wrote:

Hi This is sunil..
i am new to ruby technology...
can anyone tel which IDE is good for running ruby programs....
  

May I recommend that you learn to run it from the command line. It's not
at all hard.

I've done several IDE's, and aside from the need to learn them, and
their bugs, they have the additional disadvantage of keeping you from
seeing what you're really doing.

No they don't!

If anything, they enhance your understanding. Once you know how to drive
the things, they offer you a ton of functionality that is far harder to
accomplish via the CLI.

I use the CLI too, and I'm a big user of gvim, but for project work,
it's simply nuts not to use an IDE.

I'm an absolute amateur with Ruby, and always will be, I now run from
the command line, and use the ruby-debug gem (not yet available in ruby
1.9), and am completely pleased with what I can do. I would never go
back to an IDE. I simply don't see any advantage at all.

Might I suggest that when you have a lot more experience, and spend more
time coding, then the advantages will become very clear.

···

--
Best,
Marc

"Change requires small steps."

Hi,
How run ruby programs in eclipse??

···

--
Posted via http://www.ruby-forum.com/.

I second on Netbeans and the sentiment IDEs. They become very important once you start work with Rails.

(If not an IDE, at least a good Editor that supports Ruby very well. I would recommend Komodo editor, Emacs (for Linux/Mac) or TextMate).

···

On Jul 20, 2009, at 3:52 AM, Wesley Chen wrote:

I don't agree the guy Tom.
For the testers, the efficient is quite important.
I recommend Netbeans6.7 ruby version.

Thanks.
Wesley Chen.

On Mon, Jul 20, 2009 at 3:47 PM, Tom Cloyd <tomcloyd@comcast.net> > wrote:

to an IDE. I simply don't see any advantage at all.

marc wrote:

Might I suggest that when you have a lot more experience, and spend more
time coding, then the advantages will become very clear.

Please avoid personal attacks.

Disagreement with your preferences != lack of experience, and it's rude to suggest it.

Thanks,

···

--
James Britt

www.jamesbritt.com - Playing with Better Toys
www.ruby-doc.org - Ruby Help & Documentation
www.rubystuff.com - The Ruby Store for Ruby Stuff
www.neurogami.com - Smart application development

Tom Cloyd wrote:

I use the CLI too, and I'm a big user of gvim, but for project work,
it's simply nuts not to use an IDE.

Well I am nuts then, but that's a well known fact anyway;).
However I do not want to argue that IDEs do not have their merits, but
maybe it is worth mentioning that we are hinting a beginner who wants
to learn Ruby.

I'm an absolute amateur with Ruby, and always will be, I now run from
the command line, and use the ruby-debug gem (not yet available in ruby
1.9), and am completely pleased with what I can do. I would never go
back to an IDE. I simply don't see any advantage at all.

Might I suggest that when you have a lot more experience, and spend more
time coding, then the advantages will become very clear.

So clear that you are assuming we know them?

Cheers Robert

···

On 7/20/09, marc <gmane@auxbuss.com> wrote:
--
Toutes les grandes personnes ont d’abord été des enfants, mais peu
d’entre elles s’en souviennent.

All adults have been children first, but not many remember.

[Antoine de Saint-Exupéry]