Gemfile 3.45 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.12"
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
25
gem "gitlab-grit", '~> 1.0.0', require: 'grit'
26
gem 'grit_ext', '~> 0.6.2'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
27 28 29 30

# Ruby/Rack Git Smart-HTTP Server Handler
gem 'gitlab-grack', '~> 1.0.0', require: 'grack'

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

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

37
# Syntax highlighter
38
gem "gitlab-pygments.rb", '~> 0.3.2', require: 'pygments.rb'
39 40

# Language detection
41
gem "github-linguist", "~> 2.3.4" , require: "linguist"
42

randx's avatar
randx committed
43
# API
44 45
gem "grape", "~> 0.3.1"
gem "grape-entity", "~> 0.2.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"
randx's avatar
randx committed
62 63

# Authorization
64
gem "six"
randx's avatar
randx committed
65 66

# Generate Fake data
Nihad Abbasov's avatar
Nihad Abbasov committed
67
gem "ffaker"
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 76

# Servers
77
gem "unicorn"
randx's avatar
randx committed
78

Andrew8xx8's avatar
Andrew8xx8 committed
79 80 81
# State machine
gem "state_machine"

randx's avatar
randx committed
82
# Issue tags
Riyad Preukschas's avatar
Riyad Preukschas committed
83
gem "acts-as-taggable-on", "2.3.3"
randx's avatar
randx committed
84 85

# Decorators
86
gem "draper"
randx's avatar
randx committed
87 88

# Background jobs
Dmitriy Zaporozhets's avatar
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 105
# Misc
gem "foreman"
gem "git"

106 107 108
# Cache
gem "redis-rails"

gitlabhq's avatar
gitlabhq committed
109
group :assets do
Riyad Preukschas's avatar
Riyad Preukschas committed
110 111 112
  gem "sass-rails",   "~> 3.2.5"
  gem "coffee-rails", "~> 3.2.2"
  gem "uglifier",     "~> 1.3.0"
Nihad Abbasov's avatar
Nihad Abbasov committed
113
  gem "therubyracer"
114

Riyad Preukschas's avatar
Riyad Preukschas committed
115
  gem 'chosen-rails',     "0.9.8"
116
  gem 'select2-rails'
117
  gem 'jquery-atwho-rails', "0.1.7"
Riyad Preukschas's avatar
Riyad Preukschas committed
118 119 120
  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
121
  gem "raphael-rails",    git: "https://github.com/gitlabhq/raphael-rails.git"
122
  gem 'bootstrap-sass',   "2.2.1.1"
123
  gem "font-awesome-sass-rails", "~> 3.0.0"
Riyad Preukschas's avatar
Riyad Preukschas committed
124
  gem "gemoji", "~> 1.2.1", require: 'emoji/railtie'
125
  gem "gon"
gitlabhq's avatar
gitlabhq committed
126 127
end

Nihad Abbasov's avatar
Nihad Abbasov committed
128
group :development do
129
  gem "annotate", git: "https://github.com/ctran/annotate_models.git"
130
  gem "letter_opener"
Riyad Preukschas's avatar
Riyad Preukschas committed
131
  gem 'quiet_assets', '~> 1.0.1'
randx's avatar
randx committed
132
  gem 'rack-mini-profiler'
133 134 135
  # Better errors handler
  gem 'better_errors'
  gem 'binding_of_caller'
136

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
137 138
  gem 'rails_best_practices'

139 140
  # Docs generator
  gem "sdoc"
141 142 143

  # thin instead webrick
  gem 'thin'
gitlabhq's avatar
gitlabhq committed
144 145 146
end

group :development, :test do
147
  gem 'coveralls', require: false
148
  gem 'rails-dev-tweaks'
149 150 151
  gem 'spinach-rails', '0.2.0'
  gem "rspec-rails", '2.12.2'
  gem "capybara", '2.0.2'
Saito's avatar
Saito committed
152
  gem "pry"
153
  gem "awesome_print"
154
  gem "database_cleaner"
155
  gem "launchy"
Robert Speicher's avatar
Robert Speicher committed
156
  gem 'factory_girl_rails'
randx's avatar
randx committed
157

158
  # Guard
randx's avatar
randx committed
159
  gem 'guard-rspec'
Nihad Abbasov's avatar
Nihad Abbasov committed
160
  gem 'guard-spinach'
161 162

  # Notification
163 164 165
  gem 'rb-fsevent', require: darwin_only('rb-fsevent')
  gem 'growl',      require: darwin_only('growl')
  gem 'rb-inotify', require: linux_only('rb-inotify')
166 167

  # PhantomJS driver for Capybara
168
  gem 'poltergeist', '1.1.0'
gitlabhq's avatar
gitlabhq committed
169 170 171
end

group :test do
172
  gem "simplecov", require: false
Riyad Preukschas's avatar
Riyad Preukschas committed
173
  gem "shoulda-matchers", "1.3.0"
174
  gem 'email_spec'
175
  gem "webmock"
Alex Denisov's avatar
Alex Denisov committed
176
  gem 'test_after_commit'
gitlabhq's avatar
gitlabhq committed
177
end
178 179

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