canvas-lms
canvas-lms copied to clipboard
Wrong bundle version
Summary:
To compile assets for Canvas one must use bundler version 2.2.19-2.2.30, i.e.
RAILS_ENV=production bundle _2.2.19_ exec rake canvas:compile_assets
When starting passenger I received the error superclass mismatch for class StringIO (TypeError) which seems to be related to a bug in bundler 2.2.19 and 2.2.30 (I tested both). The only thing that worked was to remove the old bundler versions and install bundler 2.3.5 instead (even though it couldn't be used in the compilation).
Steps to reproduce:
- RAILS_ENV=production bundle 2.2.19 exec rake canvas:compile_assets
- Try to start Passenger
Expected behavior:
Passenger starts
Actual behavior:
Passenger does not start because of superclass mismatch for class StringIO (TypeError)