项目

一般

简介

插件目录 » Redmine Materials 物资管理插件(Redmine4.*兼容版)

评论

#1 Chen Snowman大约一个月 之前添加

增加环境变量参数,再试下 RAILS_ENV=production bundle exec rake redmine:plugins:migrate

#2 zl6536 zl6536大约一个月 之前添加

/opt/redmine-4.1.1-3/apps/redmine/htdocs
bash-4.2#
bash-4.2#
bash-4.2# bundle install
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
[DEPRECATED] Your Gemfile contains multiple primary sources. Using `source` more than once without a block is a security risk, and may result in installing unexpected gems. To resolve this warning, use a block to indicate which gems should come from the secondary source. To upgrade this warning to an error, run `bundle config set disable_multisource true`.
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x64-mingw32, x86-mswin32. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x64-mingw32 x86-mswin32`.
The dependency ffi (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x64-mingw32, x86-mswin32. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x64-mingw32 x86-mswin32`.
Using rake 13.0.1
Using concurrent-ruby 1.1.6
Using i18n 1.6.0
Using minitest 5.14.0
Using thread_safe 0.3.6
Using tzinfo 1.2.7
Using activesupport 5.2.4.2
Using builder 3.2.4
Using erubi 1.9.0
Using mini_portile2 2.4.0
Using nokogiri 1.10.9
Using rails-dom-testing 2.0.3
Using crass 1.0.6
Using loofah 2.5.0
Using rails-html-sanitizer 1.3.0
Using actionview 5.2.4.2
Using rack 2.2.2
Using rack-test 1.1.0
Using actionpack 5.2.4.2
Using nio4r 2.5.2
Using websocket-extensions 0.1.4
Using websocket-driver 0.7.1
Using actioncable 5.2.4.2
Using globalid 0.4.2
Using activejob 5.2.4.2
Using mini_mime 1.0.2
Using mail 2.7.1
Using actionmailer 5.2.4.2
Using method_source 1.0.0
Using thor 1.0.1
Using railties 5.2.4.2
Using actionpack-xml_parser 2.0.1
Using activemodel 5.2.4.2
Using arel 9.0.0
Using activerecord 5.2.4.2
Using mimemagic 0.3.4
Using marcel 0.3.3
Using activestorage 5.2.4.2
Using public_suffix 4.0.4
Using addressable 2.7.0
Using awesome_nested_set 3.2.1
Using coderay 1.1.3
Using better_errors 2.8.1
Using debug_inspector 0.0.3
Using binding_of_caller 0.8.0
Using bundler 2.1.2
Using climate_control 0.2.0
Using css_parser 1.7.1
Using csv 3.1.2
Using temple 0.8.2
Using tilt 2.0.10
Using haml 5.1.2
Using htmlentities 4.3.4
Using jquery-rails 4.4.0
Using kaminari-core 1.2.1
Using kaminari-actionview 1.2.1
Using kaminari-activerecord 1.2.1
Using kaminari 1.2.1
Using liquid 2.6.3
Using mime-types-data 3.2020.0512
Using mime-types 3.3.1
Using mini_magick 4.9.5
Using multi_json 1.15.0
Using mysql2 0.5.3
Using net-ldap 0.16.2
Using pandoc-ruby 2.1.4
Using terrapin 0.6.0
Using paperclip 6.1.0
Using ruby-openid 2.9.2
Using rack-openid 1.4.2
Using rack-raw-upload 1.1.1
Using sprockets 4.0.0
Using sprockets-rails 3.2.1
Using rails 5.2.4.2
Using rbpdf-font 1.19.1
Using rbpdf 1.20.1
Using redcarpet 3.5.0
Using rubyzip 2.3.0
Using redmine_crm 0.0.54
Using request_store 1.4.1
Using rich 1.4.8 from https://github.com/a-ono/rich.git (at 1.5.2@f5b5b07)
Using roadie 4.0.0
Using roadie-rails 2.1.1
Using rouge 3.12.0
Using ruby-filemagic 0.7.2
Using ya2yaml 0.31
Bundle complete! 47 Gemfile dependencies, 86 gems now installed.
Gems in the groups development, test and sqlite were not installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
bash-4.2# bundle exec rake redmine:plugins:migrate
rake aborted!
Mysql2::Error::ConnectionError: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
/opt/redmine-4.1.1-3/apps/redmine/htdocs/plugins/accept/init.rb:11:in `block in <top (required)>'
/opt/redmine-4.1.1-3/apps/redmine/htdocs/lib/redmine/plugin.rb:94:in `instance_eval'
/opt/redmine-4.1.1-3/apps/redmine/htdocs/lib/redmine/plugin.rb:94:in `register'
/opt/redmine-4.1.1-3/apps/redmine/htdocs/plugins/accept/init.rb:4:in `<top (required)>'
/opt/redmine-4.1.1-3/apps/redmine/htdocs/lib/redmine/plugin.rb:181:in `block in load'
/opt/redmine-4.1.1-3/apps/redmine/htdocs/lib/redmine/plugin.rb:172:in `each'
/opt/redmine-4.1.1-3/apps/redmine/htdocs/lib/redmine/plugin.rb:172:in `load'
/opt/redmine-4.1.1-3/apps/redmine/htdocs/config/initializers/30-redmine.rb:20:in `<top (required)>'
/opt/redmine-4.1.1-3/apps/redmine/htdocs/config/environment.rb:16:in `<top (required)>'
Tasks: TOP => redmine:plugins:migrate => environment
(See full trace by running task with --trace)
bash-4.2#

添加评论