RailsCasts Pro episodes are now free!

Learn more or hide this

claudesoft's Profile

GitHub User: claudesoft

Comments by

Avatar

Hi, anyone got a clue why this would happen to me?

console
$ cap deploy:setup
./config/deploy.rb:3:in `load': compile error (SyntaxError)
./config/deploy.rb:3: syntax error, unexpected ':', expecting $end
server "176.34.96.44", :web, :app, :db , primary: true
                                                 ^
        from /usr/lib/ruby/gems/1.8/gems/capistrano-2.11.2/lib/capistrano/configuration/loading.rb:172:in `load_from_file'
        from /usr/lib/ruby/gems/1.8/gems/capistrano-2.11.2/lib/capistrano/configuration/loading.rb:89:in `load'
        from /usr/lib/ruby/gems/1.8/gems/capistrano-2.11.2/lib/capistrano/configuration/loading.rb:86:in `load'
        from /usr/lib/ruby/gems/1.8/gems/capistrano-2.11.2/lib/capistrano/configuration/loading.rb:86:in `each'
        from /usr/lib/ruby/gems/1.8/gems/capistrano-2.11.2/lib/capistrano/configuration/loading.rb:86:in `load'
        from Capfile:5:in `load'
        from /usr/lib/ruby/gems/1.8/gems/capistrano-2.11.2/lib/capistrano/configuration/loading.rb:172:in `load_from_file'
        from /usr/lib/ruby/gems/1.8/gems/capistrano-2.11.2/lib/capistrano/configuration/loading.rb:89:in `load'
        from /usr/lib/ruby/gems/1.8/gems/capistrano-2.11.2/lib/capistrano/configuration/loading.rb:86:in `load'
        from /usr/lib/ruby/gems/1.8/gems/capistrano-2.11.2/lib/capistrano/configuration/loading.rb:86:in `each'
        from /usr/lib/ruby/gems/1.8/gems/capistrano-2.11.2/lib/capistrano/configuration/loading.rb:86:in `load'
        from /usr/lib/ruby/gems/1.8/gems/capistrano-2.11.2/lib/capistrano/cli/execute.rb:65:in `load_recipes'
        from /usr/lib/ruby/gems/1.8/gems/capistrano-2.11.2/lib/capistrano/cli/execute.rb:65:in `each'
        from /usr/lib/ruby/gems/1.8/gems/capistrano-2.11.2/lib/capistrano/cli/execute.rb:65:in `load_recipes'
        from /usr/lib/ruby/gems/1.8/gems/capistrano-2.11.2/lib/capistrano/cli/execute.rb:31:in `execute!'
        from /usr/lib/ruby/gems/1.8/gems/capistrano-2.11.2/lib/capistrano/cli/execute.rb:14:in `execute'
        from /usr/lib/ruby/gems/1.8/gems/capistrano-2.11.2/bin/cap:4
        from /usr/bin/cap:19:in `load'
        from /usr/bin/cap:19

Thx :)