On 1 Sep 2009, at 19:44, Rick DeNatale wrote:
On Tue, Sep 1, 2009 at 1:51 PM, Carl Graff<[email protected]> wrote:
Of less importance:
Actually I have considered creating/converting these integration
applications as full blown Rails applications since they definitely
have a
model and controller aspect and the Rails framework provides so many
built-in features and extensions. But I can’t find a way to run a
Rails app
without the use of a server which I really don’t need.
What's your development platform? There's really nothing special
about a server. I run personal rails apps on my laptop, in my case
under OS X, using passenger and apache, but I've done similar things
on a linux development machine before.
On OS X, the passenger preference pane makes this dead easy, and
passenger runs the rails app on demand, and shuts it down when it's
been idle.
I think the OP means he doesn't know how to run his code in the rails
app without firing up a web server.
Carl, You need to take a look at script/runner which will show you how
to do it. I personally would build my own app from a blank slate as
I'd prefer it to be less cluttered, but if you're used to running in
the rails environment, then go for it.
--
Rick DeNatale
Blog: http://talklikeaduck.denhaven2.com/
Twitter: http://twitter.com/RickDeNatale
WWR: http://www.workingwithrails.com/person/9021-rick-denatale
LinkedIn: http://www.linkedin.com/in/rickdenatale
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users