Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

Gemfile 2.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. source 'https://rubygems.org'
  2. ruby '>= 2.3.0', '< 2.7.0'
  3. gem "bundler", ">= 1.5.0"
  4. gem "rails", "5.2.4.1"
  5. gem 'rouge', '~> 3.15.0'
  6. gem 'request_store', '~> 1.5.0'
  7. gem "mini_mime", "~> 1.0.1"
  8. gem "actionpack-xml_parser"
  9. gem "roadie-rails", (RUBY_VERSION < "2.5" ? "~> 1.3.0" : "~> 2.1.0")
  10. gem "mimemagic"
  11. gem "mail", "~> 2.7.1"
  12. gem "csv", "~> 3.1.1"
  13. gem "nokogiri", "~> 1.10.0"
  14. gem "i18n", "~> 1.6.0"
  15. gem "rbpdf", "~> 1.20.0"
  16. # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
  17. gem 'tzinfo-data', platforms: [:mingw, :x64_mingw, :mswin]
  18. # Optional gem for LDAP authentication
  19. group :ldap do
  20. gem "net-ldap", "~> 0.16.0"
  21. end
  22. # Optional gem for OpenID authentication
  23. group :openid do
  24. gem "ruby-openid", "~> 2.9.2", :require => "openid"
  25. gem "rack-openid"
  26. end
  27. # Optional gem for exporting the gantt to a PNG file
  28. group :minimagick do
  29. gem 'mini_magick', '~> 4.10.1'
  30. end
  31. # Optional Markdown support, not for JRuby
  32. group :markdown do
  33. gem "redcarpet", "~> 3.5.0"
  34. end
  35. # Include database gems for the adapters found in the database
  36. # configuration file
  37. require 'erb'
  38. require 'yaml'
  39. database_file = File.join(File.dirname(__FILE__), "config/database.yml")
  40. if File.exist?(database_file)
  41. database_config = YAML::load(ERB.new(IO.read(database_file)).result)
  42. adapters = database_config.values.map {|c| c['adapter']}.compact.uniq
  43. if adapters.any?
  44. adapters.each do |adapter|
  45. case adapter
  46. when 'mysql2'
  47. gem "mysql2", "~> 0.5.0", :platforms => [:mri, :mingw, :x64_mingw]
  48. when /postgresql/
  49. gem "pg", "~> 1.2.2", :platforms => [:mri, :mingw, :x64_mingw]
  50. when /sqlite3/
  51. gem "sqlite3", "~> 1.4.0", :platforms => [:mri, :mingw, :x64_mingw]
  52. when /sqlserver/
  53. gem "tiny_tds", "~> 1.0.5", :platforms => [:mri, :mingw, :x64_mingw]
  54. gem "activerecord-sqlserver-adapter", :platforms => [:mri, :mingw, :x64_mingw]
  55. else
  56. warn("Unknown database adapter `#{adapter}` found in config/database.yml, use Gemfile.local to load your own database gems")
  57. end
  58. end
  59. else
  60. warn("No adapter found in config/database.yml, please configure it first")
  61. end
  62. else
  63. warn("Please configure your config/database.yml first")
  64. end
  65. group :development do
  66. gem "yard"
  67. end
  68. group :test do
  69. gem "rails-dom-testing"
  70. gem 'mocha', '>= 1.4.0'
  71. gem "simplecov", "~> 0.17.0", :require => false
  72. gem "ffi", platforms: [:mingw, :x64_mingw, :mswin]
  73. # For running system tests
  74. gem 'puma'
  75. gem "capybara", (RUBY_VERSION < "2.4" ? "~> 3.15.1" : "~> 3.29.0")
  76. gem "selenium-webdriver"
  77. # RuboCop
  78. gem 'rubocop', '~> 0.79.0'
  79. gem 'rubocop-performance', '~> 1.5.0'
  80. gem 'rubocop-rails', '~> 2.4.0'
  81. end
  82. local_gemfile = File.join(File.dirname(__FILE__), "Gemfile.local")
  83. if File.exists?(local_gemfile)
  84. eval_gemfile local_gemfile
  85. end
  86. # Load plugins' Gemfiles
  87. Dir.glob File.expand_path("../plugins/*/{Gemfile,PluginGemfile}", __FILE__) do |file|
  88. eval_gemfile file
  89. end