Permalink
Browse files

update dotfiles

  • Loading branch information...
goggin13 committed Mar 8, 2012
1 parent 0bfb001 commit c430cff5be912517f5a4d86165c8f875590e67e8
Showing with 4 additions and 1 deletion.
  1. +4 −1 ey_deploy.rb
View
@@ -1,4 +1,7 @@
+# curl https://raw.github.com/goggin13/dotfiles/master/ey_deploy.rb -o ~/ey_deploy.rb
+# echo "alias deploy='ruby ~/ey_deploy.rb'" >> ~/.bash_profile
+# source ~/.bash_profile
unless ARGV.length > 1
puts "usage: deploy <environment> <ref> <migrate>"
@@ -16,7 +19,7 @@
ref = ARGV[1]
migrate = ARGV[2] == 'migrate'
- cmd = "ey deploy -e #{env} -ref #{ref}"
+ cmd = "ey deploy -e #{env} --ref #{ref}"
cmd += " --migrate 'bundle exec rake db:migrate'" if migrate
if env =~ /^p/

0 comments on commit c430cff

Please sign in to comment.