brianp wrote:
Hey Everyone,
I'm following this tutorial: http://www.isnorcreative.com/blog/28
(although I'm not on WebFaction)
with some added instructions from:
http://www.capify.org/index.php/From_The_Beginning
My deploy.rb: http://pastie.org/871427
My Capfile:
load 'deploy' if respond_to?(:namespace) # cap2 differentiator
Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
load 'config/deploy' # remove this line to skip loading any of the
default tasks
Briefly I've:
Created my database.
Copied my app to the remote server.
Initialized git with initial commit.
Git cloned the app to my local unit.
Capified.
Local commit & push.
$ cap deploy:setup , everything looks fine.
$ cap deploy:check , says everything's fine.
I get down to running: $cap deploy:update and for the most part it
looks good. Except here: http://pastie.org/871421
I thought maybe it wasn't a huge deal and moved on to ssh to my remote
sever in my ~/apps/myApp/current/ folder to run: $ rake
RAILS_ENV=production db:schema:load
But I receive:
-jailshell-3.2$ rake RAILS_ENV=production db:setup --trace
rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb,
Rakefile.rb)
Any suggestions? I tried some other fixes I found for "No Rakefile"
but no luck yet.
Hi Brian,
I was reading your log file and see it:
** [myDomain :: out] git: 'index-pack' is not a git-command. See 'git
--help'.
** fatal: index-pack failed
** [myDomain :: out] Killed by signal 1.
command finished
It appear after git clone, then I supose that git clone is failing.
Could you execute this code by hand in the server:
~/ $ git clone --depth 1 myusern...@mydomain:/home/myUserName/git/myApp
Regards
--
Rafa
--
* You received this message because you are subscribed to the Google Groups
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/capistrano?hl=en