Deways / capiyii

Deploying Yii Framework Applications with Capistrano
https://github.com/Deways/capiyii
MIT License
5 stars 1 forks source link

What environment is required for this to work? #3

Open atrandafir opened 10 years ago

atrandafir commented 10 years ago

Hello,

Is there a way to know what version of Ruby, Rake, Capistrano, etc is required to run this?

I've installed ruby 1.9.3, rake 10 and capistrano 3 and it fails on my centos server: -bash-4.1$ cap deploy:setup --trace cap aborted! NoMethodError: undefined method map' for :except:Symbol /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/task.rb:309:inset_arg_names' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/task_manager.rb:40:in define_task' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/task.rb:365:indefine_task' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/dsl_definition.rb:66:in task' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/capiyii-0.0.3/lib/capiyii.rb:57:inblock in <top (required)>' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/task_manager.rb:209:in in_namespace' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/dsl_definition.rb:146:innamespace' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/capiyii-0.0.3/lib/capiyii.rb:22:in <top (required)>' /var/www/vhosts/happyseotools.com/projects/tgd-webapp/Capfile:2:inload' /var/www/vhosts/happyseotools.com/projects/tgd-webapp/Capfile:2:in <top (required)>' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/rake_module.rb:28:inload' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/rake_module.rb:28:in load_rakefile' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/application.rb:687:inraw_load_rakefile' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/application.rb:94:in block in load_rakefile' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/application.rb:176:instandard_exception_handling' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/application.rb:93:in load_rakefile' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/application.rb:77:inblock in run' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/application.rb:176:in standard_exception_handling' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/application.rb:75:inrun' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/capistrano-3.2.1/lib/capistrano/application.rb:15:in run' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/capistrano-3.2.1/bin/cap:3:in<top (required)>' /usr/local/rvm/gems/ruby-1.9.3-p547/bin/cap:23:in load' /usr/local/rvm/gems/ruby-1.9.3-p547/bin/cap:23:in

' /usr/local/rvm/gems/ruby-1.9.3-p547/bin/ruby_executable_hooks:15:in eval' /usr/local/rvm/gems/ruby-1.9.3-p547/bin/ruby_executable_hooks:15:in
'

I must also say that I'm new to Capistrano, never used it, I'm trying to deploy a project that uses yii and capistrano.

Shine-neko commented 10 years ago

Hello @atrandafir Capiyii is not compatible Capistrano 3