Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

NoMethodError: undefined method `winsize' for #<IO:<STDOUT>>, The Same Error as #549 But On The Latest Version (0.9.11.4) #829

Closed
jzinedine opened this Issue · 8 comments

3 participants

@jzinedine

Hi there,

I have the same issue(#549) on the latest pry and spork version, tried many things like
pointing to the latest repos,
Pry.config.input = STDIN Pry.config.output = STDOUT,
Upgrading Rails to the 3.2.11,
but no luck.

My current config:

RUBYGEMS VERSION: 1.8.25
RUBY VERSION: 1.9.3 (2013-01-15 patchlevel 374) [x86_64-darwin12.2.0]
Rails 3.2.8
Pry 0.9.11.4
Spork 1.0.0rc3
RSpec 2.12.0
Mention that If I add plymouth I'll get segfault :-(
In another config which I can't remember the details, I got an error message on failing to load ecoder/term.rb while If you look into that folder from coderay, there was a file named terminal.rb, and there were no term.rb.

@kyrylo kyrylo referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@kyrylo kyrylo referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
@kyrylo
Collaborator

Thanks! It should be fixed now.

@kyrylo kyrylo closed this
@kyrylo kyrylo referenced this issue from a commit
@kyrylo kyrylo Pager: use TerminalInfo API for `::page_size`
Fix issue #829 (NoMethodError: undefined method `winsize'
for #<IO:<STDOUT>>, The Same Error as #549 But On The Latest Version
(0.9.11.4))
584aea1
@kyrylo kyrylo referenced this issue from a commit
@kyrylo kyrylo Pager: use TerminalInfo API for `::page_size`
Fix issue #829 (NoMethodError: undefined method `winsize'
for #<IO:<STDOUT>>, The Same Error as #549 But On The Latest Version
(0.9.11.4))
81956a3
@jzinedine

Thanks @kyrylo, you are a valuable asset to pry project.

@kyrylo
Collaborator

Hahah, thanks.

@kyrylo
Collaborator

@jzinedine, by the by, could you test it? :-D

git clone https://github.com/pry/pry.git
cd pry
git checkout -b 0-9-11-stable
rake reinstall
@jzinedine

@kyrylo For sure, I'm addicted to pry and can't work without, and yes it works fine now :+1:
I'm pointing to git repo gem 'pry', :git => 'git://github.com/pry/pry.git in Gemfile though.

@kyrylo
Collaborator

Nice. We will release the next minor version soon.

@carloslopes

@kyrylo i was having the same problem and the fix worked here too. Thanks a lot!

@kyrylo
Collaborator

@carloslopes, I'm glad to be of help. You really should've opened an issue. :-)

@ghost Unknown referenced this issue from a commit
@kyrylo kyrylo Pager: use TerminalInfo API for `::page_size`
Fix issue #829 (NoMethodError: undefined method `winsize'
for #<IO:<STDOUT>>, The Same Error as #549 But On The Latest Version
(0.9.11.4))
f7c06f7
@strcmp strcmp referenced this issue from a commit
@kyrylo kyrylo Pager: use TerminalInfo API for `::page_size`
Fix issue #829 (NoMethodError: undefined method `winsize'
for #<IO:<STDOUT>>, The Same Error as #549 But On The Latest Version
(0.9.11.4))
2283878
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.