1 source "https://rubygems.org"
3 def darwin_only(require_as)
4 RUBY_PLATFORM.include?('darwin') && require_as
7 def linux_only(require_as)
8 RUBY_PLATFORM.include?('linux') && require_as
14 gem "mysql2", group: :mysql
15 gem "pg", group: :postgres
19 gem 'omniauth', "~> 1.1.3"
20 gem 'omniauth-google-oauth2'
21 gem 'omniauth-twitter'
24 # Extracting information from a git repository
25 # Since gollum requires grit we cannot use gitlab-grit gem name any more. Use grit instead
26 gem "grit", '~> 2.5.0', git: 'https://github.com/gitlabhq/grit.git', ref: '42297cdcee16284d2e4eff23d41377f52fc28b9d'
27 gem 'grit_ext', '~> 0.8.1'
29 # Ruby/Rack Git Smart-HTTP Server Handler
30 gem 'gitlab-grack', '~> 1.0.0', require: 'grack'
33 gem 'gitlab_omniauth-ldap', '1.0.2', require: "omniauth-ldap"
35 # Dump db to yml file. Mostly used to migrate from sqlite to mysql
36 gem 'gitlab_yaml_db', '1.0.0', require: "yaml_db"
39 gem "gitlab-pygments.rb", '~> 0.3.2', require: 'pygments.rb'
42 gem "github-linguist", "~> 2.3.4" , require: "linguist"
45 gem "grape", "~> 0.3.1"
46 gem "grape-entity", "~> 0.2.0"
48 # Format dates and times
49 # based on human-friendly examples
56 gem "kaminari", "~> 0.14.1"
74 gem "redcarpet", "~> 2.2.2"
75 gem "github-markup", "~> 0.7.4", require: 'github/markup'
84 gem "acts-as-taggable-on", "2.3.3"
91 gem 'sinatra', require: nil
97 # Colored output to console
104 # - Use latest master to resolve Gem dependency with Pygemnts
105 # github-linquist needs pygments 0.4.2 but Gollum 2.4.11
106 # requires pygments 0.3.2. The latest master Gollum has been updated
107 # 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"
118 gem "sass-rails", "~> 3.2.5"
119 gem "coffee-rails", "~> 3.2.2"
120 gem "uglifier", "~> 1.3.0"
123 gem 'chosen-rails', "0.9.8"
125 gem 'jquery-atwho-rails', "0.1.7"
126 gem "jquery-rails", "2.1.3"
127 gem "jquery-ui-rails", "2.0.2"
128 gem "modernizr", "2.6.2"
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"
132 gem "gemoji", "~> 1.2.1", require: 'emoji/railtie'
136 group :development do
137 gem "annotate", git: "https://github.com/ctran/annotate_models.git"
139 gem 'quiet_assets', '~> 1.0.1'
140 gem 'rack-mini-profiler'
141 # Better errors handler
143 gem 'binding_of_caller'
145 gem 'rails_best_practices'
150 # thin instead webrick
154 group :development, :test do
155 gem 'coveralls', require: false
156 gem 'rails-dev-tweaks'
162 gem "database_cleaner"
164 gem 'factory_girl_rails'
171 gem 'rb-fsevent', require: darwin_only('rb-fsevent')
172 gem 'growl', require: darwin_only('growl')
173 gem 'rb-inotify', require: linux_only('rb-inotify')
175 # PhantomJS driver for Capybara
176 gem 'poltergeist', '1.1.0'
178 gem 'spork', '~> 1.0rc'
182 gem "simplecov", require: false
183 gem "shoulda-matchers", "1.3.0"
186 gem 'test_after_commit'
190 gem "gitlab_meta", '5.0'