Thefuck: rbenv install

Created on 27 Feb 2019  路  4Comments  路  Source: nvbn/thefuck

The output of thefuck --version:

The Fuck 3.28 using Python 3.7.2 and Fish Shell 3.0.1

Your system (Debian 7, ArchLinux, Windows, etc.):

Arch Linux

How to reproduce the bug:

> rbenv install 2.6.1
ruby-build: definition not found: 2.6.1

See all available versions with `rbenv install --list'.

If the version you need is missing, try upgrading ruby-build:

  cd /home/alex/.rbenv/plugins/ruby-build && git pull && cd -

The output of The Fuck with THEFUCK_DEBUG=true exported (typically execute export THEFUCK_DEBUG=true in your shell before The Fuck):

No fucks given

(I think, debug is not necessary)

Expected fuck:

cd /home/alex/.rbenv/plugins/ruby-build && git pull && cd -

(as suggested in the rbenv output)

help wanted

Most helpful comment

I would like to work on it.

All 4 comments

The same for nodenv, if possible:

> nodenv install
node-build: definition not found: 11.13.0

See all available versions with `nodenv install --list'.

If the version you need is missing, try upgrading node-build:

  cd /home/alex/.nodenv/plugins/node-build && git pull && cd -

I would like to work on it.

The output of thefuck --version:

The Fuck 3.28 using Python 3.7.2 and Fish Shell 3.0.1

Your system (Debian 7, ArchLinux, Windows, etc.):

Arch Linux

How to reproduce the bug:

> rbenv install 2.6.1
ruby-build: definition not found: 2.6.1

See all available versions with `rbenv install --list'.

If the version you need is missing, try upgrading ruby-build:

  cd /home/alex/.rbenv/plugins/ruby-build && git pull && cd -

The output of The Fuck with THEFUCK_DEBUG=true exported (typically execute export THEFUCK_DEBUG=true in your shell before The Fuck):

No fucks given

(I think, debug is not necessary)

Expected fuck:

cd /home/alex/.rbenv/plugins/ruby-build && git pull && cd -

(as suggested in the rbenv output)

Any one can merge the changes and make thefuck works with rbenv and nodenv?

New versions of rbenv (and nodenv) has such output:

git -C /home/alex/.rbenv/plugins/ruby-build pull
Was this page helpful?
0 / 5 - 0 ratings

Related issues

BertieJim picture BertieJim  路  3Comments

whereistejas picture whereistejas  路  4Comments

cuwaters picture cuwaters  路  4Comments

jedwards1211 picture jedwards1211  路  4Comments

zixuanweeei picture zixuanweeei  路  5Comments