Gemfile 3.8 KB
Newer Older
S
Saito 已提交
1
source "http://rubygems.org"
G
gitlabhq 已提交
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

D
Dmitriy Zaporozhets 已提交
11
gem "rails", "3.2.9"
G
gitlabhq 已提交
12

D
Dmitriy Zaporozhets 已提交
13
# Supported DBs
14 15
gem "mysql2", group: :mysql
gem "pg", group: :postgres
D
Dmitriy Zaporozhets 已提交
16 17

# Auth
N
Nihad Abbasov 已提交
18
gem "devise", "~> 2.1.0"
R
Riyad Preukschas 已提交
19
gem 'omniauth', "~> 1.1.1"
F
Florian Unglaub 已提交
20 21 22
gem 'omniauth-google-oauth2'
gem 'omniauth-twitter'
gem 'omniauth-github'
D
Dmitriy Zaporozhets 已提交
23 24

# GITLAB patched libs
25 26 27 28
gem "grit",          git: "https://github.com/gitlabhq/grit.git",           ref: '7f35cb98ff17d534a07e3ce6ec3d580f67402837'
gem "omniauth-ldap", git: "https://github.com/gitlabhq/omniauth-ldap.git",  ref: 'f038dd852d7bd473a557e385d5d7c2fd5dc1dc2e'
gem 'yaml_db',       git: "https://github.com/gitlabhq/yaml_db.git",        ref: '98e9a5dca43e3fedd3268c76a73af40d1bdf1dfd'
gem 'grack',         git: "https://github.com/gitlabhq/grack.git",          ref: 'ba46f3b0845c6a09d488ae6abdce6ede37e227e8'
29
gem 'grit_ext',      git: "https://github.com/gitlabhq/grit_ext.git",       ref: '8e6afc2da821354774aa4d1ee8a1aa2082f84a3e'
D
Dmitriy Zaporozhets 已提交
30

31 32 33
# Gitolite client (for work with gitolite-admin repo)
gem "gitolite", '1.1.0'

V
Valeriy Sizov 已提交
34
# Syntax highlighter
R
Riyad Preukschas 已提交
35
gem "pygments.rb",  git: "https://github.com/gitlabhq/pygments.rb.git", branch: "master"
V
Valeriy Sizov 已提交
36 37

# Language detection
38
gem "github-linguist", "~> 2.3.4" , require: "linguist"
V
Valeriy Sizov 已提交
39

R
randx 已提交
40
# API
41
gem "grape", "~> 0.2.1"
R
randx 已提交
42 43 44

# Format dates and times
# based on human-friendly examples
S
Saito 已提交
45
gem "stamp"
R
randx 已提交
46 47

# Pagination
R
Riyad Preukschas 已提交
48
gem "kaminari", "~> 0.14.1"
R
randx 已提交
49 50

# HAML
R
Riyad Preukschas 已提交
51
gem "haml-rails", "~> 0.3.5"
R
randx 已提交
52 53

# Files attachments
R
Riyad Preukschas 已提交
54
gem "carrierwave", "~> 0.7.1"
R
randx 已提交
55 56

# Authorization
S
Saito 已提交
57
gem "six"
R
randx 已提交
58 59

# Generate Fake data
N
Nihad Abbasov 已提交
60
gem "ffaker"
R
randx 已提交
61 62

# Seed data
D
Dmitriy Zaporozhets 已提交
63
gem "seed-fu"
R
randx 已提交
64 65

# Markdown to HTML
R
Riyad Preukschas 已提交
66
gem "redcarpet",     "~> 2.2.2"
67
gem "github-markup", "~> 0.7.4", require: 'github/markup'
R
randx 已提交
68 69

# Servers
70
gem "thin", '~> 1.5.0'
R
Riyad Preukschas 已提交
71
gem "unicorn", "~> 4.4.0"
R
randx 已提交
72 73

# Issue tags
R
Riyad Preukschas 已提交
74
gem "acts-as-taggable-on", "2.3.3"
R
randx 已提交
75 76

# Decorators
R
Riyad Preukschas 已提交
77
gem "draper", "~> 0.18.0"
R
randx 已提交
78 79

