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 3.0KB

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