1.4.1 から 2.0.0
基本、前回やったことを2.0.0にしてやっただけ。*1
『generate_session_store』のとこで
注記がでた
rake generate_session_store Note: The rake task generate_session_store has been deprecated, please use the replacement version generate_secret_token
コマンド変わるのかな?
そのままで動いた。
けど db:migrate したらパーミッションエラー出たので chmode してみた。*2
$ rake generate_secret_token $ rake db:migrate RAILS_ENV=production Rails Error: Unable to access log file. Please ensure that /var/lib/redmine/2.0.0/log/production.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed. OpenIdAuthentication.store is nil. Using in-memory store. Creating scope :open. Overwriting existing method Version.open. Creating scope :active. Overwriting existing method User.active. DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in CollectiveIdea::Acts::NestedSet::Model instead. (called from include at /var/lib/redmine/2.0.0/lib/plugins/awesome_nested_set/lib/awesome_nested_set/awesome_nested_set.rb:58) DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in CollectiveIdea::Acts::NestedSet::Model instead. (called from include at /var/lib/redmine/2.0.0/lib/plugins/awesome_nested_set/lib/awesome_nested_set/awesome_nested_set.rb:58) Creating scope :open. Overwriting existing method Issue.open. $ sudo chmod 0666 /var/lib/redmine/2.0.0/log/production.log $ rake db:migrate RAILS_ENV=production $
Memo
特に引っかかるとこもなく、Redmine2 から Rails3.2 になって他は特にないのかな?
Link
参考サイト