Gemfile 2.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

R
randx 已提交
11
gem "rails", "3.2.8"
G
gitlabhq 已提交
12

D
Dmitriy Zaporozhets 已提交
13
# Supported DBs
S
Saito 已提交
14
gem "sqlite3"
D
Dmitriy Zaporozhets 已提交
15
gem "mysql2"
D
Dmitriy Zaporozhets 已提交
16 17

# Auth
N
Nihad Abbasov 已提交
18
gem "devise", "~> 2.1.0"
D
Dmitriy Zaporozhets 已提交
19 20

# GITLAB patched libs
D
Dmitriy Zaporozhets 已提交
21 22 23
gem "grit",          :git => "https://github.com/gitlabhq/grit.git",            :ref => "7f35cb98ff17d534a07e3ce6ec3d580f67402837"
gem "gitolite",      :git => "https://github.com/gitlabhq/gitolite-client.git", :ref => "9b715ca8bab6529f6c92204a25f84d12f25a6eb0"
gem "pygments.rb",   :git => "https://github.com/gitlabhq/pygments.rb.git",     :ref => "2cada028da5054616634a1d9ca6941b65b3ce188"
24
gem "omniauth-ldap", :git => "https://github.com/gitlabhq/omniauth-ldap.git",   :ref => "f038dd852d7bd473a557e385d5d7c2fd5dc1dc2e"
D
Dmitriy Zaporozhets 已提交
25
gem 'yaml_db',       :git => "https://github.com/gitlabhq/yaml_db.git"
S
Saito 已提交
26
gem 'grack',         :git => "https://github.com/gitlabhq/grack.git"
D
Dmitriy Zaporozhets 已提交
27 28
gem "linguist", "~> 1.0.0", :git => "https://github.com/gitlabhq/linguist.git"

R
randx 已提交
29
# API
30
gem "grape", "~> 0.2.1"
R
randx 已提交
31 32 33

# Format dates and times
# based on human-friendly examples
S
Saito 已提交
34
gem "stamp"
R
randx 已提交
35 36

# Pagination
S
Saito 已提交
37
gem "kaminari"
R
randx 已提交
38 39

# HAML
S
Saito 已提交
40
gem "haml-rails"
R
randx 已提交
41 42

# Files attachments
G
gitlabhq 已提交
43
gem "carrierwave"
R
randx 已提交
44 45

# Authorization
S
Saito 已提交
46
gem "six"
R
randx 已提交
47 48

# Generate Fake data
N
Nihad Abbasov 已提交
49
gem "ffaker"
R
randx 已提交
50 51

# Seed data
D
Dmitriy Zaporozhets 已提交
52
gem "seed-fu"
R
randx 已提交
53 54

# Markdown to HTML
55 56
gem "redcarpet",     "~> 2.1.1"
gem "github-markup", "~> 0.7.4"
R
randx 已提交
57 58

# Servers
V
Valera Sizov 已提交
59
gem "thin"
V
Valery Sizov 已提交
60
gem "unicorn"
R
randx 已提交
61 62

# Issue tags
63
gem "acts-as-taggable-on", "2.3.1"
R
randx 已提交
64 65

# Decorators
S
Steve Klabnik 已提交
66
gem "draper"
R
randx 已提交
67 68

# Background jobs
69
gem "resque", "~> 1.20.0"
R
randx 已提交
70 71 72
gem 'resque_mailer'

# HTTP requests
A
Ariejan de Vroom 已提交
73
gem "httparty"
R
randx 已提交
74 75

# Handle encodings
S
Saito 已提交
76
gem "charlock_holmes"
R
randx 已提交
77 78

# Colored output to console
79
gem "colored"
R
randx 已提交
80 81

# GITLAB settings
82
gem 'settingslogic'
A
Aleksei Kvitinskii 已提交
83

R
randx 已提交
84 85 86 87
# Misc
gem "foreman"
gem "git"

G
gitlabhq 已提交
88
group :assets do
A
Andrey Vakarev 已提交
89
  gem "sass-rails",   "3.2.5"
90
  gem "coffee-rails", "3.2.2"
D
Dmitriy Zaporozhets 已提交
91
  gem "uglifier",     "1.0.3"
N
Nihad Abbasov 已提交
92
  gem "therubyracer"
N
Nihad Abbasov 已提交
93 94 95 96 97 98

  gem 'chosen-rails'
  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 已提交
99
  gem 'bootstrap-sass',   "2.0.4"
G
gitlabhq 已提交
100 101
end

N
Nihad Abbasov 已提交
102
group :development do
S
Saito 已提交
103 104
  gem "letter_opener"
  gem "annotate", :git => "https://github.com/ctran/annotate_models.git"
R
randx 已提交
105
  gem 'rack-mini-profiler'
G
gitlabhq 已提交
106 107 108
end

group :development, :test do
N
Nihad Abbasov 已提交
109
  gem 'spinach-rails'
S
Saito 已提交
110 111
  gem "rspec-rails"
  gem "capybara"
R
randx 已提交
112
  gem "capybara-webkit"
R
randx 已提交
113
  gem "headless"
S
Saito 已提交
114
  gem "pry"
S
Saito 已提交
115 116 117
  gem "awesome_print"
  gem "database_cleaner"
  gem "launchy"
R
Robert Speicher 已提交
118
  gem 'factory_girl_rails'
R
randx 已提交
119

120
  # Guard
R
randx 已提交
121
  gem 'guard-rspec'
122 123

  # Notification
R
randx 已提交
124
  gem 'rb-fsevent', :require => darwin_only('rb-fsevent')
125
  gem 'growl',      :require => darwin_only('growl')
R
randx 已提交
126
  gem 'rb-inotify', :require => linux_only('rb-inotify')
G
gitlabhq 已提交
127 128 129
end

group :test do
S
Saito 已提交
130
  gem "simplecov", :require => false
131
  gem "shoulda-matchers"
132
  gem 'email_spec'
133
  gem 'resque_spec'
134
  gem "webmock"
G
gitlabhq 已提交
135
end
136 137

group :production do
R
randx 已提交
138
  gem "gitlab_meta", '2.9'
139
end