Gemfile 3.77 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
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
18
gem "devise", '~> 2.2'
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.1.1'
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"

79
# Application server
80
gem "unicorn", '~> 4.6.3', group: :unicorn
randx's avatar
randx committed
81

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

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

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

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

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

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

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

105
106
107
# Cache
gem "redis-rails"

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

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

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

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

120
121
122
# Sanitize user input
gem "sanitize"

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

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

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

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

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

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

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

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

177
178
179
  # Generate Fake data
  gem "ffaker"

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

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

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

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

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

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