bin/console in rancher-api-beta-0.8.0.pre.beta vs bin/console in rancher-api-beta-0.8.1
- old
+ new
@@ -6,12 +6,12 @@
# You can add fixtures and/or initialization code here to make experimenting
# with your gem easier. You can also use a different console, if you like.
Rancher::Api.configure do |config|
- config.url = RANCHER_URL
- config.access_key = RANCHER_ACCESS_KEY
- config.secret_key = RANCHER_SECRET_KEY
+ config.url = ENV['RANCHER_URL']
+ config.access_key = ENV['RANCHER_ACCESS_KEY']
+ config.secret_key = ENV['RANCHER_SECRET_KEY']
end
# (If you use this, don't forget to add pry to your Gemfile!)
require 'pry'
Pry.start