Skip to content
Snippets Groups Projects
Gemfile 2.74 KiB
Newer Older
Gregor Schmidt's avatar
Gregor Schmidt committed
source :rubygems

gem "rails", "2.3.14"
Gregor Schmidt's avatar
Gregor Schmidt committed

gem "coderay", "~> 0.9.7"
Gregor Schmidt's avatar
Gregor Schmidt committed
gem "rubytree", "~> 0.5.2", :require => 'tree'
# 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]
Gregor Schmidt's avatar
Gregor Schmidt committed
  gem 'edavis10-object_daddy', :require => 'object_daddy'
  gem 'mocha'
  platforms :mri_18, :mingw_18 do gem 'ruby-debug' end
  platforms :mri_19, :mingw_19 do gem 'ruby-debug19', :require => 'ruby-debug' end
Gregor Schmidt's avatar
Gregor Schmidt committed
end

group :openid do
  gem "ruby-openid", '~> 2.1.4', :require => 'openid'
end
group :rmagick do
Holger Just's avatar
Holger Just committed
  gem "rmagick", ">= 1.15.17"
  # Older distributions might not have a sufficiently new ImageMagick version
  # for the current rmagick release (current rmagick is rmagick 2, which
  # requires ImageMagick 6.4.9 or later). 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 distributions.
  #
  # The following distributíons are known to *not* ship with a usable
  # ImageMagick version. There might be additional ones.
  #   * Ubuntu 9.10 and older
  #   * Debian Lenny 5.0 and older
  #   * CentOS 5 and older
  #   * RedHat 5 and older
  #
  #gem "rmagick", "< 2.0.0"
Gregor Schmidt's avatar
Gregor Schmidt committed
# 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, :mingw do
Gregor Schmidt's avatar
Gregor Schmidt committed
  group :mysql2 do
Gregor Schmidt's avatar
Gregor Schmidt committed
  end
Gregor Schmidt's avatar
Gregor Schmidt committed
  group :postgres do
    gem "pg", "~> 0.9.0"
    #   gem "postgres-pr"
  end
platforms :mri_18, :mingw_18 do
Gregor Schmidt's avatar
Gregor Schmidt committed
  group :sqlite do
    gem "sqlite3-ruby", "< 1.3", :require => "sqlite3"
platforms :mri_19, :mingw_19 do
Gregor Schmidt's avatar
Gregor Schmidt committed
  end
end

platforms :jruby do
  gem "jruby-openssl"

  group :mysql do
    gem "activerecord-jdbcmysql-adapter"
  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

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