ruby IDE's

S

Sunil Kumar

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

Rohit Chauhan

Hi Sunil

If you know Eclipse , Simply use this

http://www.aptana.com/rails

Install Aptana Studio First . It is based on Eclipse .
Then if you know Eclipse then you install RadRails Plugin using
Plugin-Finder in Eclipse .

For Installing Ruby on Windows use the One-Click Installer
I created it Yesterday :) . Its for Ruby 1.9.l

See Below ,

-------------------------------------------------------------------------------
Latest Ruby 1.9.1 One-Click Installer with No-Hassle Rails Installation
-------------------------------------------------------------------------------
Filename : Ruby 1.9.1 One-Click Installer for Windows
Author : Rohit Chauhan
Facebook URL : http://www.facebook.com/rohitchauhan802

Installation :

1) Click to Install Ruby . Follow Instructions .
2) To Install Ruby on Rails framework , Open Command Prompt in Windows
and type "gem install rails" .

3)To Uninstall Ruby , Go to Control Panel -> Uninstall
Find Ruby with the Red "Ruby ICON"
Click on Uninstall Button
 
R

Roderick van Domburg

Me and a few colleagues of mine are loving RubyMine, having recently
switched from NetBeans.
 
R

Robert Dober

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)
Seems you are running an old version here, I happen to have good news :)

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 expressio=
ns
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 =3D 41
@a =3D 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 =3D 41
(rdb:1) v l
a =3D> nil
(rdb:1) s
test1.rb:3:mad:a =3D 42
(rdb:1) v l
a =3D> 41
(rdb:1) quit
Really quit? (y/n) y

HTH
Robert

--=20
Toutes les grandes personnes ont d=92abord =E9t=E9 des enfants, mais peu
d=92entre elles s=92en souviennent.

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

[Antoine de Saint-Exup=E9ry]
 
S

Sunil Kumar

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"...
 
R

Rilindo Foster

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).
 
R

Rilindo Foster

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.
 
R

Rilindo Foster

Out of curiosity, I downloaded RubyMine. Looks good (I'll have to test
it on my work laptop to see if it'll work well, since Netbeans on that
machine is a sloth), except that my needs require that my IDE supports
Perl/Python, among other things. :|
 
S

Sunil Kumar

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??
 
M

Mark T

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

tabs -> Spaces, indent.

jedit.org.

--=20
=E3=83=81=E3=82=A7=E3=83=83=E3=82=AF=E3=82=A2=E3=82=A6=E3=83=88=E3=81=8C=E3=
=80=81Jingle =E3=81=A0!
It's a Jingle Out There!
 
B

Brian Adkins

Sunil Kumar said:
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
 
J

Jacky Cheung

[Note: parts of this message were removed to make it a legal post.]

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
 
S

Sunil Kumar

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
 
J

James Britt

Rohit said:
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
 
T

Tom Cloyd

Well, the question of editors is entirely different from that of IDEs.
One can employ a good editor (I use jEdit, and it's excellent -also
platform independent) without all the front end nonsense of an IDE.
Admittedly, however, for some people an IDE may seem a good idea. But
what does it really do for you? A good editor plus IDE plus a decent
testing tool puts you in business with the lowest possible overhead. Why
not go that direction? Simple, direct, and fast. No nonsense.

t.

Rilindo said:
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).


--

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

Tom Cloyd

Mark said:
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
<< (e-mail address removed) >> (email)
<< TomCloyd.com >> (website)
<< sleightmind.wordpress.com >> (mental health weblog)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 
G

Garry Freemyer

[Note: parts of this message were removed to make it a legal post.]

With the latest, I think its 4.3.17pre, It loads up and then the loading bar at the bottom gets to "Run startup script" and hangs there forever.

I tried the irc channel, I tried different builds Nobody can solve it, nobody even has an idea what is wrong.

I spent literally seven hours trying to get JEdit past this problem on my Mac Os X machine without any success at all.

I tried the os x specific one, I tried the platform independent one.

I asked on the ruby on rails and ruby language ircs too. I have the pre-requisites, but it seems I am doomed to suffer this issue that nobody seems to be experiencing without letup, while everyone else installs it and has it ring without a single hitch. Google send me a message "Give it up" when last I tried to find the answer.



________________________________
From: Tom Cloyd <[email protected]>
To: ruby-talk ML <[email protected]>
Sent: Monday, July 20, 2009 8:07:11 AM
Subject: Re: ruby IDE's

Well, the question of editors is entirely different from that of IDEs. One can employ a good editor (I use jEdit, and it's excellent -also platform independent) without all the front end nonsense of an IDE. Admittedly, however, for some people an IDE may seem a good idea. But what does it really do for you? A good editor plus IDE plus a decent testing tool puts you in business with the lowest possible overhead. Why not go that direction? Simple, direct, and fast. No nonsense.

t.

Rilindo said:
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).


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

marc

Rohit said:
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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,170
Messages
2,570,924
Members
47,464
Latest member
Bobbylenly

Latest Threads

Top