源代码:
#!/usr/bin/ruby -w puts "Hello, Ruby!";
运行结果:
#!/usr/bin/ruby -w puts "Hello, Ruby!";