2011-03-18 23:25:45 +03:00
|
|
|
source :rubygems
|
|
|
|
|
2011-06-10 21:43:12 +04:00
|
|
|
gem "rails", "2.3.12"
|
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-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'
|
|
|
|
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
|
|
|
|
gem "rmagick", "~> 1.15.17"
|
|
|
|
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.
|
|
|
|
#
|
|
|
|
platforms :mri do
|
|
|
|
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
|
|
|
|
|
|
|
|
group :postgres do
|
|
|
|
gem "pg", "~> 0.9.0"
|
|
|
|
# gem "postgres-pr"
|
|
|
|
end
|
2011-07-23 01:08:39 +04:00
|
|
|
end
|
|
|
|
|
|
|
|
platforms :mri_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
|
|
|
|
|
|
|
|
platforms :mri_19 do
|
|
|
|
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
|
|
|
|
|
|
|
|
group :postgres do
|
|
|
|
gem "activerecord-jdbcpostgresql-adapter"
|
|
|
|
end
|
|
|
|
|
|
|
|
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
|