Redmine Agile 敏捷开发插件单独安装教程【原创-亲测可用-一枚测试喵】

本文提供了一步步的Redmine Agile敏捷开发插件在Linux环境下的安装教程,包括确认并升级ruby到2.4.5,将插件复制到指定目录并解压,使用bundle install进行安装,最后重启Redmine以应用更改。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

redmine_agile-1_5_3-light.zip 

百度云链接:

或者网址:https://www.redmineplugins.cn/projects/1/plugin_blocks/2?tab=changelog

Supported Redmine versions: 4.1 - 2.6

安装步骤:

1、首先确认下自己ruby版本,进行bundle需要>=2.3.0,所以我们需要升级一下,此处我们升级到2.4.5,[截图在下面]

ruby-v

2、升级开始,[截图在下面]

yum install -y centos-release-scl-rh

yum install -y rh-ruby24

3、使升级后的配置生效,[截图在下面]

scl enable rh-ruby24 bash

4、查看当前ruby版本,[截图在下面]

[root@localhost ~]# ruby -v

效果:

ruby 2.4.6p354 (2019-04-01 revision 67394) [x86_64-linux]

至此 ruby 升级至 v2.4 完毕

5、将插件redmine_agile-1_5_3-light.zip 复制到/opt/redmine-4.1.1-2/apps/redmine/htdocs/plugins目录下,解压

[root@localhost plugins]# rz

[root@localhost plugins]# ll

总用量 160

-rw-rw-r--. 1 root daemon     31 4月   7 01:00 README

-rw-r--r--. 1 root root   157530 7月  20 15:17 redmine_agile-1_5_3-light.zip

[root@localhost plugins]# unzip redmine_agile-1_5_3-light.zip

6、进入/opt/redmine-4.1.1-2/目录下,运行use_redmine进入bash环境下

[root@localhost redmine-4.1.1-2]# cd /opt/redmine-4.1.1-2/

[root@localhost redmine-4.1.1-2]# ./use_redmine

7、下面如果可以直接运行 bundle install --without development test --no-deployment但是可能会报一些错,所以此时我们直接用命令sudo yum install -y gcc ruby-devel zlib-devel libxml2 libxml2-devel libxslt libxslt-devel make,然后进入apps/redmine/htdocs/目录下,执行bundle install --without development test --no-deployment

bash-4.2# bundle install --without development test --no-deployment

[DEPRECATED] The `--without` flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions. Instead please use `bundle config set without 'development test'`, and stop using this flag

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.

Could not locate Gemfile

bash-4.2# sudo yum install -y gcc ruby-devel zlib-devel libxml2 libxml2-devel libxslt libxslt-devel make

已加载插件:fastestmirror

......

bash-4.2# cd apps/redmine/htdocs/

bash-4.2# bundle install --without development test --no-deployment

bash-4.2# bundle exec rake redmine:plugins NAME=redmine_agile RAILS_ENV=production

8、重启redmine

bash-4.2# sudo /opt/redmine-4.1.1-2/ctlscript.sh restart

完毕

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值