File:  [cvs.NetBSD.org] / pkgsrc / devel / ruby-redmine / files / Attic / redmine_migrate_db.sh
Revision 1.2: download - view: text, annotated - select for diffs
Wed Jan 4 23:05:12 2017 UTC (8 years ago) by rodent
Branches: MAIN
CVS tags: HEAD
Make Redmine great again too. General cleanup as well as updating all the
package to latest stable. There's a security issue with nokogiri that's
resolved with this update. This package was tested extensively not only
for build/install but also for functionality. If anyone has problems with
it, please let me know.

Full changelogs (very long) are here:

http://www.redmine.org/projects/redmine/wiki/Changelog_3_3
http://www.redmine.org/projects/redmine/wiki/Changelog_3_2
http://www.redmine.org/projects/redmine/wiki/Changelog_3_1

#!/bin/sh

cd @PREFIX@/share/@RUBY_PKGPREFIX@-redmine/app

GEM_HOME=@PREFIX@/share/@RUBY_PKGPREFIX@-redmine/gems \
  GEM_PATH=@PREFIX@/share/@RUBY_PKGPREFIX@-redmine/gems \
    @RUBY@ bin/rake --trace db:migrate RAILS_ENV=production

CVSweb <webmaster@jp.NetBSD.org>