Gemfile 3.4 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 16
gem "sqlite3", group: :sqlite
gem "mysql2", group: :mysql
gem "pg", group: :postgres
D
Dmitriy Zaporozhets 已提交
17 18

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

# GITLAB patched libs
26 27 28 29
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'
30
gem 'grit_ext',      git: "https://github.com/gitlabhq/grit_ext.git",        ref: '212fd40bea61f3c6a167223768e7295dc32bbc10'
D
Dmitriy Zaporozhets 已提交
31

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

V
Valeriy Sizov 已提交
35
# Syntax highlighter
36
gem "pygments.rb",  git: "https://github.com/gitlabhq/pygments.rb.git", ref: '4db80c599067e2d5f23c5c243bf85b8ca0368ad4'
V
Valeriy Sizov 已提交
37 38

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

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

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

# Pagination
S
Saito 已提交
49
gem "kaminari"
R
randx 已提交
50 51

# HAML
S
Saito 已提交
52
gem "haml-rails"
R
randx 已提交
53 54

# Files attachments
G
gitlabhq 已提交
55
gem "carrierwave"
R
randx 已提交
56 57

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

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

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

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

# Servers
71
gem "thin", '~> 1.5.0'
V
Valery Sizov 已提交
72
gem "unicorn"
R
randx 已提交
73 74

# Issue tags
75
gem "acts-as-taggable-on", "2.3.1"
R
randx 已提交
76 77

# Decorators
S
Steve Klabnik 已提交
78
gem "draper"
R
randx 已提交
79 80

# Background jobs
81
gem "resque", "~> 1.20.0"
R
randx 已提交
82 83 84
gem 'resque_mailer'

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

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

# GITLAB settings
91
gem 'settingslogic'
A
Aleksei Kvitinskii 已提交
92

R
randx 已提交
93 94
# Misc
gem "foreman"
R
Riyad Preukschas 已提交
95
gem 'gemoji', require: 'emoji/railtie'
R
randx 已提交
96 97
gem "git"

G
gitlabhq 已提交
98
group :assets do
A
Andrey Vakarev 已提交
99
  gem "sass-rails",   "3.2.5"
100
  gem "coffee-rails", "3.2.2"
D
Dmitriy Zaporozhets 已提交
101
  gem "uglifier",     "1.0.3"
N
Nihad Abbasov 已提交
102
  gem "therubyracer"
N
Nihad Abbasov 已提交
103 104

  gem 'chosen-rails'
N
Nihad Abbasov 已提交
105
  gem 'jquery-atwho-rails', '0.1.6'
N
Nihad Abbasov 已提交
106 107 108 109
  gem "jquery-rails",     "2.0.2"
  gem "jquery-ui-rails",  "0.5.0"
  gem "modernizr",        "2.5.3"
  gem "raphael-rails",    "1.5.2"
D
Dmitriy Zaporozhets 已提交
110
  gem 'bootstrap-sass',   "2.0.4"
R
Riyad Preukschas 已提交
111
  gem "font-awesome-sass-rails", "~> 2.0.0"
G
gitlabhq 已提交
112 113
end

N
Nihad Abbasov 已提交
114
group :development do
115
  gem "annotate", git: "https://github.com/ctran/annotate_models.git"
116 117
  gem "letter_opener"
  gem 'quiet_assets', '1.0.1'
R
randx 已提交
118
  gem 'rack-mini-profiler'
G
gitlabhq 已提交
119 120 121
end

group :development, :test do
122
  gem 'rails-dev-tweaks'
N
Nihad Abbasov 已提交
123
  gem 'spinach-rails'
S
Saito 已提交
124 125
  gem "rspec-rails"
  gem "capybara"
S
Saito 已提交
126
  gem "pry"
S
Saito 已提交
127 128 129
  gem "awesome_print"
  gem "database_cleaner"
  gem "launchy"
R
Robert Speicher 已提交
130
  gem 'factory_girl_rails'
R
randx 已提交
131

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

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

  # PhantomJS driver for Capybara
  gem 'poltergeist'
G
gitlabhq 已提交
143 144 145
end

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

group :production do
155
  gem "gitlab_meta", '3.0'
156
end