Tag: Redmine/アップグレード/2.1.0から2.1.2
mv redmine redmine_2.1.0
tar zcvpf redmine_2.1.0.tgz redmine_2.1.0
# wget http://rubyforge.org/frs/download.php/76495/redmine-2.1.2.tar.gz # gzcat redmine-2.1.2.tar.gz | (cd /opt/home/; tar xvpf - ) # cd /opt/home # mv redmine-2.1.2 redmine
# cp redmine_2.1.0/config/database.yml redmine/config # cp redmine_2.1.0/config/configuration.yml redmine/config # cp redmine_2.1.0/db/redmine.db redmine/db # cp -a redmine_2.1.0/files/* redmine/files # cp redmine_2.1.0/.rvmrc redmine
# chown -R tanaka redmine # chgrp -R staff redmine
$ cd redmine $ bundle install --path vendor/bundle $ bundle exec rake generate_secret_token $ bundle exec rake db:migrate RAILS_ENV=production
$ ruby script/rails server -e production
$ bundle exec rake generate_secret_token
sudo chown -R apache.apache redmine