How Create New Parameter set at Startup?

I would like to be able to set a paramter during start up like:

ruby script\server -nodename testNode_1

... and would like to have access to this setting from models and/or controllers.

Can someone point me in the right direction to get this working?

Regards