Gemfile 1.56 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 14 15
  gem 'edavis10-object_daddy', :require => 'object_daddy'
  gem 'mocha'
end

16 17 18
group :openid do
  gem "ruby-openid", '~> 2.1.4', :require => 'openid'
end
Gregor Schmidt's avatar
Gregor Schmidt committed
19

20 21 22 23
group :rmagick do
  gem "rmagick", "~> 1.15.17"
end

Gregor Schmidt's avatar
Gregor Schmidt committed
24 25 26 27 28 29 30 31 32 33 34 35 36
# 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
37
    gem "mysql2", "~> 0.2.7"
Gregor Schmidt's avatar
Gregor Schmidt committed
38 39 40 41 42 43
  end
  
  group :postgres do
    gem "pg", "~> 0.9.0"
    #   gem "postgres-pr"
  end
44 45 46
end

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

platforms :mri_19 do
  group :sqlite do
    gem "sqlite3"
Gregor Schmidt's avatar
Gregor Schmidt committed
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75
  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 plugins' Gemfiles
Dir.glob File.expand_path("../vendor/plugins/*/Gemfile", __FILE__) do |file|
76
  puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v`
Gregor Schmidt's avatar
Gregor Schmidt committed
77 78
  instance_eval File.read(file)
end