gsmedley / thin_service

Run Thin Web Server as a Windows service
Other
12 stars 4 forks source link

Check possibility of use Command Line #3

Open eduardobarbiero opened 9 years ago

eduardobarbiero commented 9 years ago

I'm currently using a gem called Sinatra, where I am developing a small microserver upon that platform.

Example: ruby import_contact.rb -e production

By default it uses the gem as thin server.

It would be interesting to use this tool thin_service to run this application server, keeping in mind that I use for other applications, and works great!

Thanks for attention!

kanayo commented 9 years ago

Hi,

You can use it to run a rake task as a service, could you make it work that way?

These days I use the NSSM (http://www.nssm.cc/) to run my ruby services

-- Garth

eduardobarbiero commented 9 years ago

Hello kanayo, thanks for answer!

You could detail the palaces for running a .rb file?

Thank right now!