Skip to content

Commit

Permalink
Fix for Ruby 3.4 (head)
Browse files Browse the repository at this point in the history
Failure/Error: require 'rails/all'

LoadError:
  cannot load such file -- base64
  cannot load such file -- drb
  cannot load such file -- bigdecimal
  cannot load such file -- mutex_m
  • Loading branch information
n-rodriguez committed Mar 15, 2024
1 parent 9c5f5fb commit 1ef1d95
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ AllCops:
Gemspec/DevelopmentDependencies:
Enabled: false

Gemspec/RubyVersionGlobalsUsage:
Enabled: false

Gemspec/RequireMFA:
Enabled: false

Expand Down
7 changes: 7 additions & 0 deletions route_translator.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,11 @@ Gem::Specification.new do |s|
s.add_development_dependency 'net-pop'
s.add_development_dependency 'net-smtp'
end

if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3.4.0')
s.add_runtime_dependency 'base64'
s.add_runtime_dependency 'drb'
s.add_runtime_dependency 'bigdecimal'
s.add_runtime_dependency 'mutex_m'
end
end

0 comments on commit 1ef1d95

Please sign in to comment.