Skip to content

Commit

Permalink
[#159818] Update Gemfile to support Ruby 3.0 upgrade (#3502)
Browse files Browse the repository at this point in the history
Add matrix gem because prawn hasn't had a new release in 2 years

prawnpdf/prawn#1195
prawnpdf/prawn#1210

Discovered while attempting a stage release:
```
SSHKit::Runner::ExecuteError: Exception while executing as nucore@tablexi-shared02.txihosting.com: rake exit status: 1
rake stdout: Nothing written
rake stderr: rake aborted!
LoadError: cannot load such file -- matrix
/home/nucore/nucore.stage.tablexi.com/shared/bundle/ruby/3.1.0/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in `require'
/home/nucore/nucore.stage.tablexi.com/shared/bundle/ruby/3.1.0/gems/activesupport-6.1.7.3/lib/active_support/dependencies.rb:332:in `block in require'
/home/nucore/nucore.stage.tablexi.com/shared/bundle/ruby/3.1.0/gems/activesupport-6.1.7.3/lib/active_support/dependencies.rb:299:in `load_dependency'
/home/nucore/nucore.stage.tablexi.com/shared/bundle/ruby/3.1.0/gems/activesupport-6.1.7.3/lib/active_support/dependencies.rb:332:in `require'
/home/nucore/nucore.stage.tablexi.com/shared/bundle/ruby/3.1.0/gems/prawn-2.4.0/lib/prawn/transformation_stack.rb:10:in `<main>'
```
  • Loading branch information
giladshanan authored May 10, 2023
1 parent 498a5c1 commit a8fe673
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,8 @@ gem "rubyzip"

## PDF generation
gem "prawn-rails"
# https://github.com/prawnpdf/prawn/issues/1195
gem "matrix"

## other
gem "delayed_job_active_record"
Expand Down
1 change: 1 addition & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -720,6 +720,7 @@ DEPENDENCIES
kt-paperclip
ldap_authentication!
letter_opener
matrix
mysql2
nested_form_fields
net-imap
Expand Down

0 comments on commit a8fe673

Please sign in to comment.