RailsCasts Pro episodes are now free!

Learn more or hide this

ritesh24's Profile

GitHub User: ritesh24

Comments by

Avatar

After applying :primary => true, I am getting this error

console
ritesh-ranjans-MacBook-Pro:learnbooksignup riteshranjan$ cap deploy:setup
./config/deploy.rb:28:in `load': compile error (SyntaxError)
./config/deploy.rb:23: syntax error, unexpected ':', expecting kEND
    task command, roles: :app, except: {no_release: true} do
                        ^
./config/deploy.rb:23: odd number list for Hash
    task command, roles: :app, except: {no_release: true} do
                                                   ^
./config/deploy.rb:28: syntax error, unexpected ':', expecting $end
  task :setup_config, roles: :app do
                            ^
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:172:in `load_from_file'
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:89:in `load'
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:86:in `load'
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:86:in `each'
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:86:in `load'
        from Capfile:5:in `load'
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:172:in `load_from_file'
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:89:in `load'
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:86:in `load'
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:86:in `each'
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.12.0/lib/capistrano/configuration/loading.rb:86:in `load'
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.12.0/lib/capistrano/cli/execute.rb:65:in `load_recipes'
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.12.0/lib/capistrano/cli/execute.rb:65:in `each'
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.12.0/lib/capistrano/cli/execute.rb:65:in `load_recipes'
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.12.0/lib/capistrano/cli/execute.rb:31:in `execute!'
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.12.0/lib/capistrano/cli/execute.rb:14:in `execute'
        from /Library/Ruby/Gems/1.8/gems/capistrano-2.12.0/bin/cap:4
        from /usr/bin/cap:19:in `load'
        from /usr/bin/cap:19
Avatar

I am also getting the same error. please someone help...