Skip to content

NoMethodError: undefined method `blank?' for "":String #3

Description

@NeMO84

This seems to occur now that the aws gem is moving away from providing the support file which added the blank? method to the string object.

<NoMethodError: undefined method blank?' for "":String> ["/usr/local/lib/ruby/gems/1.9.1/gems/http_connection-1.4.0/lib/right_http_connection.rb:410:in finish'", "/usr/local/lib/ruby/gems/1.9.1/gems/aws-2.4.5/lib/awsbase/awsbase.rb:327:inrequest_info2'", "/usr/local/lib/ruby/gems/1.9.1/gems/aws-2.4.5/lib/awsbase/awsbase.rb:339:in request_info3'", "/usr/local/lib/ruby/gems/1.9.1/gems/aws-2.4.5/lib/s3/s3_interface.rb:182:inrequest_info'", "/usr/local/lib/ruby/gems/1.9.1/gems/aws-2.4.5/lib/s3/s3_interface.rb:345:in incrementally_list_bucket'", "/usr/local/lib/ruby/gems/1.9.1/gems/aws-2.4.5/lib/s3/bucket.rb:124:inkeys_and_service'", "/usr/local/lib/ruby/gems/1.9.1/gems/aws-2.4.5/lib/s3/bucket.rb:109:in keys'", "/usr/local/lib/ruby/gems/1.9.1/gems/aws-2.4.5/lib/s3/bucket.rb:153:inkey'", "(irb):4:in irb_binding'", "/usr/local/lib/ruby/1.9.1/irb/workspace.rb:80:ineval'", "/usr/local/lib/ruby/1.9.1/irb/workspace.rb:80:in evaluate'", "/usr/local/lib/ruby/1.9.1/irb/context.rb:254:inevaluate'", "/usr/local/lib/ruby/1.9.1/irb.rb:159:in block (2 levels) in eval_input'", "/usr/local/lib/ruby/1.9.1/irb.rb:273:insignal_status'", "/usr/local/lib/ruby/1.9.1/irb.rb:156:in block in eval_input'", "/usr/local/lib/ruby/1.9.1/irb/ruby-lex.rb:243:inblock (2 levels) in each_top_level_statement'", "/usr/local/lib/ruby/1.9.1/irb/ruby-lex.rb:229:in loop'", "/usr/local/lib/ruby/1.9.1/irb/ruby-lex.rb:229:inblock in each_top_level_statement'", "/usr/local/lib/ruby/1.9.1/irb/ruby-lex.rb:228:in catch'", "/usr/local/lib/ruby/1.9.1/irb/ruby-lex.rb:228:ineach_top_level_statement'", "/usr/local/lib/ruby/1.9.1/irb.rb:155:in eval_input'", "/usr/local/lib/ruby/1.9.1/irb.rb:70:inblock in start'", "/usr/local/lib/ruby/1.9.1/irb.rb:69:in catch'", "/usr/local/lib/ruby/1.9.1/irb.rb:69:instart'", "/usr/local/bin/irb:12:in

'"

In order for this project to be available as a gem it must be self contained without requiring other projects to define methods. At least not for the case at hand.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions