Closed LordRatte closed 10 months ago
I found a workaround for now by appending the following to the Gemfile
gem 'strscan', '1.0.3'
I found a workaround for now by appending the following to the Gemfile
gem 'strscan', '1.0.3'
I'm having the same issue and while this workaround does work to start Canvas, the automated jobs daemon fails to start.
I found a workaround for now by appending the following to the Gemfile
gem 'strscan', '1.0.3'
I'm having the same issue and while this workaround does work to start Canvas, the automated jobs daemon fails to start.
Funny. My jobs server seems to be working fine. Are you on the exact same commit?
I am seeing the same issue. With or without gem 'strscan', '1.0.3'
delayed_job won't boot with the same "You have already activated" error. Adding the gem line does solve the apache passenger boot issue.
I'm using: Bundler 2.3.26 Ruby 2.7.7p221 built with ruby-build and installed into /usr/local/bin (not using rvm or rbenv) I've got passenger set to use that ruby, and logs indicate that passenger is using the right user account to boot
I'm able to get around this by updating the version of net-imap
to 0.3.4
in the Gemfile.d/app.rb
file. This removes the runtime dependency on the older strscan
and then everything is happy with the activated version of the default strscan
gem. I don't know if this will have other issues due to the gem bump, a quick review of the changelog on net-imap
makes me suspect it will be fine, and I'm not particularly concerned about imap integration in my use case, so you needs may vary. I also updated to bundler 2.4.8 and system rubygems to 3.4.8 which seems to aid in everything playing nice with the default gem for strscan. I'll continue to update here if I figure anything else out or find any issues with my approach.
Adding gem 'strscan', '3.0.5'
to the Gemfile will fixe this problem
Note : you have to install it using the following command : gem install strscan -v 3.0.5
it's possible to edit passenger config in virtualhost config (bundler option)
Adding
gem 'strscan', '3.0.5'
to the Gemfile will fixe this problemNote : you have to install it using the following command :
gem install strscan -v 3.0.5
I had a similar issue here. You might also have to set the new strscan version as default
Do not use --default
when manually installing a gem. It does not do what you think it does. It marks a gem as being part of the Ruby distribution.
That said, these dependencies have been updated on master, so you shouldn't be having these problems anymore.
Summary:
Steps to reproduce:
Expected behavior:
Passenger correctly serves Canvas.
Actual behavior:
Only Apache starts but Passenger quits with an error that seems to relate to the Canvas app.
Additional notes:
In the error message before I manually set the Ruby version to 2.7.4(-dev) but I also tried it before that with the official instructions of using the brightbox ppa and in that case it was using 2.7.5(-dev) and also failing in the same way.