Don't use rbenv (anymore / for now).
This commit is contained in:
parent
a6528a64f8
commit
d10b601b67
1 changed files with 7 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
require 'mina/bundler'
|
require 'mina/bundler'
|
||||||
require 'mina/rails'
|
require 'mina/rails'
|
||||||
require 'mina/git'
|
require 'mina/git'
|
||||||
require 'mina/rbenv' # for rbenv support. (http://rbenv.org)
|
# require 'mina/rbenv' # for rbenv support. (http://rbenv.org)
|
||||||
# require 'mina/rvm' # for rvm support. (http://rvm.io)
|
# require 'mina/rvm' # for rvm support. (http://rvm.io)
|
||||||
|
|
||||||
# Temporary(?) workaround to get 'mina setup' to run.
|
# Temporary(?) workaround to get 'mina setup' to run.
|
||||||
|
|
@ -32,7 +32,7 @@ set :user, 'apps' # Username in the server to SSH to.
|
||||||
task :environment do
|
task :environment do
|
||||||
# If you're using rbenv, use this to load the rbenv environment.
|
# If you're using rbenv, use this to load the rbenv environment.
|
||||||
# Be sure to commit your .rbenv-version to your repository.
|
# Be sure to commit your .rbenv-version to your repository.
|
||||||
invoke :'rbenv:load'
|
# invoke :'rbenv:load'
|
||||||
|
|
||||||
# For those using RVM, use this to load an RVM version@gemset.
|
# For those using RVM, use this to load an RVM version@gemset.
|
||||||
# invoke :'rvm:use[ruby-1.9.3-p125@default]'
|
# invoke :'rvm:use[ruby-1.9.3-p125@default]'
|
||||||
|
|
@ -45,11 +45,14 @@ task :setup => :environment do
|
||||||
queue! %[mkdir -p "#{deploy_to}/shared/log"]
|
queue! %[mkdir -p "#{deploy_to}/shared/log"]
|
||||||
queue! %[chmod g+rx,u+rwx "#{deploy_to}/shared/log"]
|
queue! %[chmod g+rx,u+rwx "#{deploy_to}/shared/log"]
|
||||||
|
|
||||||
# queue! %[mkdir -p "#{deploy_to}/shared/config"]
|
queue! %[mkdir -p "#{deploy_to}/shared/config"]
|
||||||
# queue! %[chmod g+rx,u+rwx "#{deploy_to}/shared/config"]
|
queue! %[chmod g+rx,u+rwx "#{deploy_to}/shared/config"]
|
||||||
|
|
||||||
# queue! %[touch "#{deploy_to}/shared/config/database.yml"]
|
# queue! %[touch "#{deploy_to}/shared/config/database.yml"]
|
||||||
# queue %[echo "-----> Be sure to edit 'shared/config/database.yml'."]
|
# queue %[echo "-----> Be sure to edit 'shared/config/database.yml'."]
|
||||||
|
|
||||||
|
queue! %[mkdir -p "#{deploy_to}/tmp"]
|
||||||
|
queue! %[chmod g+rx,u+rwx "#{deploy_to}/tmp"]
|
||||||
end
|
end
|
||||||
|
|
||||||
desc "Deploys the current version to the server."
|
desc "Deploys the current version to the server."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue