Skip to content

Ruby 1.9.1: uninitialized constant Pry::CommandSet::Ls (NameError) #209

Description

@bananastalktome

When trying to run pry at the command line, i receive the following error:

/local/lib/ruby/gems/1.9.1/gems/pry-0.9.3/lib/pry/default_commands/context.rb:7:in `block in <module:DefaultCommands>': uninitialized constant Pry::CommandSet::Ls (NameError)
        from /local/lib/ruby/gems/1.9.1/gems/pry-0.9.3/lib/pry/command_set.rb:50:in `instance_eval'
        from /local/lib/ruby/gems/1.9.1/gems/pry-0.9.3/lib/pry/command_set.rb:50:in `initialize'
        from /local/lib/ruby/gems/1.9.1/gems/pry-0.9.3/lib/pry/default_commands/context.rb:6:in `new'
        from /local/lib/ruby/gems/1.9.1/gems/pry-0.9.3/lib/pry/default_commands/context.rb:6:in `<module:DefaultCommands>'
        from /local/lib/ruby/gems/1.9.1/gems/pry-0.9.3/lib/pry/default_commands/context.rb:4:in `<class:Pry>'
        from /local/lib/ruby/gems/1.9.1/gems/pry-0.9.3/lib/pry/default_commands/context.rb:3:in `<top (required)>'
        from /local/lib/ruby/gems/1.9.1/gems/pry-0.9.3/lib/pry/commands.rb:4:in `require'
        from /local/lib/ruby/gems/1.9.1/gems/pry-0.9.3/lib/pry/commands.rb:4:in `<top (required)>'
        from /local/lib/ruby/gems/1.9.1/gems/pry-0.9.3/lib/pry.rb:87:in `require'
        from /local/lib/ruby/gems/1.9.1/gems/pry-0.9.3/lib/pry.rb:87:in `<top (required)>'
        from /local/lib/ruby/gems/1.9.1/gems/pry-0.9.3/bin/pry:9:in `require'
        from /local/lib/ruby/gems/1.9.1/gems/pry-0.9.3/bin/pry:9:in `<top (required)>'
        from /local/bin/pry:19:in `load'
        from /local/bin/pry:19:in `<main>'

Using ruby 1.9.1p376 with the newest release of pry (0.9.3). Currently at rubygems 1.4.2, but did upgrade to 1.8.8 to test, with the same error received.

Ryan Bates got me all excited to use this gem (http://railscasts.com/episodes/280-pry-with-rails), and the wait is killing me :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions