Gemfile 3.73 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

13
# Supported DBs
14 15
gem "mysql2", group: :mysql
gem "pg", group: :postgres
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'
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', '~> 1.3.0'
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
35
gem "gitlab-pygments.rb", '~> 0.3.2', require: 'pygments.rb'
36

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

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
# gem "fog", "~> 1.3.1"
randx's avatar
randx committed
64 65

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

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

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

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

randx's avatar
randx committed
78
# Servers
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
79
gem "puma", '~> 2.0.1'
randx's avatar
randx committed
80

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

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

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

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

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

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

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

104 105 106
# Cache
gem "redis-rails"

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

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

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

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

gitlabhq's avatar
gitlabhq committed
119
group :assets do
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
120 121 122
  gem "sass-rails"
  gem "coffee-rails"
  gem "uglifier"
Nihad Abbasov's avatar
Nihad Abbasov committed
123
  gem "therubyracer"
124 125
  gem 'turbolinks'
  gem 'jquery-turbolinks'
126

Riyad Preukschas's avatar
Riyad Preukschas committed
127
  gem 'chosen-rails',     "0.9.8"
128
  gem 'select2-rails'
129
  gem 'jquery-atwho-rails', "0.3.0"
Riyad Preukschas's avatar
Riyad Preukschas committed
130 131 132
  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
133
  gem "raphael-rails",    git: "https://github.com/gitlabhq/raphael-rails.git"
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
134
  gem 'bootstrap-sass'
135
  gem "font-awesome-rails", "~> 3.1.1"
Riyad Preukschas's avatar
Riyad Preukschas committed
136
  gem "gemoji", "~> 1.2.1", require: 'emoji/railtie'
137
  gem "gon"
gitlabhq's avatar
gitlabhq committed
138 139
end

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

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
149 150
  gem 'rails_best_practices'

151 152
  # Docs generator
  gem "sdoc"
153 154 155

  # thin instead webrick
  gem 'thin'
gitlabhq's avatar
gitlabhq committed
156 157 158
end

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

170 171
  # Prevent occasions where minitest is not bundled in packaged versions of ruby (see #3826)
  gem 'minitest'
172

173 174 175
  # Generate Fake data
  gem "ffaker"

176
  # Guard
randx's avatar
randx committed
177
  gem 'guard-rspec'
Nihad Abbasov's avatar
Nihad Abbasov committed
178
  gem 'guard-spinach'
179 180

  # Notification
181 182 183
  gem 'rb-fsevent', require: darwin_only('rb-fsevent')
  gem 'growl',      require: darwin_only('growl')
  gem 'rb-inotify', require: linux_only('rb-inotify')
184 185

  # PhantomJS driver for Capybara
186
  gem 'poltergeist', '~> 1.3.0'
Andrew8xx8's avatar
Andrew8xx8 committed
187 188

  gem 'spork', '~> 1.0rc'
189
  gem 'jasmine'
gitlabhq's avatar
gitlabhq committed
190 191 192
end

group :test do
193
  gem "simplecov", require: false
194
  gem "shoulda-matchers", "~> 2.1.0"
195
  gem 'email_spec'
196
  gem "webmock"
Alex Denisov's avatar
Alex Denisov committed
197
  gem 'test_after_commit'
gitlabhq's avatar
gitlabhq committed
198
end
199 200

group :production do
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
201
  gem "gitlab_meta", '5.0'
202
end