Created
October 3, 2012 22:30
-
-
Save lancelakey/3830308 to your computer and use it in GitHub Desktop.
Ruby put ruby version and loadpath
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| puts RUBY_VERSION | |
| # puts the ruby load path | |
| puts $: | |
| Object.constants.sort.each {|c| cv=Object.const_get(c); print c, "=", cv, "\n" unless Module === cv} |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
!/usr/bin/env ruby
require 'openssl'
require 'zlib'
require 'readline'
require 'yaml'
puts "Success"