Thanks so much for the response.  I really appreciate it.  After I 
posted this I spent some more time on it and realized that I was missing 
the user, domain, and application... Stupid, I know... As a side note, 
how do you handle your database.yml file?  I am using a public Git repo 
for versioning and I don't want my server production settings available 
for anyone...

thanks again

TJ Sherrill

Ravenna Interactive

Ph. 206.427.0000

Fx. 425.491.2325

- - -

WWW.RAVENNAINTERACTIVE.COM

 



Arthur Martins wrote:
> I'm using Capistrano 2.5.5 and I am with the following problem at the
> cap: deploy :
>
> /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/capistrano/
> transfer.rb:156:in `[]=': undefined method `[]=' for nil:NilClass
> (NoMethodError)
>         from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
> capistrano/transfer.rb:207:in `handle_error'
>         from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
> capistrano/transfer.rb:48:in `process!'
>         from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
> capistrano/transfer.rb:43:in `loop'
>         from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
> capistrano/transfer.rb:43:in `process!'
>         from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
> capistrano/transfer.rb:11:in `process'
>         from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
> capistrano/configuration/actions/file_transfer.rb:40:in `transfer'
>         from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
> capistrano/configuration/connections.rb:170:in `execute_on_servers'
>         from /usr/local/lib/ruby/1.8/fileutils.rb:1297:in `each_slice'
>          ... 39 levels...
>         from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.5.5/lib/
> capistrano/cli/execute.rb:14:in `execute'
>         from /usr/local/lib/ruby/gems/1.8/gems/capistrano-2.5.5/bin/
> cap:4
>         from /usr/local/bin/cap:19:in `load'
>         from /usr/local/bin/cap:19
>
> -------------------------------------------------------------------------------------------------
> My deploy.rb:
>
> set :application, "Atm-Dinamus"
> set :repository, "/home/atmjr/DevelopRails/Atm-Dinamus"
> set :scm, :none
>
> set :user  , "atmjr"
> set :domain, "192.168.0.103"   #my internal server
> set :application, "Atm-Dinamus"
>
> set :deploy_via, :copy
> set :deploy_to, "/opt/atm/rails_app/#{application}"
>
> role :app, domain
> role :web, domain
> role :db,  domain, :primary=>true
>
> -----------------------------------------------------------------------------------
>
> Thanks,
> Arthur (Brazil)
>
>
>
>
> >
>
>   

--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to