KatanaCode/blogit-admin

View on GitHub
Gemfile

Summary

Maintainability
Test Coverage
source "http://rubygems.org"

# Declare your gem's dependencies in blogit.gemspec.
# Bundler will treat runtime dependencies like base dependencies, and
# development dependencies will be added by default to the :development group.
gemspec

rails_version = ENV["RAILS_VERSION"] || "default"

rails = case rails_version
when "master"
  {github: "rails/rails"}
when "default"
  ">= 4.0.3"
else
  "~> #{rails_version}"
end

gem "rails", rails

# If we're using Rails 3 - include the
# strong_parameters gem. Otherwise, it should be inluded as part of Rails 4
if rails_version[0] == '3'
  gem 'strong_parameters'
end

# Removing this seems to break the Travis-CI flow.
# The rake task "app:acts_as_taggable_on_engine:install:migrations" doesn't work
# without it here
gem 'acts-as-taggable-on'