# Gemfile for health_test testing

source 'https://rubygems.org'

ruby RUBY_VERSION < '1.9.3' ? '1.9.3' : RUBY_VERSION

gem 'rails', "~> 4.1.0"
gem 'rake', '>= 0.8.3'
gem "rack", '~> 1.5.2'

group :development, :test do
  if defined?(JRUBY_VERSION)
    gem 'jruby-openssl'
    gem 'activerecord-jdbcsqlite3-adapter'
  else
    gem 'sqlite3', "~> 1.3.7"
  end
  gem 'shoulda'

  # redis based checks
  gem 'sidekiq', :require => !ENV['SIDEKIQ'].nil?
  gem 'redis', :require => !ENV['REDIS_URL'].nil?
  gem 'resque', :require => !ENV['RESQUE'].nil?
  # s3 check
  gem 'aws-sdk', :require => !ENV['AWS_ACCESS_KEY_ID'].nil?
end

# Initial Gemfile has therubyracer commented out
gem 'therubyrhino', :platform => :jruby # REQUIRED
gem 'therubyracer', :platform => :ruby # REQUIRED
# mime-types 2.0 requires Ruby version >= 1.9.2
# mime-types 3.0 requires Ruby version >= 2.0
gem 'mime-types', defined?(JRUBY_VERSION) || RUBY_VERSION < '2.0' ? '< 3' : '>= 3.0' # REQUIRED
