patching linux.rb