On Feb 24, 9:24 pm, david2 <[email protected]> wrote: > I went through and installed Passenger, says its started in the log. > If I try to load a file from the webserver with extension .rb or .erb, > I get the text file without having been processed by Ruby. Should this > work? What else do I need to do to get a ruby template file to work? >
Passenger is designed to run rack applications, these must be laid out on disk in a certain way ( http://www.modrails.com/documentation/Users%20guide.html#_deploying_a_rack_based_ruby_application ). This can be something very small - a sinatra app can be tiny! Fred > Thanks > > On Feb 24, 3:44 pm, ben wiseley <[email protected]> wrote: > > > > > I think the closest thing there is to what you're looking for is mod_rails > > (aka Passenger) http://www.modrails.com/ > > > Good install > > directions:http://www.robbyonrails.com/articles/2010/02/08/installing-ruby-on-ra... > > > On Wed, Feb 24, 2010 at 11:47 AM, david2 <[email protected]> wrote: > > > I'm trying to ease into Ruby and Rails. > > > Is it possible to simply load a Ruby template file similar to the way > > > I load a PHP file? > > > The Mac built in Apache web server is preconfigured to support PHP, > > > but I can't find out how to get it to support Ruby. Is there a simple > > > way to add Ruby support? > > > Can I even use Ruby this way without building a whole Rails app? > > > Is there a better place to ask? > > > > Thanks > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "Ruby on Rails: Talk" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<rubyonrails-talk%2Bunsubscrib > > > [email protected]> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/rubyonrails-talk?hl=en. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

