So I want to develop ruby sites locally like I do PHP5 sites.
For PHP I use locally Apache to view and ZendPHPEclipse as my editor.
How do most of your develop non-rails ruby webs locally?
(I'll get into rails later, I want to get the basics of Ruby down
first.)
Is debugging possible?
So I want to develop ruby sites locally like I do PHP5 sites.
For PHP I use locally Apache to view and ZendPHPEclipse as my editor.
How do most of your develop non-rails ruby webs locally?
I think most people user Rails for Ruby web development. While using
Ruby without Rails to develope web apps is certainly possible, I would
not recommend it. Ruby is not like PHP in that respect - PHP was
originally designed as a perl preprocessor. Ruby is a very
comprehensive general-purpose programming language.
The RDT plugin for eclipse is pretty good. There's also RadRails,
which build on RDT and adds Railsy functionality.
(I'll get into rails later, I want to get the basics of Ruby down
first.)
That's certainly a good idea, but web development is probably not the
best way to do that.
Is debugging possible?
Yes. The debugger that ships with Ruby is slow, but there is the
ruby-debug gem, which speeds things up. It's a text-based debugger, at
the moment there are AFAIK no good free graphical debuggers available.
That said, you don't really need a graphical debugger for Ruby. I was
originally under the impression that I could not live without a
debugger, but after getting to grips with the language I have found
that it's just not necessary.
How do most of your develop non-rails ruby webs locally?
(I'll get into rails later, I want to get the basics of Ruby down
first.)
Is debugging possible?
Nitro offers a very fast startup and has cool videos that I found very
impr*ssive.
why's camping framework is all there on one page and is quite the
learning experience if you parse through it. It is one of the best
examples on how Ruby can express so much out of so little (and the site
is worth the visit just for the jokes alone)..
Hope this helps
p.s. The spam filter blocked me on impr*ssive, please replace the "*"
with an "e" for your reading pleasure..
I haven't really used it much, but you might look into erb (or eruby).
It works like php or jsp: you write html containing embedded Ruby code
(an .rhtml file), and when you pass it through erb, the code gets
executed while the .rhtml file is being processed. A standard Ruby
install comes with erb. See the PickAxe for documentation on it.
"Max Muermann" <ruby@muermann.org> wrote in message
news:b445fba40609072038i2d0613bfoaf5679ba35c3bea2@mail.gmail.com...
the moment there are AFAIK no good free graphical debuggers available.
If you have Visual Studio 2005, you can download the free version of Ruby In
Steel which has a full suite of graphical debugging tools - breakpoints,
trace into/over, drag-and-drop watch variables, locals, autos, call stack,
integrated debug-and-eval console etc.
How do most of your develop non-rails ruby webs locally?
(I'll get into rails later, I want to get the basics of Ruby down
first.)
Is debugging possible?
Nitro offers a very fast startup and has cool videos that I found very
impr*ssive.
why's camping framework is all there on one page and is quite the
learning experience if you parse through it. It is one of the best
examples on how Ruby can express so much out of so little (and the site
is worth the visit just for the jokes alone)..
Not sure what you mean by this. I'm glad this guy is chosing to learn Ruby
itself first before going into Rails. There are too many people who start
right into Rails and end up asking very simple questions because they can't
find the answers in the Rails doc. Rails takes advantage of a lot of the
dynamicism of Ruby, confusing a lot of new people (why can't I 1.seconds in
my Ruby script?).
Jason
···
On 9/11/06, James Britt <james.britt@gmail.com> wrote:
Edward wrote:
> So I want to develop ruby sites locally like I do PHP5 sites.
> For PHP I use locally Apache to view and ZendPHPEclipse as my editor.
>
> How do most of your develop non-rails ruby webs locally?
Nitro, or, for simpler stuff, Catapult.
> (I'll get into rails later, I want to get the basics of Ruby down
> first.)
There are some interesting presumptions in that statement.
--
James Britt
"The use of anthropomorphic terminology when dealing with
computing systems is a symptom of professional immaturity."
- Edsger W. Dijkstra
"Max Muermann" <ruby@muermann.org> wrote in message
news:b445fba40609072038i2d0613bfoaf5679ba35c3bea2@mail.gmail.com...
the moment there are AFAIK no good free graphical debuggers available.
If you have Visual Studio 2005, you can download the free version of
Ruby In
Steel which has a full suite of graphical debugging tools - breakpoints,
trace into/over, drag-and-drop watch variables, locals, autos, call
stack,
integrated debug-and-eval console etc.
best wishes
Huw Collingbourne
Huw, it sure would be nice if you contributed meaningfully to this list,
at least once in a while, instead of just advertising on it.
If not, we should make you put [ADV] on all your subject lines.
Huw Collingbourne wrote:
> "Max Muermann" <ruby@muermann.org> wrote in message
> news:b445fba40609072038i2d0613bfoaf5679ba35c3bea2@mail.gmail.com...
>
>> the moment there are AFAIK no good free graphical debuggers available.
>
> If you have Visual Studio 2005, you can download the free version of
> Ruby In
> Steel which has a full suite of graphical debugging tools - breakpoints,
> trace into/over, drag-and-drop watch variables, locals, autos, call
> stack,
> integrated debug-and-eval console etc.
>
> best wishes
> Huw Collingbourne
Huw, it sure would be nice if you contributed meaningfully to this list,
at least once in a while, instead of just advertising on it.
If not, we should make you put [ADV] on all your subject lines.
Jeff
I don't think that's really fair. The poster was looking for a graphical
debugger, Huw has his Visual Studio integration for ruby (which gives
you a graphical debugger) and pointed it out as an option. Huw isn't
selling anything, and he doesn't spam the list with "Ruby In Steel!!!"
either. If you really think his occasional advocacy of his (free as in
beer)
software is so bad, you can always just killfile him.
···
On Tue, Sep 12, 2006 at 04:20:36AM +0900, Jeff Cohen wrote:
I don't think that's really fair. The poster was looking for a graphical
debugger, Huw has his Visual Studio integration for ruby (which gives
I have to agree, here. While I normally despise people advertising
stuff on mailing lists, this appears to be simply an answer to the
question.
I must say, though, that it somehow just feels 'wrong' to sell tools
that help with open source projects. (Like Ruby.) Even if there's a
'free version'. I fully realize that good software is hard to write and
people must eat and all that... It just doesn't feel right to me.
I don't think that's really fair. The poster was looking for a graphical
debugger, Huw has his Visual Studio integration for ruby (which gives
you a graphical debugger) and pointed it out as an option.
Point taken, Logan. It's just that the only posts I've *ever* seen from
Huw are links to his product. I think he *is* selling something, it
happens to be a Ruby tool.
I'm not at all against occasional advocacy at all - in fact it's one of
the good things about this kind of list, I've found good resources
through it and people have come to my blog through it, too. But I just
think there's a difference between being a *part* of the community (like
I know you are), and simply *using* the community.
But if I sounded too harsh in my previous email, I do apologize.
I thought some people felt this way. I don't understand it. Is it OK to make your living using open source languages but not to make your living supporting open source languages? Surely those doing the latter are potentially helping those doing the former?
Paying for a commercial tool such as Ruby In Steel is simply paying for a tool that makes you more productive at your work. That is no different to choosing a Mac to do your work rather than buying a bare bones PC and installing Linux on it, or buying a stainless steel spade to dig a garden. Those that choose the Mac think it will make them more productive than the Windows/Linux option. The Mac is a proprietary box with a lot of, but not all, open source software.
Finally, if you want to get the mythical "pointy haired boss" that works for Big Enterprise Inc. to sign up for Ruby and/or RoR they are going to want to see commercial tool support.
Stephen
I'm reliably informed that stainless steel spades are a lot easier to use than ordinary ones. Thus, more productive.
···
In message <65575f74e803e4136a0615c07a7a6504@ruby-forum.com>, William Crawford <wccrawford@gmail.com> writes
'free version'. I fully realize that good software is hard to write and
people must eat and all that... It just doesn't feel right to me.
--
Stephen Kellett
Object Media Limited http://www.objmedia.demon.co.uk/software.html
Computer Consultancy, Software Development
Windows C++, Java, Assembler, Performance Analysis, Troubleshooting
I thought some people felt this way. I don't understand it. Is it OK to
make your living using open source languages but not to make your living
supporting open source languages? Surely those doing the latter are
potentially helping those doing the former?
I think it's simply an idealism problem. There's nothing logically
wrong with it, I just never felt it was 'right'. If I could put it in
words better, I would.