Gemfile 3.84 KB
Newer Older
Sytse Sijbrandij's avatar
Sytse Sijbrandij committed
1
source "https://rubygems.org"
gitlabhq's avatar
gitlabhq committed
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

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
11
gem "rails", "3.2.13"
gitlabhq's avatar
gitlabhq committed
12

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
13
# Supported DBs
14
15
gem "mysql2", group: :mysql
gem "pg", group: :postgres
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
16
17

# Auth
18
gem "devise"
19
gem 'omniauth', "~> 1.1.3"
Florian Unglaub's avatar
Florian Unglaub committed
20
21
22
gem 'omniauth-google-oauth2'
gem 'omniauth-twitter'
gem 'omniauth-github'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
23

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
24
# Extracting information from a git repository
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
25
# Provide access to Gitlab::Git library
26
gem "gitlab_git", "~> 2.0.0.pre"
27

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
28
# Ruby/Rack Git Smart-HTTP Server Handler
29
gem 'gitlab-grack', '~> 1.0.1', require: 'grack'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
30

31
# LDAP Auth
32
gem 'gitlab_omniauth-ldap', '1.0.3', require: "omniauth-ldap"
33

34
# Syntax highlighter
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
35
gem "gitlab-pygments.rb", '~> 0.3.2', require: 'pygments.rb'
36

37
# Git Wiki
38
gem "gitlab-gollum-lib", "~> 1.0.1", require: 'gollum-lib'
39

40
# Language detection
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
41
gem "github-linguist", require: "linguist"
42

randx's avatar
randx committed
43
# API
44
45
gem "grape", "~> 0.4.1"
gem "grape-entity", "~> 0.3.0"
randx's avatar
randx committed
46
47
48

# Format dates and times
# based on human-friendly examples
49
gem "stamp"
randx's avatar
randx committed
50

Andrew8xx8's avatar
Andrew8xx8 committed
51
52
53
# Enumeration fields
gem 'enumerize'

randx's avatar
randx committed
54
# Pagination
Riyad Preukschas's avatar
Riyad Preukschas committed
55
gem "kaminari", "~> 0.14.1"
randx's avatar
randx committed
56
57

# HAML
58
gem "haml-rails"
randx's avatar
randx committed
59
60

# Files attachments
61
gem "carrierwave"
62

63
# for aws storage
64
gem "fog", "~> 1.3.1", group: :aws
randx's avatar
randx committed
65
66

# Authorization
67
gem "six"
randx's avatar
randx committed
68
69

# Seed data
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
70
gem "seed-fu"
randx's avatar
randx committed
71
72

# Markdown to HTML
Riyad Preukschas's avatar
Riyad Preukschas committed
73
gem "redcarpet",     "~> 2.2.2"
74
gem "github-markup", "~> 0.7.4", require: 'github/markup'
randx's avatar
randx committed
75

Manuel Mendez's avatar
Manuel Mendez committed
76
77
78
# Asciidoc to HTML
gem  "asciidoctor"

randx's avatar
randx committed
79
# Servers
80
81
gem "puma", '~> 2.3.1', group: :puma
gem "unicorn", '~> 4.6.3', group: :unicorn
randx's avatar
randx committed
82

Andrew8xx8's avatar
Andrew8xx8 committed
83
84
85
# State machine
gem "state_machine"

randx's avatar
randx committed
86
# Issue tags
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
87
gem "acts-as-taggable-on"
randx's avatar
randx committed
88
89

# Background jobs
Dmitriy Zaporozhets's avatar
sidekiq    
Dmitriy Zaporozhets committed
90
gem 'slim'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
91
gem 'sinatra', require: nil
92
gem 'sidekiq'
randx's avatar
randx committed
93
94

# HTTP requests
95
gem "httparty"
randx's avatar
randx committed
96
97

# Colored output to console
98
gem "colored"
randx's avatar
randx committed
99

Riyad Preukschas's avatar
Riyad Preukschas committed
100
# GitLab settings
101
gem 'settingslogic'
Aleksei Kvitinskii's avatar
Aleksei Kvitinskii committed
102

randx's avatar
randx committed
103
104
105
# Misc
gem "foreman"

106
107
108
# Cache
gem "redis-rails"

