Gemfile 3.82 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
gem 'rugged', '~> 0.17.0.b7'
26
gem "gitlab-grit", '~> 1.0.0', require: 'grit'
Saito's avatar
Saito committed
27
gem 'grit_ext', '~> 0.8.1'
Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
28 29 30 31

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

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

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

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

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

randx's avatar
randx committed
44
# API
45 46
gem "grape", "~> 0.3.1"
gem "grape-entity", "~> 0.2.0"
randx's avatar
randx committed
47 48 49

# Format dates and times
# based on human-friendly examples
50
gem "stamp"
randx's avatar
randx committed
51

Andrew8xx8's avatar
Andrew8xx8 committed
52 53 54
# Enumeration fields
gem 'enumerize'

randx's avatar
randx committed
55
# Pagination
Riyad Preukschas's avatar
Riyad Preukschas committed
56
gem "kaminari", "~> 0.14.1"
randx's avatar
randx committed
57 58

# HAML
59
gem "haml-rails"
randx's avatar
randx committed
60 61

# Files attachments
62
gem "carrierwave"
randx's avatar
randx committed
63 64

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

# Generate Fake data
Nihad Abbasov's avatar
Nihad Abbasov committed
68
gem "ffaker"
randx's avatar
randx committed
69 70

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

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

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

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

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

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

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

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

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

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

Dmitriy Zaporozhets's avatar
Dmitriy Zaporozhets committed
103
# Wiki
104 105 106 107
# - 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.
108
gem "gollum", "~> 2.4.0", git: "https://github.com/gollum/gollum.git", ref: "5dcd3c8c8f"
109

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

114 115 116
# Cache
gem "redis-rails"

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

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

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

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

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

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

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

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

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

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

  gem 'spork', '~> 1.0rc'
gitlabhq's avatar
gitlabhq committed
179 180 181
end

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

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