-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathGemfile
More file actions
128 lines (100 loc) · 5.34 KB
/
Copy pathGemfile
File metadata and controls
128 lines (100 loc) · 5.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
# add jRuby versions by ruby-install jruby-9.4.7.0
# use chruby to switch between ruby versions
# ruby '3.1.4'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main'
# gem 'rails', '~> 6.1.7', '>= 6.1.7.2'
# Alternative instead of complete rails including actioncable etc., prev. version was 6.0.4
# rails_version = "7.0.0" # requires ruby >= 2.7.0 but jRuby 9.3.2.0 is compatible with ruby 2.6 only
# see: https://rubygems.org/gems/rails/versions
# rails_version = "6.1.7.10"
rails_version = "8.0.5"
#gem 'rails', rails_version
gem 'activerecord', rails_version
gem 'activemodel', rails_version
gem 'actionpack', rails_version
gem 'actionview', rails_version
# gem 'actionmailer', rails_version
gem 'activejob', rails_version
gem 'activesupport', rails_version
gem 'railties', rails_version
# 2025-04-23 avoid error with rel. 0.5.7: NameError: uninitialized constant Net::IMAP::Config::AttrTypeCoercion::Ractor
# gem 'net-imap', '0.5.6'
# to avoid "no such file to load -- sprockets/railtie" or "NoMethodError: undefined method `assets' for #<Rails::Application::Configuration"
# if sass-rails is moved to group :development
gem 'sprockets-rails'
# Use Puma as the app server
# gem 'puma', '~> 5.0'
gem 'puma'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.7'
# Use Active Model has_secure_password
# gem 'bcrypt', '~> 3.1.7'
# 2025-01-22 concurrent-ruby 1.3.5 raises: NameError: uninitialized constant ActiveSupport::LoggerThreadSafeLevel::Logger
# gem 'concurrent-ruby', '1.3.4'
# gem 'activerecord-oracle_enhanced-adapter', github: "rsim/oracle-enhanced", branch: "release70"
# gem 'activerecord-oracle_enhanced-adapter'
# Avoid dependency on oci8, see https://github.com/rsim/oracle-enhanced/issues/2350
# gem "activerecord-oracle_enhanced-adapter", github: "rsim/oracle-enhanced", branch: "release71"
# Use branch releae80 with the last commit from 2025-06-29
gem "activerecord-oracle_enhanced-adapter", github: 'rammpeter/oracle-enhanced', branch: 'release80', ref: 'c1094bc'
gem 'activerecord-nulldb-adapter'
# Use Json Web Token (JWT) for token based authentication
gem 'jwt'
# Used for XMl processing in bequeathed packages
gem 'rexml'
#### certain dependencies fixed to version according to system gems to be equal with default Gems in x86-64-linux or aarch64
# 2026-01-29 use current jar-dependencies
# gem 'jar-dependencies', '0.5.4' # Fix: You have already activated jar-dependencies 0.5.4, but your Gemfile requires jar-dependencies 0.5.5.
# gem 'psych', '5.2.3'
# gem 'io-console', '0.8.0'
group :development do
# Ensure that the whole rails is installed in development environment, but not used in dev exec., especially to call "rails server"
gem 'rails', rails_version
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
gem 'web-console', '>= 4.1.0'
# Display performance information such as SQL time and flame graphs for each request in your browser.
# Can be configured to work on production as well see: https://github.com/MiniProfiler/rack-mini-profiler/blob/master/README.md
gem 'rack-mini-profiler', '~> 2.0'
gem 'listen', '~> 3.3'
# Use SCSS for stylesheets
gem 'sass-rails', '>= 6'
# Needed to build executable lock_jars for jar-dependencies
# gem 'ruby-maven', '~> 3.9'
# For dev use the same version as in default system gems, to prevent at debug: Uncaught exception: You have already activated date 3.4.1, but your Gemfile requires date 3.5.1.
gem 'date', '3.4.1'
# Needed by net-imap, but not installed by default: Prevent from No such file or directory - /Users/pramm/.rubies/jruby-9.4.3.0/lib/ruby/gems/shared/gems/date-3.3.3-java
#gem 'date'
# gem 'jarbler', :git => 'https://github.com/rammpeter/jarbler.git', branch: 'pramm'
# gem 'jarbler', github: 'rammpeter/jarbler', branch: 'pramm'
# jarbler is installed by build_jar.sh, not needed in Gemfile
# gem 'jarbler'
gem 'brakeman'
# Needed for the Debugger. Fix: LoadError: cannot load such file -- ostruct
gem 'ostruct'
end
group :test do
# alternative to selenium
gem 'playwright-ruby-client'
gem 'minitest', '~> 5.20', require: false
# gem 'minitest', '5.26.0' # Rel. 6.0.1 causes ArgumentError: wrong number of arguments (given 3, expected 1..2) at minitest-6.0.1/lib/minitest.rb:472
# Probem fixed by change minitest.rb:472 "run self, method_name, reporter" to "Runnable.run self, method_name, reporter"
# https://github.com/minitest/minitest/issues/1063
end
group :development, :test do
# JavaScript minification at asset precompile time (config.assets.js_compressor = :terser).
# Terser handles ES6. Requires a JS runtime for ExecJS at BUILD time only: Node.js on the build machine
# (not bundled into the JAR, since assets are already precompiled there).
gem 'terser'
end
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:windows, :jruby]
# Exclude gems that are not really needed but may cause trouble
# fixes problems like: You have already activated erb 4.0.4, but your Gemfile requires erb 6.0.2.
no_require = File.readlines('excluded_gems.txt').map(&:strip).reject{|s| s.empty? || s.start_with?('#') }
no_require.each do |name|
unless ['minitest'].include?(name)
gem name, require: false
end
end