Gemfile 3.7 KB
Newer Older
S
Saito 已提交
1
source "http://rubygems.org"
G
gitlabhq 已提交
2

3 4 5 6 7 8 9 10
def darwin_only(require_as)
  RUBY_PLATFORM.include?('darwin') && require_as
end

def linux_only(require_as)
  RUBY_PLATFORM.include?('linux') && require_as
end

D
Dmitriy Zaporozhets 已提交
11
gem "rails", "3.2.12"
G
gitlabhq 已提交
12

D
Dmitriy Zaporozhets 已提交
13
# Supported DBs
14 15
gem "mysql2", group: :mysql
gem "pg", group: :postgres
D
Dmitriy Zaporozhets 已提交
16 17

# Auth
N
Nihad Abbasov 已提交
18
gem "devise", "~> 2.1.0"
R
Riyad Preukschas 已提交
19
gem 'omniauth', "~> 1.1.1"
F
Florian Unglaub 已提交
20 21 22
gem 'omniauth-google-oauth2'
gem 'omniauth-twitter'
gem 'omniauth-github'
D
Dmitriy Zaporozhets 已提交
23 24

# GITLAB patched libs
25 26
gem "grit",          git: "https://github.com/gitlabhq/grit.git",           ref: '7f35cb98ff17d534a07e3ce6ec3d580f67402837'
gem 'grack',         git: "https://github.com/gitlabhq/grack.git",          ref: 'ba46f3b0845c6a09d488ae6abdce6ede37e227e8'
27
gem 'grit_ext',      git: "https://github.com/gitlabhq/grit_ext.git",       ref: '8e6afc2da821354774aa4d1ee8a1aa2082f84a3e'
D
Dmitriy Zaporozhets 已提交
28

29 30 31
# LDAP Auth
gem 'gitlab_omniauth-ldap', '1.0.2', require: "omniauth-ldap"

32 33 34
# Dump db to yml file. Mostly used to migrate from sqlite to mysql
gem 'gitlab_yaml_db', '1.0.0', require: "yaml_db"

V
Valeriy Sizov 已提交
35
# Syntax highlighter
R
Riyad Preukschas 已提交
36
gem "pygments.rb",  git: "https://github.com/gitlabhq/pygments.rb.git", branch: "master"
V
Valeriy Sizov 已提交
37 38

# Language detection
39
gem "github-linguist", "~> 2.3.4" , require: "linguist"
V
Valeriy Sizov 已提交
40

R
randx 已提交
41
# API
42
gem "grape", "~> 0.2.1"
R
randx 已提交
43 44 45

# Format dates and times
# based on human-friendly examples
S
Saito 已提交
46
gem "stamp"
R
randx 已提交
47 48

# Pagination
R
Riyad Preukschas 已提交
49
gem "kaminari", "~> 0.14.1"
R
randx 已提交
50 51

# HAML
R
Riyad Preukschas 已提交
52
gem "haml-rails", "~> 0.3.5"
R
randx 已提交
53 54

# Files attachments
R
Riyad Preukschas 已提交
55
gem "carrierwave", "~> 0.7.1"
R
randx 已提交
56 57

# Authorization
S
Saito 已提交
58
gem "six"
R
randx 已提交
59 60

# Generate Fake data
N
Nihad Abbasov 已提交
61
gem "ffaker"
R
randx 已提交
62 63

# Seed data
D
Dmitriy Zaporozhets 已提交
64
gem "seed-fu"
R
randx 已提交
65 66

# Markdown to HTML
R
Riyad Preukschas 已提交
67
gem "redcarpet",     "~> 2.2.2"
68
gem "github-markup", "~> 0.7.4", require: 'github/markup'
R
randx 已提交
69 70

# Servers
R
Riyad Preukschas 已提交
71
gem "unicorn", "~> 4.4.0"
R
randx 已提交
72 73

# Issue tags
R
Riyad Preukschas 已提交
74
gem "acts-as-taggable-on", "2.3.3"
R
randx 已提交
75 76

# Decorators
R
Riyad Preukschas 已提交
77
gem "draper", "~> 0.18.0"
R
randx 已提交
78 79

# Background jobs
D
sidekiq  
Dmitriy Zaporozhets 已提交
80 81 82
gem 'slim'
gem 'sinatra', :require => nil
gem 'sidekiq', '2.6.4'
R
randx 已提交
83 84

