89 lines
1.9 KiB
Ruby
89 lines
1.9 KiB
Ruby
source :rubygems
|
|
|
|
gem "rails", "2.3.12"
|
|
|
|
gem "coderay", "~> 0.9.7"
|
|
gem "i18n", "~> 0.4.2"
|
|
gem "rubytree", "~> 0.5.2", :require => 'tree'
|
|
gem "rdoc", ">= 2.4.2"
|
|
|
|
group :test do
|
|
gem 'shoulda', '~> 2.10.3'
|
|
gem 'edavis10-object_daddy', :require => 'object_daddy'
|
|
gem 'mocha'
|
|
|
|
platforms :mri_18 do gem 'ruby-debug' end
|
|
platforms :mri_19 do gem 'ruby-debug19', :require => 'ruby-debug' end
|
|
end
|
|
|
|
group :openid do
|
|
gem "ruby-openid", '~> 2.1.4', :require => 'openid'
|
|
end
|
|
|
|
group :rmagick do
|
|
gem "rmagick", "~> 1.15.17"
|
|
end
|
|
|
|
# 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
|
|
gem "mysql2", "~> 0.2.7"
|
|
end
|
|
|
|
group :postgres do
|
|
gem "pg", "~> 0.9.0"
|
|
# gem "postgres-pr"
|
|
end
|
|
end
|
|
|
|
platforms :mri_18 do
|
|
group :sqlite do
|
|
gem "sqlite3-ruby", "< 1.3", :require => "sqlite3"
|
|
end
|
|
end
|
|
|
|
platforms :mri_19 do
|
|
group :sqlite do
|
|
gem "sqlite3"
|
|
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
|
|
|
|
# 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
|
|
|
|
# Load plugins' Gemfiles
|
|
Dir.glob File.expand_path("../vendor/plugins/*/Gemfile", __FILE__) do |file|
|
|
puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v`
|
|
instance_eval File.read(file)
|
|
end
|