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

Gem doesn't work? #21

Open
benross opened this issue May 24, 2016 · 1 comment
Open

Gem doesn't work? #21

benross opened this issue May 24, 2016 · 1 comment

Comments

@benross
Copy link

benross commented May 24, 2016

Not able to get this working. Installed gem, opened a console, ran the following:

require 'google_translate' #returns true
t -v
NameError: undefined local variable or method `v' for main:Object

What am I missing?

@wRadion
Copy link

wRadion commented Aug 9, 2016

This is supposed to be used in a shell command line, not in a Ruby file.
The Ruby interpreter understand that as the substraction t - v.
Try to do that in your shell:

sh$ t -v
Google Translate Version: 1.1.2

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

2 participants