Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trying to show any story results in error #3

Open
benekastah opened this issue Jul 23, 2013 · 1 comment
Open

Trying to show any story results in error #3

benekastah opened this issue Jul 23, 2013 · 1 comment

Comments

@benekastah
Copy link

$ pv show 53846349                                                                                                                                                                                                 [1.9.2-p320]
/Users/paulh/Library/Ruby/Gems/1.8/gems/pv-0.0.9.1/lib/pv/command.rb:18:in `show': undefined method `write' for File:Class (NoMethodError)
        from /Users/paulh/Library/Ruby/Gems/1.8/gems/thor-0.18.1/lib/thor/command.rb:27:in `run'
        from /Users/paulh/Library/Ruby/Gems/1.8/gems/thor-0.18.1/lib/thor/invocation.rb:120:in `invoke_command'
        from /Users/paulh/Library/Ruby/Gems/1.8/gems/thor-0.18.1/lib/thor.rb:363:in `dispatch'
        from /Users/paulh/Library/Ruby/Gems/1.8/gems/thor-0.18.1/lib/thor/base.rb:439:in `start'
        from /Users/paulh/Library/Ruby/Gems/1.8/gems/pv-0.0.9.1/bin/pv:7:in `<top (required)>'
        from /Users/paulh/Library/Ruby/Gems/1.8/bin/pv:23:in `load'
        from /Users/paulh/Library/Ruby/Gems/1.8/bin/pv:23:in `<main>'
@zph
Copy link

zph commented Sep 21, 2013

Hi @benekastah,

That's an error because the command is installed using a deprecated version of Ruby. The File.write method doesn't exist in Ruby 1.8.

You can try using the RVM project or Rbenv project for easily installing a more current version of Ruby than OSX comes with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants