You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Gemfile 2.0KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. source 'http://rubygems.org'
  2. gem 'rails', '3.2.8'
  3. gem "jquery-rails", "~> 2.0.2"
  4. gem "i18n", "~> 0.6.0"
  5. gem "coderay", "~> 1.0.6"
  6. gem "fastercsv", "~> 1.5.0", :platforms => [:mri_18, :mingw_18, :jruby]
  7. gem "builder", "3.0.0"
  8. # Optional gem for LDAP authentication
  9. group :ldap do
  10. gem "net-ldap", "~> 0.3.1"
  11. end
  12. # Optional gem for OpenID authentication
  13. group :openid do
  14. gem "ruby-openid", "~> 2.1.4", :require => "openid"
  15. gem "rack-openid"
  16. end
  17. # Optional gem for exporting the gantt to a PNG file, not supported with jruby
  18. platforms :mri, :mingw do
  19. group :rmagick do
  20. # RMagick 2 supports ruby 1.9
  21. # RMagick 1 would be fine for ruby 1.8 but Bundler does not support
  22. # different requirements for the same gem on different platforms
  23. gem "rmagick", ">= 2.0.0"
  24. end
  25. end
  26. # Database gems
  27. platforms :mri, :mingw do
  28. group :postgresql do
  29. gem "pg", ">= 0.11.0"
  30. end
  31. group :sqlite do
  32. gem "sqlite3"
  33. end
  34. end
  35. platforms :mri_18, :mingw_18 do
  36. group :mysql do
  37. gem "mysql"
  38. end
  39. end
  40. platforms :mri_19, :mingw_19 do
  41. group :mysql do
  42. gem "mysql2", "~> 0.3.11"
  43. end
  44. end
  45. platforms :jruby do
  46. gem "jruby-openssl"
  47. group :mysql do
  48. gem "activerecord-jdbcmysql-adapter"
  49. end
  50. group :postgresql do
  51. gem "activerecord-jdbcpostgresql-adapter"
  52. end
  53. group :sqlite do
  54. gem "activerecord-jdbcsqlite3-adapter"
  55. end
  56. end
  57. group :development do
  58. gem "rdoc", ">= 2.4.2"
  59. gem "yard"
  60. end
  61. group :test do
  62. gem "shoulda", "~> 2.11"
  63. # Shoulda does not work nice on Ruby 1.9.3 and seems to need test-unit explicitely.
  64. gem "test-unit", :platforms => [:mri_19]
  65. gem "mocha", "0.12.3"
  66. end
  67. local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")
  68. if File.exists?(local_gemfile)
  69. puts "Loading Gemfile.local ..." if $DEBUG # `ruby -d` or `bundle -v`
  70. instance_eval File.read(local_gemfile)
  71. end
  72. # Load plugins' Gemfiles
  73. Dir.glob File.expand_path("../plugins/*/Gemfile", __FILE__) do |file|
  74. puts "Loading #{file} ..." if $DEBUG # `ruby -d` or `bundle -v`
  75. instance_eval File.read(file)
  76. end