Start WebSocket Server with Rails initializer
I have a small ruby script which starts a websocket server. I saved the .rb file in config/initializers/ folder and it starts up and works fine.
But the ws script seems to block the startup of webrick. If I kill it with ctrl+c webrick starts up ... 

So the question is:
How can I start the websocket server and rails together when loading the application?

thx in adavance 
Start WebSocket Server with Rails initializer
===

I have a small ruby script which starts a websocket server. I saved the .rb file in config/initializers/ folder and it starts up and works fine.
But the ws script seems to block the startup of webrick. If I kill it with ctrl+c webrick starts up ... 

So the question is:
How can I start the websocket server and rails together when loading the application?

thx in adavance 