2011-11-25 11:23:34 -08:00
|
|
|
# -*- coding: utf-8 -*-
|
2011-03-18 21:25:45 +01:00
|
|
|
source :rubygems
|
|
|
|
|
2011-08-22 22:07:38 +02:00
|
|
|
gem "rails", "2.3.14"
|
2011-03-18 21:25:45 +01:00
|
|
|
|
2011-10-29 11:35:16 +02:00
|
|
|
gem "coderay", "~> 1.0.0"
|
2011-03-19 22:38:03 +01:00
|
|
|
gem "i18n", "~> 0.4.2"
|
2011-03-18 21:25:45 +01:00
|
|
|
gem "rubytree", "~> 0.5.2", :require => 'tree'
|
2011-06-16 11:20:49 +02:00
|
|
|
gem "rdoc", ">= 2.4.2"
|
2011-04-26 12:42:17 -07:00
|
|
|
gem "liquid", "~> 2.3.0"
|
2011-12-01 15:58:05 -08:00
|
|
|
gem "acts-as-taggable-on", "= 2.1.0"
|
2012-06-09 10:47:32 +02:00
|
|
|
gem 'gravatarify', '~> 3.0.0'
|
2011-08-21 23:36:03 +02: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-18 18:15:08 +01:00
|
|
|
gem "tzinfo", "~> 0.3.31" # Fixes #903. Not required for Rails >= 3.2
|
2011-03-18 21:25:45 +01:00
|
|
|
|
2011-03-19 22:36:39 +01:00
|
|
|
group :test do
|
2011-03-19 16:04:43 +01:00
|
|
|
gem 'shoulda', '~> 2.10.3'
|
2012-04-28 15:52:29 +02: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 21:25:45 +01:00
|
|
|
gem 'edavis10-object_daddy', :require => 'object_daddy'
|
|
|
|
gem 'mocha'
|
2011-12-01 16:46:50 -08:00
|
|
|
gem 'capybara'
|
2011-03-18 21:25:45 +01:00
|
|
|
end
|
|
|
|
|
2011-11-25 20:54:23 +01:00
|
|
|
group :ldap do
|
|
|
|
gem "net-ldap", '~> 0.2.2'
|
|
|
|
end
|
|
|
|
|
2011-03-19 17:03:58 +01:00
|
|
|
group :openid do
|
|
|
|
gem "ruby-openid", '~> 2.1.4', :require => 'openid'
|
|
|
|
end
|
2011-03-18 21:25:45 +01:00
|
|
|
|
2011-03-19 17:12:29 +01:00
|
|
|
group :rmagick do
|
2011-10-26 22:18:33 +02:00
|
|
|
gem "rmagick", ">= 1.15.17"
|
2011-10-26 22:07:13 +02: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 17:24:43 +01:00
|
|
|
# The following distributions are known to *not* ship with a usable
|
2011-10-26 22:07:13 +02: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 17:12:29 +01:00
|
|
|
end
|
|
|
|
|
2011-03-18 21:25:45 +01: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-21 23:12:21 +02:00
|
|
|
|
2012-06-02 14:18:43 +02:00
|
|
|
platforms :mri, :mingw, :rbx do
|
2011-03-18 21:25:45 +01:00
|
|
|
group :mysql2 do
|
2011-05-10 08:42:37 +02:00
|
|
|
gem "mysql2", "~> 0.2.7"
|
2011-03-18 21:25:45 +01:00
|
|
|
end
|
2011-07-25 21:22:57 +02:00
|
|
|
|
2011-03-18 21:25:45 +01:00
|
|
|
group :postgres do
|
2012-03-01 12:56:31 +01:00
|
|
|
gem "pg"
|
2011-03-18 21:25:45 +01:00
|
|
|
# gem "postgres-pr"
|
|
|
|
end
|
2011-07-22 14:08:39 -07:00
|
|
|
end
|
|
|
|
|
2011-09-23 21:27:44 +02:00
|
|
|
platforms :mri_18, :mingw_18 do
|
2011-10-31 17:33:51 +01:00
|
|
|
group :mysql do
|
|
|
|
gem "mysql"
|
|
|
|
# gem "ruby-mysql"
|
|
|
|
end
|
|
|
|
|
2011-03-18 21:25:45 +01:00
|
|
|
group :sqlite do
|
|
|
|
gem "sqlite3-ruby", "< 1.3", :require => "sqlite3"
|
2011-07-22 14:08:39 -07:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2012-06-02 14:18:43 +02:00
|
|
|
platforms :mri_19, :mingw_19, :rbx do
|
2011-07-22 14:08:39 -07:00
|
|
|
group :sqlite do
|
|
|
|
gem "sqlite3"
|
2011-03-18 21:25:45 +01:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
platforms :jruby do
|
|
|
|
gem "jruby-openssl"
|
|
|
|
|
|
|
|
group :mysql do
|
|
|
|
gem "activerecord-jdbcmysql-adapter"
|
|
|
|
end
|
2011-07-25 21:22:57 +02:00
|
|
|
|
2011-03-18 21:25:45 +01:00
|
|
|
group :postgres do
|
|
|
|
gem "activerecord-jdbcpostgresql-adapter"
|
|
|
|
end
|
2011-07-25 21:22:57 +02:00
|
|
|
|
2011-03-18 21:25:45 +01:00
|
|
|
group :sqlite do
|
|
|
|
gem "activerecord-jdbcsqlite3-adapter"
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2011-07-22 14:43:08 -07: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 21:25:45 +01:00
|
|
|
# Load plugins' Gemfiles
|
2012-01-11 12:02:25 +01: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 21:25:45 +01:00
|
|
|
end
|