Gemfile 3.66 KB
Newer Older
1
source "http://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

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
Nihad Abbasov's avatar
Nihad Abbasov committed
18
gem "devise", "~> 2.1.0"
Riyad Preukschas's avatar
Riyad Preukschas committed
19
gem 'omniauth', "~> 1.1.1"
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
24

# GITLAB patched libs
25
gem "grit",          git: "https://github.com/gitlabhq/grit.git",           ref: '9e98418ce2d654485b967003726aa2706a10060b'
26
gem 'grack',         git: "https://github.com/gitlabhq/grack.git",          ref: 'ba46f3b0845c6a09d488ae6abdce6ede37e227e8'
27
gem 'grit_ext',      git: "https://github.com/gitlabhq/grit_ext.git",       ref: '8e6afc2da821354774aa4d1ee8a1aa2082f84a3e'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
28

29
30
31
# LDAP Auth
gem 'gitlab_omniauth-ldap', '1.0.2', require: "omniauth-ldap"

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

35
# Syntax highlighter
Riyad Preukschas's avatar
Riyad Preukschas committed
36
gem "pygments.rb",  git: "https://github.com/gitlabhq/pygments.rb.git", branch: "master"
37
38

# Language detection
39
gem "github-linguist", "~> 2.3.4" , require: "linguist"
40

randx's avatar
randx committed
41
# API
42
gem "grape", "~> 0.2.1"
randx's avatar
randx committed
43
44
45

# Format dates and times
# based on human-friendly examples
46
gem "stamp"
randx's avatar
randx committed
47
48

# Pagination
Riyad Preukschas's avatar
Riyad Preukschas committed
49
gem "kaminari", "~> 0.14.1"
randx's avatar
randx committed
50
51

# HAML
Riyad Preukschas's avatar
Riyad Preukschas committed
52
gem "haml-rails", "~> 0.3.5"
randx's avatar
randx committed
53
54

# Files attachments
Riyad Preukschas's avatar
Riyad Preukschas committed
55
gem "carrierwave", "~> 0.7.1"
randx's avatar
randx committed
56
57

# Authorization
58
gem "six"
randx's avatar
randx committed
59
60

# Generate Fake data
Nihad Abbasov's avatar
Nihad Abbasov committed
61
gem "ffaker"
randx's avatar
randx committed
62
63

# Seed data
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
64
gem "seed-fu"
randx's avatar
randx committed
65
66

# Markdown to HTML
Riyad Preukschas's avatar
Riyad Preukschas committed
67
gem "redcarpet",     "~> 2.2.2"
68
gem "github-markup", "~> 0.7.4", require: 'github/markup'
randx's avatar
randx committed
69
70

# Servers
Riyad Preukschas's avatar
Riyad Preukschas committed
71
gem "unicorn", "~> 4.4.0"
randx's avatar
randx committed
72

Andrew8xx8's avatar
Andrew8xx8 committed
73
74
75
# State machine
gem "state_machine"

randx's avatar
randx committed
76
# Issue tags
Riyad Preukschas's avatar
Riyad Preukschas committed
77
gem "acts-as-taggable-on", "2.3.3"
randx's avatar
randx committed
78
79

# Decorators
Riyad Preukschas's avatar
Riyad Preukschas committed
80
gem "draper", "~> 0.18.0"
randx's avatar
randx committed
81
82

# Background jobs
Dmitriy Zaporozhets's avatar
sidekiq    
Dmitriy Zaporozhets committed
83
gem 'slim'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
84
85
gem 'sinatra', require: nil
gem 'sidekiq', '2.7.3'
randx's avatar
randx committed
86
87

# HTTP requests
88
gem "httparty"
randx's avatar
randx committed
89
90

# Colored output to console
91
gem "colored"
randx's avatar
randx committed
92

Riyad Preukschas's avatar
Riyad Preukschas committed
93
# GitLab settings
94
gem 'settingslogic'
Aleksei Kvitinskii's avatar
Aleksei Kvitinskii committed
95

randx's avatar
randx committed
96
97
98
99
# Misc
gem "foreman"
gem "git"

gitlabhq's avatar
gitlabhq committed
100
group :assets do
Riyad Preukschas's avatar
Riyad Preukschas committed
101
102
103
  gem "sass-rails",   "~> 3.2.5"
  gem "coffee-rails", "~> 3.2.2"
  gem "uglifier",     "~> 1.3.0"
Nihad Abbasov's avatar
Nihad Abbasov committed
104
  gem "therubyracer"
105

Riyad Preukschas's avatar
Riyad Preukschas committed
106
  gem 'chosen-rails',     "0.9.8"
107
  gem 'jquery-atwho-rails', "0.1.7"
Riyad Preukschas's avatar
Riyad Preukschas committed
108
109
110
  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
111
  gem "raphael-rails",    git: "https://github.com/gitlabhq/raphael-rails.git"
112
  gem 'bootstrap-sass',   "2.2.1.1"
113
  gem "font-awesome-sass-rails", "~> 3.0.0"
Riyad Preukschas's avatar
Riyad Preukschas committed
114
  gem "gemoji", "~> 1.2.1", require: 'emoji/railtie'
gitlabhq's avatar
gitlabhq committed
115
116
end

Nihad Abbasov's avatar
Nihad Abbasov committed
117
group :development do
118
  gem "annotate", git: "https://github.com/ctran/annotate_models.git"
119
  gem "letter_opener"
Riyad Preukschas's avatar
Riyad Preukschas committed
120
  gem 'quiet_assets', '~> 1.0.1'
randx's avatar
randx committed
121
  gem 'rack-mini-profiler'
122
123
124
  # Better errors handler
  gem 'better_errors'
  gem 'binding_of_caller'
125

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
126
127
  gem 'rails_best_practices'

128
129
  # Docs generator
  gem "sdoc"
130
131
132

  # thin instead webrick
  gem 'thin'
gitlabhq's avatar
gitlabhq committed
133
134
135
end

group :development, :test do
136
  gem 'rails-dev-tweaks'
137
138
139
  gem 'spinach-rails', '0.2.0'
  gem "rspec-rails", '2.12.2'
  gem "capybara", '2.0.2'
Saito's avatar
Saito committed
140
  gem "pry"
141
  gem "awesome_print"
142
  gem "database_cleaner", ref: "9f898fc50d87a5d51760f9dcf374bf5ffda21baf", git: "https://github.com/bmabey/database_cleaner.git"
143
  gem "launchy"
Robert Speicher's avatar
Robert Speicher committed
144
  gem 'factory_girl_rails'
randx's avatar
randx committed
145

146
  # Guard
randx's avatar
randx committed
147
  gem 'guard-rspec'
Nihad Abbasov's avatar
Nihad Abbasov committed
148
  gem 'guard-spinach'
149
150

  # Notification
151
152
153
  gem 'rb-fsevent', require: darwin_only('rb-fsevent')
  gem 'growl',      require: darwin_only('growl')
  gem 'rb-inotify', require: linux_only('rb-inotify')
154
155

  # PhantomJS driver for Capybara
156
  gem 'poltergeist', '1.1.0'
gitlabhq's avatar
gitlabhq committed
157
158
159
end

group :test do
160
  gem "simplecov", require: false
Riyad Preukschas's avatar
Riyad Preukschas committed
161
  gem "shoulda-matchers", "1.3.0"
162
  gem 'email_spec'
163
  gem "webmock"
Alex Denisov's avatar
Alex Denisov committed
164
  gem 'test_after_commit'
gitlabhq's avatar
gitlabhq committed
165
end
166
167

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