Jump to content
Sign in to follow this  
madcry

ruby redmine updatge

Recommended Posts

Добрый день. Решил обновить redmine 3.4 to 4.0

Сделал всё по инструкции, был ряд проблем, но вроде устранил.Далее пробую зайти на веб и выдаёт ошибку - 

We're sorry, but something went wrong.

We've been notified about this issue and we'll take a look at it shortly.

Далее, я смотрю логи вижу:

<pre>Could not find activesupport-5.2.2 in any of the sources (Bundler::GemNotFound)
  /home/redmine/.rvm/gems/ruby-2.2.1/gems/bundler-1.11.2/lib/bundler/spec_set.rb:94:in `block in materialize&#39;
  /home/redmine/.rvm/gems/ruby-2.2.1/gems/bundler-1.11.2/lib/bundler/spec_set.rb:87:in `map!&#39;
  /home/redmine/.rvm/gems/ruby-2.2.1/gems/bundler-1.11.2/lib/bundler/spec_set.rb:87:in `materialize&#39;
  /home/redmine/.rvm/gems/ruby-2.2.1/gems/bundler-1.11.2/lib/bundler/definition.rb:137:in `specs&#39;
  /home/redmine/.rvm/gems/ruby-2.2.1/gems/bundler-1.11.2/lib/bundler/definition.rb:182:in `specs_for&#39;
  /home/redmine/.rvm/gems/ruby-2.2.1/gems/bundler-1.11.2/lib/bundler/definition.rb:171:in `requested_specs&#39;
  /home/redmine/.rvm/gems/ruby-2.2.1/gems/bundler-1.11.2/lib/bundler/environment.rb:18:in `requested_specs&#39;
  /home/redmine/.rvm/gems/ruby-2.2.1/gems/bundler-1.11.2/lib/bundler/runtime.rb:13:in `setup&#39;
  /home/redmine/.rvm/gems/ruby-2.2.1/gems/bundler-1.11.2/lib/bundler.rb:92:in `setup&#39;
  /home/redmine/.rvm/gems/ruby-2.2.1/gems/bundler-1.11.2/lib/bundler/setup.rb:18:in `&lt;top (required)&gt;&#39;
  /home/redmine/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require&#39;
  /home/redmine/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require&#39;
  /home/redmine/.rvm/gems/ruby-2.2.1/gems/passenger-5.0.24/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:430:in `activate_gem&#39;
  /home/redmine/.rvm/gems/ruby-2.2.1/gems/passenger-5.0.24/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:297:in `block in run_load_path_setup_code&#39;
  /home/redmine/.rvm/gems/ruby-2.2.1/gems/passenger-5.0.24/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:435:in `running_bundler&#39;
  /home/redmine/.rvm/gems/ruby-2.2.1/gems/passenger-5.0.24/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:296:in `run_load_path_setup_code&#39;
  /home/redmine/.rvm/gems/ruby-2.2.1/gems/passenger-5.0.24/src/helper-scripts/rack-preloader.rb:100:in `preload_app&#39;
  /home/redmine/.rvm/gems/ruby-2.2.1/gems/passenger-5.0.24/src/helper-scripts/rack-preloader.rb:156:in `&lt;module:App&gt;&#39;
  /home/redmine/.rvm/gems/ruby-2.2.1/gems/passenger-5.0.24/src/helper-scripts/rack-preloader.rb:30:in `&lt;module:PhusionPassenger&gt;&#39;
  /home/redmine/.rvm/gems/ruby-2.2.1/gems/passenger-5.0.24/src/helper-scripts/rack-preloader.rb:29:in `&lt;main&gt;&#39;</pre>

Версия руби
redmine@srv-redmine:/opt/redmine-4.0.0$ ruby -v
ruby 2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]

Bundler             1.16.2
  Platforms         ruby, x86_64-linux
Ruby                2.5.3p105 (2018-10-18 revision 65156) [x86_64-linux]
  Full Path         /usr/share/rvm/rubies/ruby-2.5.3/bin/ruby
  Config Dir        /etc
RubyGems            2.7.7
  Gem Home          /home/redmine/.rvm/gems/ruby-2.5.3
  Gem Path          /home/redmine/.rvm/gems/ruby-2.5.3:/home/redmine/.rvm/gems/ruby-2.5.3@global
  User Path         /home/redmine/.gem/ruby/2.5.0
  Bin Dir           /home/redmine/.rvm/gems/ruby-2.5.3/bin
Tools
  Git               2.7.4
  RVM               1.29.6 (manual)
  rbenv             not installed
  chruby            not installed
  rubygems-bundler  (1.4.5)
Не могли бы вы подсказать, как мне указать путь к   /home/redmine/.rvm/gems/ruby-2.5.3/gems/ ?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...