I am working on an application to help ease some of the command line stuff for ruby on rails while i learn it. I have the app starting and stopping apache as well as MySql. What i am having trouble with is starting mongrel. I would like to start this with the push of a button similar to how instantrails does, but i want it to start silently so the cmd prompt isn't seen. I want this as i don't want to have to run my app along with instantrails. i would like to do it with one app. I would really appreciate any help anyone can offer on this as i don't know much about mongrel at this point and do not see an exe file like i do with apache and mysql. Here is the link to the mongrel website http://mongrel.rubyforge.org/ and instantrails is here http://instantrails.rubyforge.org/wiki/wiki.pl
clarkkent
0
Newbie Poster
Recommended Answers
Jump to PostAre you trying to start it as a service ?
Have you tried using a shell command "net start mongrel_service" or use a ServiceController component to launch it ?// Jerry
Jump to PostI have no experience with Mongrel, however I write Windows Service programs in C#.
When a Windows service is installed, it registers a Service Name (as declared in the installed service application). From that point on, you call upon the service using its registered name. In this case, the …
All 5 Replies
JerryShaw
46
Posting Pro in Training
clarkkent
0
Newbie Poster
JerryShaw
46
Posting Pro in Training
clarkkent
0
Newbie Poster
JerryShaw
46
Posting Pro in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.