Skip to content

Instantly share code, notes, and snippets.

@treble37
Created September 4, 2012 21:12
Show Gist options
  • Save treble37/3626574 to your computer and use it in GitHub Desktop.
Save treble37/3626574 to your computer and use it in GitHub Desktop.
Trying to use curb in a ruby script....
#!/home/bruce/.rvm/rubies/ruby-1.9.3-p194/bin/ruby
require 'rubygems'
require 'cgi'
require 'net/http'
require 'curb'
RubyGems Environment:
- RUBYGEMS VERSION: 1.8.24
- RUBY VERSION: 1.9.3 (2012-04-20 patchlevel 194) [i686-linux]
- INSTALLATION DIRECTORY: /home/bruce/.rvm/gems/ruby-1.9.3-p194@rsoc326
- RUBY EXECUTABLE: /home/bruce/.rvm/rubies/ruby-1.9.3-p194/bin/ruby
- EXECUTABLE DIRECTORY: /home/bruce/.rvm/gems/ruby-1.9.3-p194@rsoc326/bin
- RUBYGEMS PLATFORMS:
- ruby
- x86-linux
- GEM PATHS:
- /home/bruce/.rvm/gems/ruby-1.9.3-p194@rsoc326
- /home/bruce/.rvm/gems/ruby-1.9.3-p194@global
- GEM CONFIGURATION:
- :update_sources => true
- :verbose => true
- :benchmark => false
- :backtrace => false
- :bulk_threshold => 1000
- REMOTE SOURCES:
- http://rubygems.org/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment