2011-11-25 23:23:34 +04:00
|
|
|
# -*- coding: utf-8 -*-
|
2011-03-18 23:25:45 +03:00
|
|
|
source :rubygems
|
|
|
|
|
2013-02-12 15:03:48 +04:00
|
|
|
gem "rails", "2.3.17"
|
2011-03-18 23:25:45 +03:00
|
|
|
|
2013-02-12 15:49:00 +04:00
|
|
|
gem "json", "~> 1.7.7"
|
2011-10-29 13:35:16 +04:00
|
|
|
gem "coderay", "~> 1.0.0"
|
2011-03-20 00:38:03 +03:00
|
|
|
gem "i18n", "~> 0.4.2"
|
2011-03-18 23:25:45 +03:00
|
|
|
gem "rubytree", "~> 0.5.2", :require => 'tree'
|
2011-06-16 13:20:49 +04:00
|
|
|
gem "rdoc", ">= 2.4.2"
|
2011-04-26 23:42:17 +04:00
|
|
|
gem "liquid", "~> 2.3.0"
|
2011-12-02 03:58:05 +04:00
|
|
|
gem "acts-as-taggable-on", "= 2.1.0"
|
2012-06-09 12:47:32 +04:00
|
|
|
gem 'gravatarify', '~> 3.0.0'
|
2011-08-22 01:36:03 +04:00
|
|
|
# Needed only on RUBY_VERSION = 1.8, ruby 1.9+ compatible interpreters should bring their csv
|
|
|
|
gem "fastercsv", "~> 1.5.0", :platforms => [:ruby_18, :jruby, :mingw_18]
|
2012-03-24 23:39:33 +04:00
|
|
|
# need for automatic encoding detection in diff,annotate and cat
|
|
|
|
gem "chardet", ">= 0.9.0"
|
2012-03-18 21:15:08 +04:00
|
|
|
gem "tzinfo", "~> 0.3.31" # Fixes #903. Not required for Rails >= 3.2
|
2011-03-18 23:25:45 +03:00
|
|
|
|
2011-03-20 00:36:39 +03:00
|
|
|
group :test do
|
2011-03-19 18:04:43 +03:00
|
|
|
gem 'shoulda', '~> 2.10.3'
|
2012-04-28 17:52:29 +04:00
|
|
|
# Shoulda doesn't work nice on 1.9.3 and seems to need test-unit explicitely…
|
|
|
|
gem 'test-unit', :platforms => [:mri_19]
|
2011-03-18 23:25:45 +03:00
|
|
|
gem 'edavis10-object_daddy', :require => 'object_daddy'
|
2013-01-07 17:14:21 +04:00
|
|
|
gem 'mocha', '0.12.1'
|
|
|
|
# capybara 2 drops ruby 1.8.7 compatibility
|
|
|
|
gem 'capybara', '< 2.0.0'
|
2011-03-18 23:25:45 +03:00
|
|
|
end
|
|
|
|
|
2011-11-25 23:54:23 +04:00
|
|
|
group :ldap do
|
2012-07-14 23:16:16 +04:00
|
|
|
gem "net-ldap", '~> 0.3.1'
|
2011-11-25 23:54:23 +04:00
|
|
|
end
|
|
|
|
|
2011-03-19 19:03:58 +03:00
|
|
|
group :openid do
|
|
|
|
gem "ruby-openid", '~> 2.1.4', :require => 'openid'
|
|
|
|
end
|
2011-03-18 23:25:45 +03:00
|
|
|
|
2011-03-19 19:12:29 +03:00
|
|
|
group :rmagick do
|
2011-10-27 00:18:33 +04:00
|
|
|
gem "rmagick", ">= 1.15.17"
|
2011-10-27 00:07:13 +04:00
|
|
|
# Older distributions might not have a sufficiently new ImageMagick version
|
|
|
|
# for the current rmagick release (current rmagick is rmagick 2, which
|
|
|
|
# requires ImageMagick 6.4.9 or later). If this is the case for you, comment
|
|
|
|
# the line above this comment block and uncomment the one underneath it to
|
|
|
|
# get an rmagick version known to work on older distributions.
|
|
|
|
#
|
2012-02-01 20:24:43 +04:00
|
|
|
# The following distributions are known to *not* ship with a usable
|
2011-10-27 00:07:13 +04:00
|
|
|
# ImageMagick version. There might be additional ones.
|
|
|
|
# * Ubuntu 9.10 and older
|
|
|
|
# * Debian Lenny 5.0 and older
|
|
|
|
# * CentOS 5 and older
|
|
|
|
# * RedHat 5 and older
|
|
|
|
#
|
|
|
|
#gem "rmagick", "< 2.0.0"
|
2011-03-19 19:12:29 +03:00
|
|
|
end
|
|
|
|
|
2011-03-18 23:25:45 +03:00
|
|
|
# Use the commented pure ruby gems, if you have not the needed prerequisites on
|
|
|
|
# board to compile the native ones. Note, that their use is discouraged, since
|
|
|
|
# their integration is propbably not that well tested and their are slower in
|
|
|
|
# orders of magnitude compared to their native counterparts. You have been
|
|
|
|
# warned.
|
2011-08-22 01:12:21 +04:00
|
|
|
|
2012-06-02 16:18:43 +04:00
|
|
|
platforms :mri, :mingw, :rbx do
|
2011-03-18 23:25:45 +03:00
|
|
|
group :mysql2 do
|
2011-05-10 10:42:37 +04:00
|
|
|
gem "mysql2", "~> 0.2.7"
|
2011-03-18 23:25:45 +03:00
|
|
|
end
|
2011-07-25 23:22:57 +04:00
|
|
|
|
2011-03-18 23:25:45 +03:00
|
|
|
group :postgres do
|
2012-03-01 15:56:31 +04:00
|
|
|
gem "pg"
|
2011-03-18 23:25:45 +03:00
|
|
|
# gem "postgres-pr"
|
|
|
|
end
|
2011-07-23 01:08:39 +04:00
|
|
|
end
|
|
|
|
|
2011-09-23 23:27:44 +04:00
|
|
|
platforms :mri_18, :mingw_18 do
|
2011-10-31 20:33:51 +04:00
|
|
|
group :mysql do
|
|
|
|
gem "mysql"
|
|
|
|
# gem "ruby-mysql"
|
|
|
|
end
|
|
|
|
|
2011-03-18 23:25:45 +03:00
|
|
|
group :sqlite do
|
|
|
|
gem "sqlite3-ruby", "< 1.3", :require => "sqlite3"
|
2011-07-23 01:08:39 +04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2012-06-02 16:18:43 +04:00
|
|
|
platforms :mri_19, :mingw_19, :rbx do
|
2011-07-23 01:08:39 +04:00
|
|
|
group :sqlite do
|
|
|
|
gem "sqlite3"
|
2011-03-18 23:25:45 +03:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
platforms :jruby do
|
|
|
|
gem "jruby-openssl"
|
|
|
|
|
|
|
|
group :mysql do
|
|
|
|
gem "activerecord-jdbcmysql-adapter"
|
|
|
|
end
|
2011-07-25 23:22:57 +04:00
|
|
|
|
2011-03-18 23:25:45 +03:00
|
|
|
group :postgres do
|
|
|
|
gem "activerecord-jdbcpostgresql-adapter"
|
|
|
|
end
|
2011-07-25 23:22:57 +04:00
|
|
|
|
2011-03-18 23:25:45 +03:00
|
|
|
group :sqlite do
|
|
|
|
gem "activerecord-jdbcsqlite3-adapter"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2011-07-23 01:43:08 +04:00
|
|
|
# Load a "local" Gemfile
|
|
|
|
gemfile_local = File.join(File.dirname(__FILE__), "Gemfile.local")
|
|
|
|
if File.readable?(gemfile_local)
|
|
|
|
puts "Loading #{gemfile_local} ..." if $DEBUG
|
|
|
|
instance_eval(File.read(gemfile_local))
|
|
|
|
end
|
|
|
|
|
2011-03-18 23:25:45 +03:00
|
|
|
# Load plugins' Gemfiles
|
2012-01-11 15:02:25 +04:00
|
|
|
["plugins", "chiliproject_plugins"].each do |plugin_path|
|
|
|
|
Dir.glob File.expand_path("../vendor/#{plugin_path}/*/Gemfile", __FILE__) do |file|
|
|
|
|
puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v`
|
|
|
|
instance_eval File.read(file)
|
|
|
|
end
|
2011-03-18 23:25:45 +03:00
|
|
|
end
|