ruby: write operating_system.rb in post_install