LoginSignup
0
0

More than 5 years have passed since last update.

Redmine 2.2.0 (ruby 1.9.3p362) rakeでエラー

Last updated at Posted at 2013-01-09

エラー内容

rake実行時に下記のエラーとなる。

# rake generate_secret_token
/usr/local/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby

解決手順

  • yamlをインストールする。
# wget http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz
# tar zxvf yaml-0.1.4.tar.gz
# cd yaml-0.1.4
# ./configure
# make
# make install
  • rubyを再インストールする。
# cd ruby-1.9.3-p362
# ./configure --disable-install-doc
# make
# make install

この後、rakeの再実施で正常にrakeが行われた。

環境

  • CentOS release 6.3 (Final)
  • ruby 1.9.3p362 (2012-12-25) [x86_64-linux]
  • gem 1.8.23
  • Rails 3.2.9
  • Redmine 2.2.0
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0