Hi , What a great plugin, thanks for your contribution. I got below error when install this plugin:
**It looks like Bundler could not find a gem. Maybe you didn't install all the gems that this application needs. To install your gems, please run:
bundle install
If that didn't work, then the problem is probably caused by your application being run under a different environment than it's supposed to. Please check the following:
Is this app supposed to be run as the apache user?
Is this app being run on the correct Ruby interpreter? Below you will see which Ruby interpreter Phusion Passenger attempted to use.
-------- The exception is as follows: -------
Could not find activerecord-compatible_legacy_migration-0.1.2 in any of the sources (Bundler::GemNotFound)
/usr/local/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.31/lib/bundler/definition.rb:502:in materialize' /usr/local/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.31/lib/bundler/definition.rb:189:inspecs'
/usr/local/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.31/lib/bundler/definition.rb:237:in specs_for' /usr/local/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.31/lib/bundler/runtime.rb:18:insetup'
/usr/local/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.31/lib/bundler.rb:150:in setup' /usr/local/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.31/lib/bundler/setup.rb:20:inblock in <top (required)>'
/usr/local/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.31/lib/bundler/ui/shell.rb:136:in with_level' /usr/local/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.31/lib/bundler/ui/shell.rb:88:insilence'
/usr/local/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.31/lib/bundler/setup.rb:20:in <top (required)>' /usr/local/rbenv/versions/2.7.2/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:inrequire'
/usr/local/rbenv/versions/2.7.2/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in require' /usr/share/passenger/phusion_passenger/loader_shared_helpers.rb:263:inblock in run_load_path_setup_code'
/usr/share/passenger/phusion_passenger/loader_shared_helpers.rb:366:in running_bundler' /usr/share/passenger/phusion_passenger/loader_shared_helpers.rb:261:inrun_load_path_setup_code'
/usr/share/passenger/helper-scripts/rack-preloader.rb:100:in preload_app' /usr/share/passenger/helper-scripts/rack-preloader.rb:158:in'
/usr/share/passenger/helper-scripts/rack-preloader.rb:29:in <module:PhusionPassenger>' /usr/share/passenger/helper-scripts/rack-preloader.rb:28:in'_**
My Environment:
_Redmine version 4.2.3.stable
Ruby version 2.7.2-p137 (2020-10-01) [x86_64-linux]
Rails version 5.2.6
Environment production
Database adapter Mysql2
Sometimes I also encountered this error when installing a few plugins,. Thanks for your help
Hi , What a great plugin, thanks for your contribution. I got below error when install this plugin:
**It looks like Bundler could not find a gem. Maybe you didn't install all the gems that this application needs. To install your gems, please run:
bundle install If that didn't work, then the problem is probably caused by your application being run under a different environment than it's supposed to. Please check the following:
Could not find activerecord-compatible_legacy_migration-0.1.2 in any of the sources (Bundler::GemNotFound) /usr/local/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.31/lib/bundler/definition.rb:502:in'
/usr/share/passenger/helper-scripts/rack-preloader.rb:29:in '_**
materialize' /usr/local/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.31/lib/bundler/definition.rb:189:in
specs' /usr/local/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.31/lib/bundler/definition.rb:237:inspecs_for' /usr/local/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.31/lib/bundler/runtime.rb:18:in
setup' /usr/local/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.31/lib/bundler.rb:150:insetup' /usr/local/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.31/lib/bundler/setup.rb:20:in
block in <top (required)>' /usr/local/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.31/lib/bundler/ui/shell.rb:136:inwith_level' /usr/local/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.31/lib/bundler/ui/shell.rb:88:in
silence' /usr/local/rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/bundler-2.2.31/lib/bundler/setup.rb:20:in<top (required)>' /usr/local/rbenv/versions/2.7.2/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in
require' /usr/local/rbenv/versions/2.7.2/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:inrequire' /usr/share/passenger/phusion_passenger/loader_shared_helpers.rb:263:in
block in run_load_path_setup_code' /usr/share/passenger/phusion_passenger/loader_shared_helpers.rb:366:inrunning_bundler' /usr/share/passenger/phusion_passenger/loader_shared_helpers.rb:261:in
run_load_path_setup_code' /usr/share/passenger/helper-scripts/rack-preloader.rb:100:inpreload_app' /usr/share/passenger/helper-scripts/rack-preloader.rb:158:in
<module:PhusionPassenger>' /usr/share/passenger/helper-scripts/rack-preloader.rb:28:in
My Environment: _Redmine version 4.2.3.stable Ruby version 2.7.2-p137 (2020-10-01) [x86_64-linux] Rails version 5.2.6 Environment production Database adapter Mysql2
Sometimes I also encountered this error when installing a few plugins,. Thanks for your help