Update platform.rb