Skip to content

Does not install to /usr/bin/gist under Ubuntu 18.04 #300

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

Closed
edo9k opened this issue Jul 30, 2019 · 5 comments · Fixed by #325
Closed

Does not install to /usr/bin/gist under Ubuntu 18.04 #300

edo9k opened this issue Jul 30, 2019 · 5 comments · Fixed by #325

Comments

@edo9k
Copy link

edo9k commented Jul 30, 2019

I installed via apt, and it could not find the gist command in the terminal.
Then I installed via gem, it could not find the command either.

It only worked after I soft linked it to /usr/bin/ with

ln -s /var/lib/gems/2.5.0/gems/gist-5.0.0/bin/gist /usr/bin/gist

Is the problem with this project, with gem or with apt? Or am I doing something wrong? 😥

@lucasrangit
Copy link
Contributor

lucasrangit commented Jul 24, 2020

It installed fine for me to /usr/local/bin/gist on Ubuntu 18.04 when following the README instructions (not using apt). I think this issue is resolved and can be closed.

@viveksinghggits
Copy link

@ConradIrwin, @lucasrangit
I am having the same issue, just ran apt install gist do you guys know how can I resolve this.

@lucasrangit
Copy link
Contributor

@ConradIrwin, @lucasrangit
I am having the same issue, just ran apt install gist do you guys know how can I resolve this.

@viveksinghggits , I didn't realize this before but the upstream package renames the binary to gist-paste to avoid the conflict with the yorick package.

@lucasrangit
Copy link
Contributor

lucasrangit commented Sep 14, 2020

I suggested a change to the README.md to document this for those that want to use apt and not gem etc... See #325

@viveksinghggits
Copy link

aah, I see. Thats why I was see below in the output of dpkg

» dpkg -L gist                                        vivek@workmachine
/.
/usr
/usr/bin
/usr/bin/gist-paste
/usr/lib
/usr/lib/ruby
/usr/lib/ruby/vendor_ruby
/usr/lib/ruby/vendor_ruby/gist.rb
/usr/share
/usr/share/doc
/usr/share/doc/gist
/usr/share/doc/gist/README.md.gz
/usr/share/doc/gist/changelog.Debian.gz
/usr/share/doc/gist/copyright
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/gist-paste.1.gz
/usr/share/rubygems-integration
/usr/share/rubygems-integration/all
/usr/share/rubygems-integration/all/specifications
/usr/share/rubygems-integration/all/specifications/gist-5.0.0.gemspec

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

Successfully merging a pull request may close this issue.

4 participants