Gemfile 1.88 KB
Newer Older
Gregor Schmidt's avatar
Gregor Schmidt committed
1 2
source :rubygems

3
gem "rails", "2.3.12"
Gregor Schmidt's avatar
Gregor Schmidt committed
4 5

gem "coderay", "~> 0.9.7"
6
gem "i18n", "~> 0.4.2"
Gregor Schmidt's avatar
Gregor Schmidt committed
7
gem "rubytree", "~> 0.5.2", :require => 'tree'
8
gem "rdoc", ">= 2.4.2"
Gregor Schmidt's avatar
Gregor Schmidt committed
9

10
group :test do
11
  gem 'shoulda', '~> 2.10.3'
Gregor Schmidt's avatar
Gregor Schmidt committed
12 13
  gem 'edavis10-object_daddy', :require => 'object_daddy'
  gem 'mocha'
14 15 16

  platforms :mri_18 do gem 'ruby-debug' end
  platforms :mri_19 do gem 'ruby-debug19', :require => 'ruby-debug' end
Gregor Schmidt's avatar
Gregor Schmidt committed
17 18
end

19 20 21
group :openid do
  gem "ruby-openid", '~> 2.1.4', :require => 'openid'
end
Gregor Schmidt's avatar
Gregor Schmidt committed
22

23 24 25 26
group :rmagick do
  gem "rmagick", "~> 1.15.17"
end

Gregor Schmidt's avatar
Gregor Schmidt committed
27 28 29 30 31 32 33 34 35 36 37 38 39
# 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
40
    gem "mysql2", "~> 0.2.7"
Gregor Schmidt's avatar
Gregor Schmidt committed
41
  end
42

Gregor Schmidt's avatar
Gregor Schmidt committed
43 44 45 46
  group :postgres do
    gem "pg", "~> 0.9.0"
    #   gem "postgres-pr"
  end
47 48 49
end

platforms :mri_18 do
Gregor Schmidt's avatar
Gregor Schmidt committed
50 51
  group :sqlite do
    gem "sqlite3-ruby", "< 1.3", :require => "sqlite3"
52 53 54 55 56 57
  end
end

platforms :mri_19 do
  group :sqlite do
    gem "sqlite3"
Gregor Schmidt's avatar
Gregor Schmidt committed
58 59 60 61 62 63 64 65 66
  end
end

platforms :jruby do
  gem "jruby-openssl"

  group :mysql do
    gem "activerecord-jdbcmysql-adapter"
  end
67

Gregor Schmidt's avatar
Gregor Schmidt committed
68 69 70
  group :postgres do
    gem "activerecord-jdbcpostgresql-adapter"
  end
71

Gregor Schmidt's avatar
Gregor Schmidt committed
72 73 74 75 76
  group :sqlite do
    gem "activerecord-jdbcsqlite3-adapter"
  end
end

77 78 79 80 81 82 83
# 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

Gregor Schmidt's avatar
Gregor Schmidt committed
84 85
# Load plugins' Gemfiles
Dir.glob File.expand_path("../vendor/plugins/*/Gemfile", __FILE__) do |file|
86
  puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v`
Gregor Schmidt's avatar
Gregor Schmidt committed
87 88
  instance_eval File.read(file)
end