I’m looking for a free windows editor for programming in ruby. It
should at least support syntax highlightening.
Thanks
PS: I posted already (got no answer yet) for a friend who tries to get
the gd-library-functions to work with ruby. Is there something special
to know about? He already managed to get it to work with perl and php.
I’m looking for a free windows editor for programming in ruby. It
should at least support syntax highlightening.
Thanks
PS: I posted already (got no answer yet) for a friend who tries to get
the gd-library-functions to work with ruby. Is there something special
to know about? He already managed to get it to work with perl and php.
SvT
Hi,
your might like to try ‘Syn’
http://syn.sourceforge.net/
It come with syntax highlighting (for Ruby, too) can can be configured
to run your programs, to create RDocs and to run, say, your unit tests
quite easily (You DO write unit tests, do you
I’m looking for a free windows editor for programming in ruby. It
should at least support syntax highlightening.
Thanks
PS: I posted already (got no answer yet) for a friend who tries to get
the gd-library-functions to work with ruby. Is there something special
to know about? He already managed to get it to work with perl and php.
for mswin didn’t see one, but most probably the mingw would work with
the mswin install(but I could be wrong), just unpack the GD.so to the
right dir i.e. ruby/lib/1.8/i386-msvcrt , the i386-msvcrt could be
different on mswin install, just look where the other *.so are.
for mswin didn’t see one, but most probably the mingw would work with
the mswin install(but I could be wrong), just unpack the GD.so to the
right dir i.e. ruby/lib/1.8/i386-msvcrt , the i386-msvcrt could be
different on mswin install, just look where the other *.so are.
for mswin didn’t see one, but most probably the mingw would work with
the mswin install(but I could be wrong), just unpack the GD.so to the
right dir i.e. ruby/lib/1.8/i386-msvcrt , the i386-msvcrt could be
different on mswin install, just look where the other *.so are.
He inserted GD.so in C:\ruby\lib\ruby\1.8\i386-mswin32 and run his
Script again… here the error:
ms-win32?, the pragprog doesn’t create a /*mswin but /*msvcrt? or is a
newer version? or is he using other windows binary?
test.rb:62: undefined method `colorAllocate’ for
#GD::Image:(100x100) (NoMethodError)
Strange, isn’t it?
Thx
SvT
I Installed the ruby-180-10, just to check it out and using the example.rb:
require ‘GD’
im=GD::Image.new(100,100)
white = im.colorAllocate(255,255,255)
black = im.colorAllocate(0,0,0)
red = im.colorAllocate(255,0,0)
blue = im.colorAllocate(0,0,255)
im.transparent(white)
im.interlace = true
Put a black frame around the picture
im.rectangle(0,0,99,99,black)
Draw a blue oval
im.arc(50,50,95,75,0,360,blue)
And fill it with red
im.fill(50,50,red)
Convert the image to PNG and print it on standard output
file=File.new(“test.png”,“wb”)
im.png(file)
I get the test.png ok!, both with the mingw install and the
mswin(pragprog), mmmh… is other mswin install, self compiled?
run the line require ‘GD’ does it gives an error by itself?
Adartse
smoking kills, living kills, but I like both.
-----Original Message-----
From: Safran von Twesla [mailto:me@privacy.net]
Sent: Tuesday, January 27, 2004 11:00 AM
To: ruby-talk ML
Subject: Re: Editor
On Wed, 28 Jan 2004 00:14:35 +0900, “Zach Dennis” zdennis@mktec.com wrote:
It looks nice, but it doesn’t seem to support code folding, nor does it have
syntax coloring for numbers.
Otherwise, it looks nice, and the latest version seemed to handle Ruby
coloring just fine (though it was a bit confusing because Ruby wasn’t listed
in the “Syntax Type” list). I didn’t have to download the special Ruby
Syntax Coloring file you linked to; it was already there when you install
3.60.
Crimson looks like a less-mature version of textpad (textpad.com).
I use textpad when I have to use windows, its what Codewrite used
to be, until it bloated beyond all belief.
If it’s a “Codewrite like” editor you want (ie project workspace
management, integrated version control, scripting, class browsing,
intellisensing etc) but without the bloat then you might want to
take a look at zeus.
It looks nice, but it doesn’t seem to support code folding, nor
does it have
syntax coloring for numbers.
Otherwise, it looks nice, and the latest version seemed to handle Ruby
coloring just fine (though it was a bit confusing because Ruby
wasn’t listed
in the “Syntax Type” list). I didn’t have to download the special Ruby
Syntax Coloring file you linked to; it was already there when you install
3.60.
FreeRIDE is supports syntax highlighting, code folding, and has a
source-code navigation tree (show/navigate by module, class, method):
http://freeride.rubyforge.org
FreeRIDE is written in Ruby, and also has a visual debugger. Unfortunately,
the debugger only works under linux at the moment (I still need to find
extra time to find and fix the debugger problem under windows).