future-architect / redmine_gitlab_adapter

'This is a Gitlab Adapter plugin for Redmine'
MIT License
15 stars 5 forks source link

Settings page error - Redline 4.0.7 #1

Closed im-ikao closed 2 years ago

im-ikao commented 2 years ago

ActionView::Template::Error (uninitialized constant #::Gitlab): 10: <%= l(:text_scm_command_version) %> 11: 12: <% Redmine::Scm::Base.all.collect do |choice| %> 13: <% scm_class = "Repository::#{choice}".constantize %> 14: <% text, value = (choice.is_a?(Array) ? choice : [choice, choice]) %> 15: <% setting = :enabled_scm %> 16: <% enabled = Setting.send(setting).include?(value) %>

app/views/settings/_repositories.html.erb:13:in block (2 levels) in _app_views_settings__repositories_html_erb__1351165689430309301_46921946125160' app/views/settings/_repositories.html.erb:12:incollect' app/views/settings/_repositories.html.erb:12:in block in _app_views_settings__repositories_html_erb__1351165689430309301_46921946125160' app/views/settings/_repositories.html.erb:1:in_app_views_settingsrepositories_html_erb1351165689430309301_46921946125160' app/views/common/_tabs.html.erb:17:in block in _app_views_common__tabs_html_erb__1227372980101744441_46921921741860' app/views/common/_tabs.html.erb:16:ineach' app/views/common/_tabs.html.erb:16:in _app_views_common__tabs_html_erb__1227372980101744441_46921921741860' app/helpers/application_helper.rb:386:inrender_tabs' app/views/settings/edit.html.erb:5:in _app_views_settings_edit_html_erb__2408847084055145564_46921921812260' app/controllers/settings_controller.rb:31:inindex' lib/redmine/sudo_mode.rb:63:in `sudo_mode'

komatsuyuji commented 2 years ago

Did you run 'bundle install' to install ruby llibrary gitlab v4.14.0. Please read the installation of README.md.