私はcapistranoの初心者ですので、SO ubuntu 10.04の64ビットでlinodeでアプリケーションをデプロイします。ubuntu 10.04でcapistranoを実行しているときにエラーが発生しました64ビット
私はCapistranoの宝石と私のデプロイを作るしようとしているが、私はエラーを取得:
[000.00.000.00] executing command
[000.00.000.00] rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell 'default' -c 'cd /home/user/project/current; git fetch origin; git reset --hard master'
** [out :: 109.74.195.41] bash: /home/user/.rvm/bin/rvm-shell: No such file or directory
command finished in 330ms
failed: "rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell 'default' -c 'cd /home/user/project/current; git fetch origin; git reset --hard master'" on 000.00.000.00
[email protected]:~/Desktop/project$
これは私がnginxのと私がインストールされている私のdeploy.rb
# RVM
$:.unshift(File.expand_path('./lib', ENV['rvm_path']))
require "rvm/capistrano"
set :rvm_ruby_string, 'default'
set :rvm_type, :user
# Bundler
require "bundler/capistrano"
# General
set :application, "project"
set :user, "user"
set :deploy_to, "/home/user/project"
set :deploy_via, :copy
set :use_sudo, false
# Git
set :scm, :git
set :repository, "~/project/.git"
set :branch, "master"
# VPS
role :web, "my vps ip"
role :app, "my vps ip"
role :db, "my vps ip", :primary => true
set :server, :nginx
require 'capistrano_recipes'
ですnginxでunicornを使いたい。
リモートのvpsにhome/user/project
というディレクトリを作成してそこにアプリケーションをデプロイしました。
VPSリモートホストでの私のRubyのバージョンは次のとおりです。
ruby 1.9.2p318 (2012-02-14 revision 34678) [x86_64-linux]
誰も私が間違ってやっているものにいくつかの光を当てる助けることができますか?
はあなたに私のためにその有効ありがとうございました – hyperrjas