-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
37 lines (31 loc) · 1.92 KB
/
Gemfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
source "https://rubygems.org"
# Declare any dependencies that are still in development here instead of in
# your gemspec. These might include edge Rails or gems from your path or
# Git. Remember to move these dependencies to your gemspec before releasing
# your gem to rubygems.org.
# To use debugger
# gem 'debugger'
current_branch = `git rev-parse --abbrev-ref HEAD`.strip
current_branch = ENV['TRAVIS_BRANCH'] if current_branch == 'HEAD'
use_branch = ['master', 'qa', 'develop'].include?(current_branch) ? current_branch : 'develop'
puts "TransAM engines using branch: #{use_branch}"
gem 'transam_core', git: 'https://github.com/camsys/transam_core', branch: use_branch
gem 'transam_reporting', git: 'https://github.com/camsys/transam_reporting', branch: use_branch
gem 'transam_transit', git: 'https://github.com/camsys/transam_transit', branch: use_branch
gem 'mysql2', '~> 0.5.1' # lock gem for dummy app
gem "capybara", '2.6.2' # lock gem for old capybara behavior on hidden element xpath
gem 'rails-controller-testing' # assigns has been extracted to this gem
# This gem allows us to share githooks. Githooks in the .hooks folder can be checked
# in, and when "bundle install" is run this gem automatically creates symlinks into
# your local .git/hooks. If you have pre-existing hooks in .git/hooks, it will move
# them to .git/hooks/old and you can move them back at your leisure. Any hooks
# checked in to .hooks will be shared among the team. If you need to re-generate
# the symlinks,you can use 'bundle exec git-hookshot'
# add group not to run on travis because git-hookshot gem seems to have issues on travis
group :not_travis do
gem "git-hookshot", git: 'https://github.com/brandonweiss/git-hookshot', branch: :master
end
# Declare your gem's dependencies in transam_accounting.gemspec.
# Bundler will treat runtime dependencies like base dependencies, and
# development dependencies will be added by default to the :development group.
gemspec