LoginSignup
4
3

More than 5 years have passed since last update.

Capistrano で Rails アプリケーションのデプロイをした時に起きたエラー

Last updated at Posted at 2015-12-07

デプロイスクリプトを走らせたときに起きたエラー

「rbenv version 2.2 1 is not installed」

config/deploy.rbにバージョン指定を書くことで解決

set :rbenv_ruby, '2.2.3'

「rbenv: version `2.2.3' is not installed (set by RBENV_VERSION environment variable)」

config/deploy.rbにrbenvのパスを書くことで解決

set :rbenv_path, '/home/your/.rbenv/'

参考

4
3
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
4
3