Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions contract-tests/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,17 @@ source 'https://rubygems.org'

gem 'launchdarkly-server-sdk', path: '..'

gem 'sinatra', '~> 2.1'
# Sinatra can work with several server frameworks. In JRuby, we have to use glassfish (which
# is only available in JRuby). Otherwise we use thin (which is not available in JRuby).
gem 'glassfish', :platforms => :jruby
gem 'http', '~> 5.1'
gem 'json'
gem "puma", "~> 6.6"
gem "rackup", "~> 2.2"
gem 'sinatra', '>= 4.1'

gem 'rubocop', '~> 1.37', group: 'development'
gem 'rubocop-performance', '~> 1.15', group: 'development'
gem 'thin', :platforms => :ruby

gem "redis", "~> 5.3"
gem "connection_pool", "~> 2.4"
gem "redis", "~> 5.3"

gem "diplomat", "~> 2.6"

Expand Down
1 change: 1 addition & 0 deletions lib/ldclient-rb/impl/integrations/consul_impl.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module Consul
class ConsulFeatureStoreCore
begin
require "diplomat"
require "ostruct"
CONSUL_ENABLED = true
rescue ScriptError, StandardError
CONSUL_ENABLED = false
Expand Down