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

there seems to be no executable localtunnel #10

Closed
asyncanup opened this issue Apr 28, 2011 · 11 comments
Closed

there seems to be no executable localtunnel #10

asyncanup opened this issue Apr 28, 2011 · 11 comments

Comments

@asyncanup
Copy link

i'm surely missing something stupid here but i can't seem to get this to work. please help..

anup@ubuntu:$ sudo apt-get install ruby ruby1.8-dev rubygems1.8 libopenssl-ruby
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'libruby' instead of 'libopenssl-ruby'
libruby is already the newest version.
ruby is already the newest version.
ruby1.8-dev is already the newest version.
rubygems1.8 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
anup@ubuntu:
$ sudo gem install localtunnel
Successfully installed localtunnel-0.2
1 gem installed
Installing ri documentation for localtunnel-0.2...
Installing RDoc documentation for localtunnel-0.2...
anup@ubuntu:$ localtunnel
localtunnel: command not found
anup@ubuntu:
$

@progrium
Copy link
Owner

Rubygems will put it in a particular bin directory that might not be in your path. Can you try locate bin/localtunnel and see where it was put? Also, it might just be that because you installed ruby and rubygems immediately before, all you needed to do was re-source your .profile (or wherever PATH is defined). Let me know.

@asyncanup
Copy link
Author

thanks, my PATH wasn't properly set

@Newky
Copy link

Newky commented Jun 22, 2011

I have the same issue, I too installed the packages and then the gem, unfortunately It can't locate the executable, I've tried do a locate bin/localtunnel and also looked in the bin directory etc. Any ideas?

@rogermle
Copy link

anupbishnoi, I'm in the same boat as Newky. Could you explain what you did to set your path correctly? When I try the command locate bin/localtunnel nothing is found. I tried source ~/.profile as well with no luck. I'm running Ubuntu 11.04.

Thanks in advance.

@Newky
Copy link

Newky commented Jun 23, 2011

rogermle, the answer to this is in one of the other solved issues, the path for some reason isn't discoverable with locate. The comment that worked for me was

"gems are on /var/lib/gems/1.8/gems/ and localtunnel executable in /var/lib/gems/1.8/gems/localtunnel-0.3/bin/localtunnel"

@asyncanup
Copy link
Author

I'm replying too late, but I guess 2012 is still far...
rogermie, did that work? as far as i remember, that's what I did as well.

@rogermle
Copy link

Newky and Anupbishnoi thank you for your responses and yes it did help. It was my lack of experience with Ruby and it's paths that tripped me up the most.

@divyekapoor
Copy link

Can we please re-open this as an installation bug for Ubuntu/Debian etc.? I was just hit by this issue and had to locate this page for the workaround (Alternatively, could the installation instructions on the site be updated for ubuntu/debian users?)

@progrium
Copy link
Owner

Since we depend on Rubygems for the current implementation of the client, I don't think we can easily take responsibility for this as a bug. So I'll work on improving the installation instructions if somebody can point me to an equivalent installation note for another Rubygem or Rubygems in general on Ubuntu/Debian. Thanks!

@progrium progrium reopened this Jul 25, 2011
@mivanov
Copy link

mivanov commented Aug 12, 2011

Very good instructions here: http://stackoverflow.com/questions/909673/gems-and-ubuntu-9-04
Found via Heroku article about this, which is more concise: http://devcenter.heroku.com/articles/cli-command-not-found

@progrium
Copy link
Owner

progrium commented Dec 1, 2012

I'm going to assume the latest version being in Python being able to be installed with pip or easy_install dissolves some of these issues. And in the long-term, localtunnel might be rewritten in Go so it can be distributed as a standalone binary executable.

@progrium progrium closed this as completed Dec 1, 2012
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

6 participants