Open atrandafir opened 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'
map' for :except:Symbol /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/task.rb:309:in
define_task' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/task.rb:365:in
task' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/capiyii-0.0.3/lib/capiyii.rb:57:in
in_namespace' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/dsl_definition.rb:146:in
<top (required)>' /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:in
load_rakefile' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/application.rb:687:in
block in load_rakefile' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/application.rb:176:in
load_rakefile' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/application.rb:77:in
standard_exception_handling' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/application.rb:75:in
run' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/capistrano-3.2.1/bin/cap:3:in
load' /usr/local/rvm/gems/ruby-1.9.3-p547/bin/cap:23: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.
Hello @atrandafir Capiyii is not compatible Capistrano 3
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'
/usr/local/rvm/gems/ruby-1.9.3-p547/bin/ruby_executable_hooks:15:in '
map' for :except:Symbol /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/task.rb:309:in
set_arg_names' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/task_manager.rb:40:indefine_task' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/task.rb:365:in
define_task' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/dsl_definition.rb:66:intask' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/capiyii-0.0.3/lib/capiyii.rb:57:in
block in <top (required)>' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/task_manager.rb:209:inin_namespace' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/dsl_definition.rb:146:in
namespace' /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:in
load' /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:in
load' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/rake_module.rb:28:inload_rakefile' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/application.rb:687:in
raw_load_rakefile' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/application.rb:94:inblock in load_rakefile' /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:93:inload_rakefile' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/rake-10.3.2/lib/rake/application.rb:77:in
block in run' /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:75:in
run' /usr/local/rvm/gems/ruby-1.9.3-p547/gems/capistrano-3.2.1/lib/capistrano/application.rb:15:inrun' /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:inload' /usr/local/rvm/gems/ruby-1.9.3-p547/bin/cap:23: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.