Skip to content

Instantly share code, notes, and snippets.

@nmerouze
Created September 7, 2008 09:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nmerouze/9250 to your computer and use it in GitHub Desktop.
Save nmerouze/9250 to your computer and use it in GitHub Desktop.
# simple.red
Ruby.puts "Hello World!"
#!/usr/bin/env ruby
require 'rubygems'
require 'red'
require 'red/executable'
Red.compile_red_to_js(ARGV.last)
require 'johnson'
Johnson.load(File.dirname(__FILE__) + "/#{ARGV.last}.js")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment