Skip to content

Instantly share code, notes, and snippets.

@elight
Created April 8, 2014 22:37
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 elight/10203562 to your computer and use it in GitHub Desktop.
Save elight/10203562 to your computer and use it in GitHub Desktop.
require 'rubygems'
require 'bundler/setup'
require 'fog/rackspace'
require 'pry'
provider_config = {
:provider => 'rackspace',
:rackspace_username => ENV['RACKSPACE_USERNAME'],
:rackspace_api_key => ENV['RACKSPACE_API_KEY'],
:rackspace_region => :dfw
}
compute = Fog::Compute.new(provider_config)
binding.pry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment