From: John Gabriele Date: 2006-09-12T00:57:58+09:00 Subject: Re: what is the best non-rails web/ruby development environment for windows? On 9/7/06, 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? 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. erb: Comes with Ruby, written in Ruby. eruby: Written in C (http://www.modruby.net/en/index.rbx/eruby/whatis.html). ---John