3

Is there a way i can start both faye and rails apps together in rainbows/unicorn.

Right now i'm using rainbows to start faye/private_pub app but would like to start rails also with it

Arjun Ramesh
  • 189
  • 1
  • 12

1 Answers1

4

Do you know Foreman?

With foreman you can set the commands to start your app on a single file, like this

web: bundle exec start_app_command
faye: bundle exec start_faye_command

and then, just run bundle exec foreman start and foreman will run both rails and faye

Luiz E.
  • 6,769
  • 10
  • 58
  • 98