2011-03-18 23:25:45 +03:00
|
|
|
source :rubygems
|
|
|
|
|
2011-08-23 00:07:38 +04:00
|
|
|
gem "rails", "2.3.14"
|
2011-03-18 23:25:45 +03:00
|
|
|
|
|
|
|
gem "coderay", "~> 0.9.7"
|
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-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]
|
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'
|
2011-03-18 23:25:45 +03:00
|
|
|
gem 'edavis10-object_daddy', :require => 'object_daddy'
|
|
|
|
gem 'mocha'
|
2011-07-25 23:22:57 +04:00
|
|
|
|
2011-09-23 23:27:44 +04:00
|
|
|
platforms :mri_18, :mingw_18 do gem 'ruby-debug' end
|
|
|
|
platforms :mri_19, :mingw_19 do gem 'ruby-debug19', :require => 'ruby-debug' end
|
2011-03-18 23:25:45 +03: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-26 20:45:57 +04:00
|
|
|
gem "rmagick"
|
|
|
|
# Older distributions might not have a sufficiently new ImageMagick version for
|
|
|
|
# the current rmagick release (current rmagick is rmagick 2, which requires
|
|
|
|
# ImageMagick 6.3.0 or above). 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 distros.
|
|
|
|
# The following distros (there might be more) don't ship with a new enough
|
|
|
|
# ImageMagick version:
|
|
|
|
# * Ubuntu 8.04 and older
|
|
|
|
# * Debian (except testing)
|
|
|
|
# * CentOS 5 and older
|
|
|
|
# * RedHat 5 and older
|
|
|
|
#gem "rmagick", "~> 1.15.17"
|
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
|
|
|
|
2011-09-23 23:27:44 +04:00
|
|
|
platforms :mri, :mingw do
|
2011-03-18 23:25:45 +03:00
|
|
|
group :mysql do
|
|
|
|
gem "mysql"
|
|
|
|
# gem "ruby-mysql"
|
|
|
|
end
|
|
|
|
|
|
|
|
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
|
|
|
|
gem "pg", "~> 0.9.0"
|
|
|
|
# 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-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
|
|
|
|
|
2011-09-23 23:27:44 +04:00
|
|
|
platforms :mri_19, :mingw_19 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
|
|
|
|
Dir.glob File.expand_path("../vendor/plugins/*/Gemfile", __FILE__) do |file|
|
2011-05-13 20:17:29 +04:00
|
|
|
puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v`
|
2011-03-18 23:25:45 +03:00
|
|
|
instance_eval File.read(file)
|
|
|
|
end
|