source 'https://rubygems.org'

# ruby '1.9.3' # This is the suggested version of ruby to run. Commented out because it fails if we're using Bundle < 1.2.

gem 'rails'

# We need this here so we have a recent enough version that fixes a
# proxy-related bug on asset deploys.
# (See https://github.com/fog/fog/issues/1964.)
gem 'excon'

gem 'chef'
gem 'chef-web-core', :git => 'https://github.com/chef/chef-web-core.git'
gem 'haml'
gem 'rails_config'
gem 'rake'
gem 'requirejs-rails'
gem 'sidekiq'
gem 'redis', '~> 3.0.1'
gem 'redis-rails'
gem 'hiredis', '~> 0.4.5'
gem 'redis-namespace'
gem 'em-hiredis'
gem 'em-http-request'
gem 'thin', :require => false
gem 'sentry-raven'
gem 'secure_headers'
gem 'rubyzip', :require => 'zip/zip'
gem 'savon'
gem 'kramdown'
gem 'compass-rails'
gem 'newrelic_rpm'

# Gems used only for assets and not required
# in production environments by default.
group :assets do
  gem 'asset_sync'
  gem 'coffee-rails', '~> 3.2.1'
  gem 'font-awesome-rails'
  gem 'uglifier', '>= 1.0.3'
end

# Gems used for building packages
group :build do
  gem "omnibus", :git => "https://github.com/chef/omnibus.git"
  gem "omnibus-software", :git => "https://github.com/chef/omnibus-software.git"
end

group :development, :test do
  gem 'factory_girl_rails'
  gem 'jazz_hands' # Provides pry and nice tools and colors in console
  gem 'rspec-rails', '~> 2.99'
end

group :development do
  gem 'better_errors'
  gem 'binding_of_caller'
  gem 'mailcatcher'
  gem 'quiet_assets' # Make it so asset requests aren't logged in dev
  gem 'spring' # For app preloading in development
  gem 'spring-commands-rspec'
end

group :production do
  gem 'unicorn-worker-killer', :require => false
  gem 'unicorn', :require => false
end

group :test do
  gem 'timecop' # For using dates/times in tests
end
