install.sh improved and bug fixes

- ruby installation corrected
- linux package load handling changed