我的系统配置:Win 8.1 + SQL 2016 Expr SP1 + Redmine DB(类型 SQL 2012 CS AI)+ Redmine 3.3.1 + Ruby 2.3.3 + devkit + ImageMagick-6.9.6-8-Q16-HDRI-x64 -dll(ImageMagick-7.0.3 不工作!)
修复 htmlentities-4.3.1 “key inodot”的问题
gem install htmlentities -v '4.3.4'
gem uninstall htmlentities -v '4.3.1'
修复错误加载“tiny_tds”的问题
gem install tiny_tds -v '1.0.5'
gem uninstall tiny_tds -v '0.6.2'
将 Gemfile 和 Gemfile.lock 中的所有依赖项从旧版本更改为新安装的。
安装 Redmine 指南站点的所有其他命令。
结果:
c:\inetpub\redmine>bundle exec rake db:migrate
迁移
add_column(:角色,:设置,:文本)
-> 0.0019 秒
-> -1 行
AddRolesSettings:迁移(0.0027s)
c:\inetpub\redmine>set REDMINE_LANG=ru
c:\inetpub\redmine>bundle exec rake redmine:load_default_data
已加载默认配置数据。
c:\inetpub\redmine>bundle exec rails server webrick -e production
=> Booting WEBrick
=> Rails 4.2.7.1 application starting in production on http://localhost:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
[2016-12-13 15:14:25] INFO WEBrick 1.3.1
[2016-12-13 15:14:25] INFO ruby 2.3.3 (2016-11-21) [x64-mingw32]
[2016-12-13 15:14:25] INFO WEBrick::HTTPServer#start: pid=4468 port=3000
[2016-12-13 16:02:58] INFO going to shutdown ...
[2016-12-13 16:02:58] INFO WEBrick::HTTPServer#start done.
Exiting`enter code here`