109
110
111
# Campfire integration
gem 'tinder', '~> 1.9.2'

112
113
114
# HipChat integration
gem "hipchat", "~> 0.9.0"

115
116
117
118
119
120
# d3
gem "d3_rails", "~> 3.1.4"

# underscore-rails
gem "underscore-rails", "~> 1.4.4"

121
122
123
# Sanitize user input
gem "sanitize"

gitlabhq's avatar
gitlabhq committed
124
group :assets do
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
125
126
127
  gem "sass-rails"
  gem "coffee-rails"
  gem "uglifier"
Nihad Abbasov's avatar
Nihad Abbasov committed
128
  gem "therubyracer"
129
130
  gem 'turbolinks'
  gem 'jquery-turbolinks'
131

Riyad Preukschas's avatar
Riyad Preukschas committed
132
  gem 'chosen-rails',     "0.9.8"
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
133
  gem 'select2-rails'
134
  gem 'jquery-atwho-rails', "0.3.0"
Riyad Preukschas's avatar
Riyad Preukschas committed
135
136
137
  gem "jquery-rails",     "2.1.3"
  gem "jquery-ui-rails",  "2.0.2"
  gem "modernizr",        "2.6.2"
Koen Punt's avatar
Koen Punt committed
138
  gem "raphael-rails",    git: "https://github.com/gitlabhq/raphael-rails.git"
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
139
  gem 'bootstrap-sass'
140
  gem "font-awesome-rails"
Riyad Preukschas's avatar
Riyad Preukschas committed
141
  gem "gemoji", "~> 1.2.1", require: 'emoji/railtie'
142
  gem "gon"
gitlabhq's avatar
gitlabhq committed
143
144
end

Nihad Abbasov's avatar
Nihad Abbasov committed
145
group :development do
146
  gem "annotate", git: "https://github.com/ctran/annotate_models.git"
147
  gem "letter_opener"
Riyad Preukschas's avatar
Riyad Preukschas committed
148
  gem 'quiet_assets', '~> 1.0.1'
randx's avatar
randx committed
149
  gem 'rack-mini-profiler'
150
151
152
  # Better errors handler
  gem 'better_errors'
  gem 'binding_of_caller'
153

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
154
155
  gem 'rails_best_practices'

156
157
  # Docs generator
  gem "sdoc"
158
159
160

  # thin instead webrick
  gem 'thin'
gitlabhq's avatar
gitlabhq committed
161
162
163
end

group :development, :test do
164
  gem 'coveralls', require: false
165
  gem 'rails-dev-tweaks'
166
167
168
  gem 'spinach-rails'
  gem "rspec-rails"
  gem "capybara"
Saito's avatar
Saito committed
169
  gem "pry"
170
  gem "awesome_print"
171
  gem "database_cleaner"
172
  gem "launchy"
Robert Speicher's avatar
Robert Speicher committed
173
  gem 'factory_girl_rails'
randx's avatar
randx committed
174

175
  # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
176
  gem 'minitest', '~> 4.7.0'
177

178
179
180
  # Generate Fake data
  gem "ffaker"

181
  # Guard
randx's avatar
randx committed
182
  gem 'guard-rspec'
Nihad Abbasov's avatar
Nihad Abbasov committed
183
  gem 'guard-spinach'
184
185

  # Notification
186
187
188
  gem 'rb-fsevent', require: darwin_only('rb-fsevent')
  gem 'growl',      require: darwin_only('growl')
  gem 'rb-inotify', require: linux_only('rb-inotify')
189
190

  # PhantomJS driver for Capybara
191
  gem 'poltergeist', '~> 1.3.0'
Andrew8xx8's avatar
Andrew8xx8 committed
192
193

  gem 'spork', '~> 1.0rc'
194
  gem 'jasmine'
gitlabhq's avatar
gitlabhq committed
195
196
197
end

group :test do
198
  gem "simplecov", require: false
199
  gem "shoulda-matchers", "~> 2.1.0"
200
  gem 'email_spec'
201
  gem "webmock"
Alex Denisov's avatar
Alex Denisov committed
202
  gem 'test_after_commit'
gitlabhq's avatar
gitlabhq committed
203
end
204
205

group :production do
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
206
  gem "gitlab_meta", '6.0'
207
end