use node attr instead of RUBY_PLATFORM