may you guys are geniuses... I guess this then begs the question why my business partner can still run the deploy comand using cap cold:deploy but I can't... must have something to do with his machine not having updated to cap2?
I'll have to try cap cold:deploy at home on the iMac tonight ( which was updated like his laptop was ) to see if it lets me do it. I'll also search the list for the workarounds and post the results here for archival purposes. Thanks Jamis. P.S. Thanks for the great products you guys make! On Nov 13, 5:19 pm, Jamis Buck <[EMAIL PROTECTED]> wrote: > Er, yeah, the mongrel_cluster recipes haven't been updated to work > with cap2 yet (as far as I know). I know that people have posted > workarounds here, so you might google the list for it. > > If all else fails, you can explicitly install Cap 1.4.1, and invoke > it like so: > > cap _1.4.1_ cold_deploy > > - Jamis > > On Nov 13, 2007, at 3:13 PM, sw0rdfish wrote: > > > > > yeah I did that too... this is the error I get with that command... > > > cap deploy:cold > > /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/ > > 1.8/rubygems/custom_require.rb:27:in `gem_original_require': no such > > file to load -- mongrel_cluster/recipes (LoadError) > > from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ > > ruby/1.8/rubygems/custom_require.rb:27:in `require' > > from /Library/Ruby/Gems/1.8/gems/capistrano-2.1.0/lib/capistrano/ > > configuration/loading.rb:150:in `require' > > from ./config/deploy.rb:1:in `load' > > from /Library/Ruby/Gems/1.8/gems/capistrano-2.1.0/lib/capistrano/ > > configuration/loading.rb:173:in `load_from_file' > > from /Library/Ruby/Gems/1.8/gems/capistrano-2.1.0/lib/capistrano/ > > configuration/loading.rb:89:in `load' > > from /Library/Ruby/Gems/1.8/gems/capistrano-2.1.0/lib/capistrano/ > > configuration/loading.rb:86:in `load' > > from /Library/Ruby/Gems/1.8/gems/capistrano-2.1.0/lib/capistrano/ > > configuration/loading.rb:86:in `each' > > from /Library/Ruby/Gems/1.8/gems/capistrano-2.1.0/lib/capistrano/ > > configuration/loading.rb:86:in `load' > > ... 10 levels... > > from /Library/Ruby/Gems/1.8/gems/capistrano-2.1.0/lib/capistrano/cli/ > > execute.rb:14:in `execute' > > from /Library/Ruby/Gems/1.8/gems/capistrano-2.1.0/bin/cap:4 > > from /usr/bin/cap:16:in `load' > > from /usr/bin/cap:16 > > > On Nov 13, 4:47 pm, Jamis Buck <[EMAIL PROTECTED]> wrote: > >> Rake integration was deprecated back in the 1.x series, and was > >> removed altogether with cap2. You should be using cap directly, > >> rather than via rake, e.g.: > > >> cap deploy:cold > > >> You can see all available cap tasks with "cap -T". > > >> - Jamis > > >> On Nov 13, 2007, at 2:38 PM, sw0rdfish wrote: > > >>> Hopefully someone here has a better idea of what's going on. For > >>> the > >>> longest time now I've been using Capistrano to deploy my project > >>> from > >>> the SVN repository, to the live server.... When Leopard came out > >>> from > >>> Apple, I upgraded my 2 computers, my iMac I did an upgrade, and my > >>> laptop I did a complete re-install of the OS. My business > >>> partner did > >>> the same thing to his laptop that I did to my iMac. > > >>> Ever since then I get the following error when I try to deploy from > >>> my machine... > > >>> rake aborted! > >>> undefined method `[]' for nil:NilClass > > >>> When I run it with --trace I get. > > >>> ** Invoke remote:cold_deploy (first_time) > >>> ** Execute remote:cold_deploy > >>> rake aborted! > >>> undefined method `[]' for nil:NilClass/Library/Ruby/Gems/1.8/gems/ > >>> capistrano2.1.0/lib/capistrano/cli/execute.rb:25:in`execute!' > >>> /Users/sw0rdfish/Documents/Rails/projectname/config/../lib/tasks/ > >>> capistrano.rake:15:in `cap' /Users/sw0rdfish/Documents/Rails/ > >>> projectname/config/../lib/tasks/capistrano.rake:23 > > >>> I'd nail it down to the pre-installed software on OS X 10.5, but my > >>> business partner can run the command w/o any problems and he's > >>> able to > >>> deploy my application on his Macbook. > > >>> So I'm hoping some Capistrano MEnsa can shed some light on what's > >>> going on. I really have very little knowledge of the system, as I > >>> didn't set it up... but I'm picking up a lot as I go. > > >>> anyway, thanks for any help in advance. > >>> sw0rdfish > > >> smime.p7s > >> 3KDownload > > > > > > > smime.p7s > 3KDownload --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
