extend /usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/local/git/bin:. to make sure that 'rake' can be found on production site
This commit is contained in:
parent
2fb31549a8
commit
a50d47f2dd
1 changed files with 5 additions and 0 deletions
|
|
@ -21,6 +21,11 @@ role :app, "railshosting.de" # This may be the same as
|
|||
role :db, "railshosting.de", :primary => true # This is where Rails migrations will run
|
||||
# role :db, "railshosting.de"
|
||||
|
||||
# extend $PATH to make sure that 'rake' can be found.
|
||||
set :default_environment {
|
||||
'PATH' => "/var/www/htdocs/web1/.gem/ruby/1.9.1/bin/:$PATH"
|
||||
}
|
||||
|
||||
# copy shared files after update
|
||||
task :update_config, :roles => :app do
|
||||
run "cp -Rf #{shared_path}/config/* #{release_path}/config/"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue