cheat icon indicating copy to clipboard operation
cheat copied to clipboard

`cheat sheets` fails while other things work

Open brandonzylstra opened this issue 10 years ago • 0 comments

I can run cheat xargs or cheat cheat but cheat sheets fails:

➲ cheat sheets
/Users/brandon/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/open-uri.rb:358:in `open_http': 404 Not Found (OpenURI::HTTPError)
    from /Users/brandon/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/open-uri.rb:736:in `buffer_open'
    from /Users/brandon/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/open-uri.rb:211:in `block in open_loop'
    from /Users/brandon/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/open-uri.rb:209:in `catch'
    from /Users/brandon/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/open-uri.rb:209:in `open_loop'
    from /Users/brandon/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/open-uri.rb:150:in `open_uri'
    from /Users/brandon/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/open-uri.rb:716:in `open'
    from /Users/brandon/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/open-uri.rb:34:in `open'
    from /Users/brandon/.rvm/gems/ruby-2.2.0/gems/cheat-1.3.3/lib/cheat.rb:31:in `sheets'
    from /Users/brandon/.rvm/gems/ruby-2.2.0/gems/cheat-1.3.3/bin/cheat:10:in `<top (required)>'
    from /Users/brandon/.rvm/gems/ruby-2.2.0/bin/cheat:23:in `load'
    from /Users/brandon/.rvm/gems/ruby-2.2.0/bin/cheat:23:in `<main>'
➲    

just in case everything I tested was already locally available, I checked to make sure I could test something I'd never used before...

➲ ls .cheat
ack.yml         ditto.yml       irc.yml         rvm.yml         xargs.yml
bash.yml        git.yml         permissions.yml tar.yml
cheat.yml       haml.yml        ruby.yml        vim.yml
➲ cheat python 
python:
  basics

  $ sudo apt-get install python-setuptools python-dev build-essential
  $ sudo easy_install -U pip
  $ sudo pip install -U virtualenv
  $ virtualenv --no-site-packages --distribute MY_VIRTUALENV
  $ source MY_VIRTUALENV/bin/activate
  $ pip install yolk
  $ yolk -l

This clearly demonstrates that the problem is not one of the site simply being down.

brandonzylstra avatar Jul 25 '15 04:07 brandonzylstra