Skip to content

Instantly share code, notes, and snippets.

@elcontrastador
Created November 28, 2011 01:40
Show Gist options
  • Save elcontrastador/1398737 to your computer and use it in GitHub Desktop.
Save elcontrastador/1398737 to your computer and use it in GitHub Desktop.
begin
raise if RUBY_VERSION.to_f < 1.9
rescue Exception
errmsg =<<-ERRMSG
NetConfig requires ruby 1.9 or greater to run. Please upgrade your ruby
installation.
ERRMSG
exit 1
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment