No, try the ruby mailing list.
On 18 Nov 2013 11:56, "Rajeev Iyer" <[email protected]> wrote:

> Could you please point it out ?
>
>
> On Monday, November 18, 2013 4:06:32 PM UTC+5:30, Lee Hambley wrote:
>>
>> You have an error in your Ruby syntax. http://web.njit.edu/
>> all_topics/Prog_Lang_Docs/html/ruby/syntax.html
>>
>> Lee Hambley
>> --
>> http://lee.hambley.name/
>> +49 (0) 170 298 5667
>>
>>
>> On 18 November 2013 10:21, Rajeev Iyer <[email protected]> wrote:
>>
>>> I am new to Capistrano. I am unable to figure out how it works.
>>> Here's my issue:
>>> cap titan_it deploy -s apps=estore -s release=USD_13_11 -s
>>> tag=USG1151101 --trace
>>> ** Invoke titan_it (first_time)
>>> ** Execute titan_it
>>> ** Invoke load:defaults (first_time)
>>> ** Execute load:defaults
>>> cap aborted!
>>> config/deploy/titan_it.rb:34: syntax error, unexpected $end, expecting
>>> ')'
>>> /usr/local/rvm/gems/ruby-1.9.3-p448/gems/capistrano-3.0.1/lib/capistrano/setup.rb:13:in
>>> `load'
>>> /usr/local/rvm/gems/ruby-1.9.3-p448/gems/capistrano-3.0.1/lib/capistrano/setup.rb:13:in
>>> `block (2 levels) in <top (required)>'
>>> /usr/local/rvm/gems/ruby-1.9.3-p448/gems/rake-10.1.0/lib/rake/task.rb:236:in
>>> `call'
>>> /usr/local/rvm/gems/ruby-1.9.3-p448/gems/rake-10.1.0/lib/rake/task.rb:236:in
>>> `block in execute'
>>> /usr/local/rvm/gems/ruby-1.9.3-p448/gems/rake-10.1.0/lib/rake/task.rb:231:in
>>> `each'
>>> /usr/local/rvm/gems/ruby-1.9.3-p448/gems/rake-10.1.0/lib/rake/task.rb:231:in
>>> `execute'
>>> /usr/local/rvm/gems/ruby-1.9.3-p448/gems/rake-10.1.0/lib/rake/task.rb:175:in
>>> `block in invoke_with_call_chain'
>>> /usr/local/rvm/rubies/ruby-1.9.3-p448/lib/ruby/1.9.1/monitor.rb:211:in
>>> `mon_synchronize'
>>> /usr/local/rvm/gems/ruby-1.9.3-p448/gems/rake-10.1.0/lib/rake/task.rb:168:in
>>> `invoke_with_call_chain'
>>> /usr/local/rvm/gems/ruby-1.9.3-p448/gems/rake-10.1.0/lib/rake/task.rb:161:in
>>> `invoke'
>>> /usr/local/rvm/gems/ruby-1.9.3-p448/gems/rake-10.1.0/lib/rake/application.rb:149:in
>>> `invoke_task'
>>> /usr/local/rvm/gems/ruby-1.9.3-p448/gems/rake-10.1.0/lib/rake/application.rb:106:in
>>> `block (2 levels) in top_level'
>>> /usr/local/rvm/gems/ruby-1.9.3-p448/gems/rake-10.1.0/lib/rake/application.rb:106:in
>>> `each'
>>> /usr/local/rvm/gems/ruby-1.9.3-p448/gems/rake-10.1.0/lib/rake/application.rb:106:in
>>> `block in top_level'
>>> /usr/local/rvm/gems/ruby-1.9.3-p448/gems/rake-10.1.0/lib/rake/application.rb:115:in
>>> `run_with_threads'
>>> /usr/local/rvm/gems/ruby-1.9.3-p448/gems/rake-10.1.0/lib/rake/application.rb:100:in
>>> `top_level'
>>> /usr/local/rvm/gems/ruby-1.9.3-p448/gems/rake-10.1.0/lib/rake/application.rb:78:in
>>> `block in run'
>>> /usr/local/rvm/gems/ruby-1.9.3-p448/gems/rake-10.1.0/lib/rake/application.rb:165:in
>>> `standard_exception_handling'
>>> /usr/local/rvm/gems/ruby-1.9.3-p448/gems/rake-10.1.0/lib/rake/application.rb:75:in
>>> `run'
>>> /usr/local/rvm/gems/ruby-1.9.3-p448/gems/capistrano-3.0.1/
>>> lib/capistrano/application.rb:12:in `run'
>>> /usr/local/rvm/gems/ruby-1.9.3-p448/gems/capistrano-3.0.1/bin/cap:3:in
>>> `<top (required)>'
>>> /usr/local/rvm/gems/ruby-1.9.3-p448/bin/cap:23:in `load'
>>> /usr/local/rvm/gems/ruby-1.9.3-p448/bin/cap:23:in `<main>'
>>> Tasks: TOP => titan_it
>>>
>>> My titan_it.rb file:
>>>
>>> puts "I am here"
>>>
>>> set :apps1,(#{apps})
>>> set :release1,(#{release})
>>> set :tag1,(#{tag})
>>>
>>> puts apps1
>>> puts release1
>>> puts tag1
>>>
>>> if apps == 'estore'
>>>    set :application, 'estore'
>>>    set :deploy_to, "/u/jboss4.0.5ga/releases/it_titan_estore"
>>> elif apps == 'csc'
>>>    set :application, 'csc'
>>>    set :deploy_to, "/u/jboss4.0.5ga/releases/it_titan_csc"
>>> elif apps == 'ofs'
>>>    set :application, 'ofs'
>>>    set :deploy_to, "/u/jboss4.0.5ga/releases/it_titan_ofs"
>>> end
>>>
>>>
>>> desc " Starting to do the deployment"
>>> task :titan_deploy, :roles => (:application) do
>>>         if application == 'estore'
>>>                 run "scp release@sdc-build10:/export/
>>> home/release/Build_Dir/#{release}/USD_ESTORE/#{tag}/*.tgz /tmp"
>>>         end
>>> end
>>>
>>>
>>> Can someone please help me fix this?
>>>
>>>  --
>>> --
>>> * 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 capistrano+...@
>>> googlegroups.com For more options, visit this group at
>>> http://groups.google.com/group/capistrano?hl=en
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Capistrano" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  --
> --
> * 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
> ---
> You received this message because you are subscribed to the Google Groups
> "Capistrano" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
-- 
* 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
--- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to