# HTTP requests
A
Ariejan de Vroom 已提交
85
gem "httparty"
R
randx 已提交
86 87

# Colored output to console
88
gem "colored"
R
randx 已提交
89

R
Riyad Preukschas 已提交
90
# GitLab settings
91
gem 'settingslogic'
A
Aleksei Kvitinskii 已提交
92

R
randx 已提交
93 94 95 96
# Misc
gem "foreman"
gem "git"

G
gitlabhq 已提交
97
group :assets do
R
Riyad Preukschas 已提交
98 99 100
  gem "sass-rails",   "~> 3.2.5"
  gem "coffee-rails", "~> 3.2.2"
  gem "uglifier",     "~> 1.3.0"
N
Nihad Abbasov 已提交
101
  gem "therubyracer"
N
Nihad Abbasov 已提交
102

R
Riyad Preukschas 已提交
103
  gem 'chosen-rails',     "0.9.8"
R
Riyad Preukschas 已提交
104
  gem 'jquery-atwho-rails', "0.1.7"
R
Riyad Preukschas 已提交
105 106 107
  gem "jquery-rails",     "2.1.3"
  gem "jquery-ui-rails",  "2.0.2"
  gem "modernizr",        "2.6.2"
K
Koen Punt 已提交
108
  gem "raphael-rails",    git: "https://github.com/gitlabhq/raphael-rails.git"
D
Dmitriy Zaporozhets 已提交
109
  gem 'bootstrap-sass',   "2.2.1.1"
110
  gem "font-awesome-sass-rails", "~> 3.0.0"
R
Riyad Preukschas 已提交
111
  gem "gemoji", "~> 1.2.1", require: 'emoji/railtie'
G
gitlabhq 已提交
112 113
end

N
Nihad Abbasov 已提交
114
group :development do
115
  gem "annotate", git: "https://github.com/ctran/annotate_models.git"
116
  gem "letter_opener"
R
Riyad Preukschas 已提交
117
  gem 'quiet_assets', '~> 1.0.1'
R
randx 已提交
118
  gem 'rack-mini-profiler'
119 120 121
  # Better errors handler
  gem 'better_errors'
  gem 'binding_of_caller'
122

D
Dmitriy Zaporozhets 已提交
123 124
  gem 'rails_best_practices'

125 126
  # Docs generator
  gem "sdoc"
127 128 129

  # thin instead webrick
  gem 'thin'
G
gitlabhq 已提交
130 131 132
end

group :development, :test do
133
  gem 'rails-dev-tweaks'
N
Nihad Abbasov 已提交
134
  gem 'spinach-rails'
S
Saito 已提交
135 136
  gem "rspec-rails"
  gem "capybara"
S
Saito 已提交
137
  gem "pry"
S
Saito 已提交
138
  gem "awesome_print"
139
  gem "database_cleaner", ref: "f89c34300e114be99532f14c115b2799a3380ac6", git: "https://github.com/bmabey/database_cleaner.git"
S
Saito 已提交
140
  gem "launchy"
R
Robert Speicher 已提交
141
  gem 'factory_girl_rails'
R
randx 已提交
142

143
  # Guard
R
randx 已提交
144
  gem 'guard-rspec'
N
Nihad Abbasov 已提交
145
  gem 'guard-spinach'
146 147

  # Notification
148 149 150
  gem 'rb-fsevent', require: darwin_only('rb-fsevent')
  gem 'growl',      require: darwin_only('growl')
  gem 'rb-inotify', require: linux_only('rb-inotify')
151 152

  # PhantomJS driver for Capybara
153
  gem 'poltergeist', git: 'https://github.com/jonleighton/poltergeist.git', ref: '5c2e092001074a8cf09f332d3714e9ba150bc8ca'
G
gitlabhq 已提交
154 155 156
end

group :test do
157
  gem "simplecov", require: false
R
Riyad Preukschas 已提交
158
  gem "shoulda-matchers", "1.3.0"
159
  gem 'email_spec'
160
  gem "webmock"
A
Alex Denisov 已提交
161
  gem 'test_after_commit'
G
gitlabhq 已提交
162
end
163 164

group :production do
D
Dmitriy Zaporozhets 已提交
165
  gem "gitlab_meta", '5.0'
166
end