Created
September 14, 2017 07:46
-
-
Save mkarklins/1686af1636b54c4ceceaccde2d247e61 to your computer and use it in GitHub Desktop.
Failing Diplomat
This file contains 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
begin | |
require "bundler/inline" | |
rescue LoadError => e | |
$stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler" | |
raise e | |
end | |
gemfile(true) do | |
source "https://rubygems.org" | |
gem "diplomat", "2.0.2" | |
gem "json", "1.8.6" | |
end | |
require "diplomat" | |
Diplomat.configure do |config| | |
config.url = "http://localhost:8500" | |
end | |
Diplomat::Status.leader |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment