Adapting rails install script for debian