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

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
102
# Wiki
103 104 105 106
# - Use latest master to resolve Gem dependency with Pygemnts
# github-linquist needs pygments 0.4.2 but Gollum 2.4.11
# requires pygments 0.3.2. The latest master Gollum has been updated
# to use pygments 0.4.2. Change this after next Gollum release.
107
gem "gollum", "~> 2.4.0", git: "git://github.com/gollum/gollum.git", ref: "5dcd3c8c8f"
108

randx's avatar
randx committed
109 110 111 112
# Misc
gem "foreman"
gem "git"

113 114 115
# Cache
gem "redis-rails"

gitlabhq's avatar
gitlabhq committed
116
group :assets do
Riyad Preukschas's avatar
Riyad Preukschas committed
117 118 119
  gem "sass-rails",   "~> 3.2.5"
  gem "coffee-rails", "~> 3.2.2"
  gem "uglifier",     "~> 1.3.0"
Nihad Abbasov's avatar
Nihad Abbasov committed
120
  gem "therubyracer"
121

Riyad Preukschas's avatar
Riyad Preukschas committed
122
  gem 'chosen-rails',     "0.9.8"
123
  gem 'select2-rails'
124
  gem 'jquery-atwho-rails', "0.1.7"
Riyad Preukschas's avatar
Riyad Preukschas committed
125 126 127
  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
128
  gem "raphael-rails",    git: "https://github.com/gitlabhq/raphael-rails.git"
129
  gem 'bootstrap-sass',   "2.2.1.1"
130
  gem "font-awesome-sass-rails", "~> 3.0.0"
Riyad Preukschas's avatar
Riyad Preukschas committed
131
  gem "gemoji", "~> 1.2.1", require: 'emoji/railtie'
132
  gem "gon"
gitlabhq's avatar
gitlabhq committed
133 134
end

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

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
144 145
  gem 'rails_best_practices'

146 147
  # Docs generator
  gem "sdoc"
148 149 150

  # thin instead webrick
  gem 'thin'
gitlabhq's avatar
gitlabhq committed
151 152 153
end

group :development, :test do
154
  gem 'coveralls', require: false
155
  gem 'rails-dev-tweaks'
156 157 158
  gem 'spinach-rails', '0.2.0'
  gem "rspec-rails", '2.12.2'
  gem "capybara", '2.0.2'
Saito's avatar
Saito committed
159
  gem "pry"
160
  gem "awesome_print"
161
  gem "database_cleaner"
162
  gem "launchy"
Robert Speicher's avatar
Robert Speicher committed
163
  gem 'factory_girl_rails'
randx's avatar
randx committed
164

165
  # Guard
randx's avatar
randx committed
166
  gem 'guard-rspec'
Nihad Abbasov's avatar
Nihad Abbasov committed
167
  gem 'guard-spinach'
168 169

  # Notification
170 171 172
  gem 'rb-fsevent', require: darwin_only('rb-fsevent')
  gem 'growl',      require: darwin_only('growl')
  gem 'rb-inotify', require: linux_only('rb-inotify')
173 174

  # PhantomJS driver for Capybara
175
  gem 'poltergeist', '1.1.0'
gitlabhq's avatar
gitlabhq committed
176 177 178
end

group :test do
179
  gem "simplecov", require: false
Riyad Preukschas's avatar
Riyad Preukschas committed
180
  gem "shoulda-matchers", "1.3.0"
181
  gem 'email_spec'
182
  gem "webmock"
Alex Denisov's avatar
Alex Denisov committed
183
  gem 'test_after_commit'
gitlabhq's avatar
gitlabhq committed
184
end
185 186

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