source 'https://rubygems.org'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.2.0'

# Use sqlite3 as the database for Active Record
# gem 'sqlite3'

# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'

# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'

# Use CoffeeScript for .js.coffee assets and views
gem 'coffee-rails', '~> 4.1.0'

# See https://github.com/sstephenson/execjs#readme for more supported runtimes
gem 'therubyracer', platforms: :ruby

# Use jquery as the JavaScript library
gem 'jquery-rails'

# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
# Funky side-effects - so we better not use Turbolinks
#gem 'turbolinks'

# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.0'

group :doc do
  # bundle exec rake doc:rails generates the API under doc/api.
  gem 'sdoc', '~> 0.4.0'
end

# Use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'

# Use unicorn as the app server
# gem 'unicorn'

# Use Capistrano for deployment
# gem 'capistrano', group: :development

# Use debugger
#gem 'debugger', group: [:development, :test]

# PostgreSQL support
gem 'pg'

group :development do
  gem "better_errors"
  gem "binding_of_caller"

  gem "rails-erd"

  # Call 'byebug' anywhere in the code to stop execution and get a debugger console
  gem 'byebug'

  # Access an IRB console on exception pages or by using <%= console %> in views
  gem 'web-console', '~> 2.0'

  # Chrome Rails debugging app
  #gem 'meta_request'
end

group :development, :test do
  # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
  gem 'spring'

  # Helps run tests automatically after changes
  # TODO: not sure all these packages are required (http://buildingrails.com/a/rails_automated_testing_setup_for_beginners)
  gem 'guard-rails'
  gem 'minitest-rails'
  gem 'guard-minitest'
  gem 'minitest-reporters'
end

# Zurb Foundation
# https://github.com/zurb/foundation-rails
gem 'foundation-rails', '~> 6.2'

# Pagination
gem 'will_paginate'

# Style the paginator properly to use Zurb Foundation's style
# https://github.com/acrogenesis/will_paginate-foundation
# (Does not support Foundation 6 yet.)
#gem 'will_paginate-foundation'

# Lightbox image viewer for full-sized images
gem 'fancybox2-rails', '~> 0.2.8'

# Trying pg_search for full-text search… too slow with ranking… screw PostgreSQL
gem 'pg_search'

# Use SLIM as our templating language
gem 'slim-rails'

# Attachment/image handling
gem "paperclip", "~> 4.2"

# Comply with stupid european cookie law
gem 'cookies_eu'

# Requires: apt-get install libbz2-dev
gem 'bzip2-ruby', :git => 'https://github.com/chewi/bzip2-ruby.git'

# Authentication
gem 'devise'