# Background jobs
80
gem "resque", git: "https://github.com/gitlabhq/resque.git", ref: "9ef4700306dd946a3ac000612428967ce0c32213"
R
randx 已提交
81 82 83
gem 'resque_mailer'

# HTTP requests
A
Ariejan de Vroom 已提交
84
gem "httparty"
R
randx 已提交
85 86

# Colored output to console
87
gem "colored"
R
randx 已提交
88

R
Riyad Preukschas 已提交
89
# GitLab settings
90
gem 'settingslogic'
A
Aleksei Kvitinskii 已提交
91

R
randx 已提交
92 93 94 95
# Misc
gem "foreman"
gem "git"

G
gitlabhq 已提交
96
group :assets do
R
Riyad Preukschas 已提交
97 98 99
  gem "sass-rails",   "~> 3.2.5"
  gem "coffee-rails", "~> 3.2.2"
  gem "uglifier",     "~> 1.3.0"
N
Nihad Abbasov 已提交
100
  gem "therubyracer"
N
Nihad Abbasov 已提交
101

R
Riyad Preukschas 已提交
102
  gem 'chosen-rails',     "0.9.8"
R
Riyad Preukschas 已提交
103
  gem 'jquery-atwho-rails', "0.1.7"
R
Riyad Preukschas 已提交
104 105 106
  gem "jquery-rails",     "2.1.3"
  gem "jquery-ui-rails",  "2.0.2"
  gem "modernizr",        "2.6.2"
107
  gem "raphael-rails",    "1.5.2"
D
Dmitriy Zaporozhets 已提交
108
  gem 'bootstrap-sass',   "2.2.1.1"
R
Riyad Preukschas 已提交
109
  gem "font-awesome-sass-rails", "~> 2.0.0"
R
Riyad Preukschas 已提交
110
  gem "gemoji", "~> 1.2.1", require: 'emoji/railtie'
G
gitlabhq 已提交
111 112
end

N
Nihad Abbasov 已提交
113
group :development do
114
  gem "annotate", git: "https://github.com/ctran/annotate_models.git"
115
  gem "letter_opener"
R
Riyad Preukschas 已提交
116
  gem 'quiet_assets', '~> 1.0.1'
R
randx 已提交
117
  gem 'rack-mini-profiler'
118 119 120
  # Better errors handler
  gem 'better_errors'
  gem 'binding_of_caller'
G
gitlabhq 已提交
121 122 123
end

group :development, :test do
124
  gem 'rails-dev-tweaks'
N
Nihad Abbasov 已提交
125
  gem 'spinach-rails'
S
Saito 已提交
126 127
  gem "rspec-rails"
  gem "capybara"
S
Saito 已提交
128
  gem "pry"
S
Saito 已提交
129
  gem "awesome_print"
130
  gem "database_cleaner", ref: "f89c34300e114be99532f14c115b2799a3380ac6", git: "https://github.com/bmabey/database_cleaner.git"
S
Saito 已提交
131
  gem "launchy"
R
Robert Speicher 已提交
132
  gem 'factory_girl_rails'
R
randx 已提交
133

134
  # Guard
R
randx 已提交
135
  gem 'guard-rspec'
N
Nihad Abbasov 已提交
136
  gem 'guard-spinach'
137 138

  # Notification
139 140 141
  gem 'rb-fsevent', require: darwin_only('rb-fsevent')
  gem 'growl',      require: darwin_only('growl')
  gem 'rb-inotify', require: linux_only('rb-inotify')
142 143

  # PhantomJS driver for Capybara
144
  gem 'poltergeist', git: 'https://github.com/jonleighton/poltergeist.git', ref: '5c2e092001074a8cf09f332d3714e9ba150bc8ca'
G
gitlabhq 已提交
145 146 147
end

group :test do
148
  gem "simplecov", require: false
R
Riyad Preukschas 已提交
149
  gem "shoulda-matchers", "1.3.0"
150
  gem 'email_spec'
151
  gem 'resque_spec'
152
  gem "webmock"
A
Alex Denisov 已提交
153
  gem 'test_after_commit'
G
gitlabhq 已提交
154
end
155 156

group :production do
D
Dmitriy Zaporozhets 已提交
157
  gem "gitlab_meta", '4.0'
158
end