forked from HornsAndHooves/pg_saurus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
50 lines (40 loc) · 1.28 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
38
39
40
41
42
43
44
45
46
47
48
49
50
source "https://rubygems.org"
# To test against different rails versions with TravisCI
rails_version = '~> 4.2'
# NOTE: This is a Gemfile for a gem.
# Using 'platforms' is contraindicated because they won't make it into
# the gemspec correctly.
version2x = (RUBY_VERSION =~ /^2\.\d/)
version19 = (RUBY_VERSION =~ /^1\.9/)
version18 = (RUBY_VERSION =~ /^1\.8/)
gem 'pg', '~> 0.18.1'
gem 'rails', rails_version
group :development do
gem 'rspec-rails'
# code metrics:
gem 'rcov' if version18
gem 'yard'
gem 'metrical' , :require => false if version18
gem 'metric_fu', :require => false unless version18
gem 'jeweler' , :require => false
unless ENV["RM_INFO"]
# RubyMine internal debugger conflicts with ruby-debug.
# So, require it only when it's run outside of RubyMine:
gem "ruby-debug" if version18
gem "ruby-debug19" if version19
# debugger does not support Ruby 2.x:
# ref: https://github.com/cldwalker/debugger/issues/125#issuecomment-43353446
gem "byebug" if version2x
end
end
group :development, :test do
gem "pry"
gem "pry-byebug"
end
group :test do
# Only load simplecov for Ruby 1.9+, use rcov above for 1.8.
unless version18
gem 'simplecov' , :require => false
gem 'simplecov-rcov-text', :require => false
end
end