Capistrano issue

7 views
Skip to first unread message

threetee

unread,
May 10, 2010, 11:17:32 AM5/10/10
to Daemon Kit
Hi all,

I'm having problems with capistrano on the latest daemon-kit release.

Versions:
OS X 10.6.2
ruby 1.8.7 (2009-06-08 patchlevel 173) [universal-darwin10.0]
daemon-kit (0.1.8rc3) - latest from git
capistrano (2.5.18, 2.5.2) - 2.5.2 is the OS X default
capistrano-ext (1.2.1)

How to reproduce:
----------

r2d2:tmp edennis$ daemon-kit testing -i default -d capistrano
create
create README
create Rakefile
create Gemfile
create bin
create bin/testing
create config
create config/arguments.rb
create config/boot.rb
create config/environment.rb
create config/environments/development.rb
create config/environments/production.rb
create config/environments/test.rb
create config/post-daemonize/readme
create config/pre-daemonize/readme
create script
create script/console
create script/destroy
create script/generate
create tasks
create log
create tmp
create vendor
create lib
create lib/testing.rb
create libexec
create libexec/testing-daemon.rb
create Capfile
exist config
create config/deploy/logrotate.erb
create config/deploy/production.rb
create config/deploy/staging.rb
create config/deploy.rb
create config/environments/staging.rb
create spec
create spec/testing_spec.rb
create spec/spec.opts
create spec/spec_helper.rb
exist tasks
create tasks/rspec.rake
r2d2:tmp edennis$ cd testing
You have new mail in /var/mail/edennis
r2d2:testing edennis$ cap -T
/Library/Ruby/Gems/1.8/gems/capistrano-2.5.18/lib/capistrano/
configuration/loading.rb:152:in `require': no such file to load --
capistrano/recipes/deploy/scm (LoadError)
from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.18/lib/capistrano/
configuration/loading.rb:152:in `require'
from /Users/edennis/.bundle/ruby/1.8/gems/daemon-kit-0.1.7.12/lib/
daemon_kit/deployment/capistrano.rb:2:in `load'
from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.18/lib/capistrano/
configuration/loading.rb:172:in `load_from_file'
from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.18/lib/capistrano/
configuration/loading.rb:89:in `load'
from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.18/lib/capistrano/
configuration/loading.rb:86:in `load'
from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.18/lib/capistrano/
configuration/loading.rb:86:in `each'
from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.18/lib/capistrano/
configuration/loading.rb:86:in `load'
from Capfile:7:in `load'
from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.18/lib/capistrano/
configuration/loading.rb:172:in `load_from_file'
from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.18/lib/capistrano/
configuration/loading.rb:89:in `load'
from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.18/lib/capistrano/
configuration/loading.rb:86:in `load'
from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.18/lib/capistrano/
configuration/loading.rb:86:in `each'
from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.18/lib/capistrano/
configuration/loading.rb:86:in `load'
from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.18/lib/capistrano/cli/
execute.rb:65:in `load_recipes'
from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.18/lib/capistrano/cli/
execute.rb:65:in `each'
from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.18/lib/capistrano/cli/
execute.rb:65:in `load_recipes'
from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.18/lib/capistrano/cli/
execute.rb:31:in `execute!'
from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.18/lib/capistrano/cli/
execute.rb:14:in `execute'
from /Library/Ruby/Gems/1.8/gems/capistrano-2.5.18/bin/cap:4
from /usr/bin/cap:19:in `load'
from /usr/bin/cap:19
----------

Capistrano works fine for several other projects I have on this
workstation; daemon-kit is the only software that is exhibiting this
behavior. Any help or suggestions are greatly appreciated. Thanks in
advance!

--
You received this message because you are subscribed to the Google Groups "Daemon Kit" group.
To post to this group, send email to daemo...@googlegroups.com.
To unsubscribe from this group, send email to daemon-kit+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/daemon-kit?hl=en.

Kenneth Kalmer

unread,
May 31, 2010, 6:29:55 AM5/31/10
to daemo...@googlegroups.com
On Mon, May 10, 2010 at 5:17 PM, threetee <thre...@gmail.com> wrote:
Hi all,

I'm having problems with capistrano on the latest daemon-kit release.

Versions:
OS X 10.6.2
ruby 1.8.7 (2009-06-08 patchlevel 173) [universal-darwin10.0]
daemon-kit (0.1.8rc3) - latest from git
capistrano (2.5.18, 2.5.2) - 2.5.2 is the OS X default
capistrano-ext (1.2.1)

Got this reproduced exactly like you have, investigating right now to resolve the issue.

Thanks for reporting 



--
Kenneth Kalmer
kenneth...@gmail.com
http://opensourcery.co.za
@kennethkalmer

Kenneth Kalmer

unread,
May 31, 2010, 8:27:53 AM5/31/10
to daemo...@googlegroups.com
On Mon, May 31, 2010 at 12:29 PM, Kenneth Kalmer <kenneth...@gmail.com> wrote:
On Mon, May 10, 2010 at 5:17 PM, threetee <thre...@gmail.com> wrote:
Hi all,

I'm having problems with capistrano on the latest daemon-kit release.

Versions:
OS X 10.6.2
ruby 1.8.7 (2009-06-08 patchlevel 173) [universal-darwin10.0]
daemon-kit (0.1.8rc3) - latest from git
capistrano (2.5.18, 2.5.2) - 2.5.2 is the OS X default
capistrano-ext (1.2.1)

Got this reproduced exactly like you have, investigating right now to resolve the issue.

Looking at 0.1.8rc3 the issue is bundler related. Seems the capistrano/capistrano-ext gems needs to be declared in the Gemfile or this will happen. I've pushed the fix to github [1] and am working on updating the deployment recipes to fully leverage bundler on deployment.

Thanks again !

Reply all
Reply to author
Forward
0 new messages