2 Replies Latest reply on Dec 23, 2013 5:19 PM by davidedwardclark

    jiveapps gem not working with ruby 2.0

    davidedwardclark

      Does anyone know why jiveapps does not work with Ruby 2.0?

       

      When I run jiveapps create helloworld I get the following errors:

       

      /Library/Ruby/Gems/2.0.0/gems/rest-client-1.6.1/lib/restclient/payload.rb:46:in `read': wrong number of arguments (2 for 0..1) (ArgumentError)

        from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http/generic_request.rb:202:in `copy_stream'

        from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http/generic_request.rb:202:in `send_request_with_body_stream'

        from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http/generic_request.rb:132:in `exec'

        from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:1404:in `block in transport_request'

        from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:1403:in `catch'

        from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:1403:in `transport_request'

        from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:1376:in `request'

        from /Library/Ruby/Gems/2.0.0/gems/rest-client-1.6.1/lib/restclient/net_http_ext.rb:15:in `request'

        from /Library/Ruby/Gems/2.0.0/gems/rest-client-1.6.1/lib/restclient/request.rb:167:in `block in transmit'

        from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http.rb:852:in `start'

        from /Library/Ruby/Gems/2.0.0/gems/rest-client-1.6.1/lib/restclient/request.rb:166:in `transmit'

        from /Library/Ruby/Gems/2.0.0/gems/rest-client-1.6.1/lib/restclient/request.rb:60:in `execute'

        from /Library/Ruby/Gems/2.0.0/gems/rest-client-1.6.1/lib/restclient/request.rb:31:in `execute'

        from /Library/Ruby/Gems/2.0.0/gems/rest-client-1.6.1/lib/restclient/resource.rb:59:in `post'

        from /Library/Ruby/Gems/2.0.0/gems/jiveapps-1.0.7/lib/jiveapps/client.rb:178:in `process'

        from /Library/Ruby/Gems/2.0.0/gems/jiveapps-1.0.7/lib/jiveapps/client.rb:162:in `post'

        from /Library/Ruby/Gems/2.0.0/gems/jiveapps-1.0.7/lib/jiveapps/client.rb:91:in `add_key'

        from /Library/Ruby/Gems/2.0.0/gems/jiveapps-1.0.7/lib/jiveapps/commands/keys.rb:30:in `add'

        from /Library/Ruby/Gems/2.0.0/gems/jiveapps-1.0.7/lib/jiveapps/command.rb:46:in `run_internal'

        from /Library/Ruby/Gems/2.0.0/gems/jiveapps-1.0.7/lib/jiveapps/commands/auth.rb:106:in `save_credentials'

        from /Library/Ruby/Gems/2.0.0/gems/jiveapps-1.0.7/lib/jiveapps/commands/auth.rb:47:in `get_credentials'

        from /Library/Ruby/Gems/2.0.0/gems/jiveapps-1.0.7/lib/jiveapps/commands/auth.rb:30:in `user'

        from /Library/Ruby/Gems/2.0.0/gems/jiveapps-1.0.7/lib/jiveapps/commands/auth.rb:10:in `init_jiveapps'

        from /Library/Ruby/Gems/2.0.0/gems/jiveapps-1.0.7/lib/jiveapps/commands/auth.rb:6:in `client'

        from /Library/Ruby/Gems/2.0.0/gems/jiveapps-1.0.7/lib/jiveapps/commands/auth.rb:17:in `check'

        from /Library/Ruby/Gems/2.0.0/gems/jiveapps-1.0.7/lib/jiveapps/command.rb:46:in `run_internal'

        from /Library/Ruby/Gems/2.0.0/gems/jiveapps-1.0.7/lib/jiveapps/commands/app.rb:62:in `create'

        from /Library/Ruby/Gems/2.0.0/gems/jiveapps-1.0.7/lib/jiveapps/command.rb:46:in `run_internal'

        from /Library/Ruby/Gems/2.0.0/gems/jiveapps-1.0.7/lib/jiveapps/command.rb:19:in `run'

        from /Library/Ruby/Gems/2.0.0/gems/jiveapps-1.0.7/bin/jiveapps:15:in `<top (required)>'

        from /usr/bin/jiveapps:23:in `load'

        from /usr/bin/jiveapps:23:in `<main>'