I'm looking for a text editor to save ".rb" files, but I can't find any programs out there that are free... Most are 30 day trials.<p>Is ruby installer suppose to come with a text editor program?<p>Apologies I'm just starting to code and a bit unfamiliar with how to go about this.
From Zed Shaw's "Learn Python the Hard Way":<p>>If a programmer tells you to use vim or emacs, tell them no. These editors are for when you are a better programmer. All you need right now is an editor that lets you put text into a file. We will use gedit because it is simple and the same on all computers. Professional programmers use gedit so it's good enough for you starting out.
Any text editor will be able to save .rb files; they're just plain text files. Also, you didn't say which OS you're on, but assuming you're on Windows, notepad++ is a good free editor.<p><a href="http://notepad-plus-plus.org/" rel="nofollow">http://notepad-plus-plus.org/</a>
You should try <a href="http://sublimetext.com" rel="nofollow">http://sublimetext.com</a><p>It's sort of like textmate but also cross-platform, so in theory you won't have to learn another editor. I'd learn it myself if I wasn't already used to textmate.
You might as well skip past all the toys and get Emacs and start on the lifelong journey of understanding it. Vim might be worth looking at too, but it's not my cup of tea.
Since you said installer I might assume use of windows, take a look at notepad++ (<a href="http://notepad-plus-plus.org/" rel="nofollow">http://notepad-plus-plus.org/</a>)<p>OS x or linux check out gedit. (<a href="http://projects.gnome.org/gedit/" rel="nofollow">http://projects.gnome.org/gedit/</a> Downloads on right side of front page.) Also available for windows, but notepad++ is a little easier to use if you are used to windows programs.
it looks like you could use most any text editor. most os's have a default text editor.<p>if you want a ruby IDE, try redcar - <a href="http://www.redcareditor.com" rel="nofollow">http://www.redcareditor.com</a>.
On my Ubuntu netbook, I love GEdit <a href="http://grigio.org/pimp_my_gedit_was_textmate_linux" rel="nofollow">http://grigio.org/pimp_my_gedit_was_textmate_linux</a>
My setup on Ubuntu is as follows. I use a drop down terminal called Yakuake. It drops down from the top of my screen when I press F12. From there I can create a ruby document by typing<p>vim example.rb<p>You don't have to use or learn all of vims features straight away. I probably use 1% of it but I like it. :w to save, :wq to save and quit.
I mostly use TextMate (OS X) and GEdit (on Linux), but perhaps 1/4 of the time I use RubyMine because autocompletion and immediate flagging of syntax errors can help.