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

fix for SyntaxError #11

Closed
wants to merge 1 commit into from
Closed

fix for SyntaxError #11

wants to merge 1 commit into from

Conversation

PhilETaylor
Copy link
Contributor

_NOTE I AM NOT A RUBY DEVELOPER - I'm a PHP developer - this fix worked for me_

This Pull Request fixes issue #10 for me

The error was:

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': /Library/Ruby/Gems/1.8/gems/tugboat-0.0.3/lib/tugboat/cli.rb:175: syntax error, unexpected ')', expecting '=' (SyntaxError)

My solution was to add "=nil" to one line of code

Now I can continue

Full command line:

phils-imac-2012:~ phil$ tugboat authorize
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require': /Library/Ruby/Gems/1.8/gems/tugboat-0.0.3/lib/tugboat/cli.rb:175: syntax error, unexpected ')', expecting '=' (SyntaxError) /Library/Ruby/Gems/1.8/gems/tugboat-0.0.3/lib/tugboat/cli.rb:184: syntax error, unexpected kEND, expecting $end from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:inrequire'
from /Library/Ruby/Gems/1.8/gems/tugboat-0.0.3/lib/tugboat.rb:1
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in gem_original_require' from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:inrequire'
from /Library/Ruby/Gems/1.8/gems/tugboat-0.0.3/bin/tugboat:2
from /usr/bin/tugboat:19:in `load'
from /usr/bin/tugboat:19

phils-imac-2012:~ phil$ nano /Library/Ruby/Gems/1.8/gems/tugboat-0.0.3/lib/tugboat/cli.rb

phils-imac-2012:~ phil$ tugboat authorize
Faraday: you may want to install system_timer for reliable timeouts
Note: You can get this information from digitalocean.com/api_access

Enter your client key:

/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': /Library/Ruby/Gems/1.8/gems/tugboat-0.0.3/lib/tugboat/cli.rb:175: syntax error, unexpected ')', expecting '=' (SyntaxError)
@PhilETaylor
Copy link
Contributor Author

Closing as changes made in 723a73f

@PhilETaylor PhilETaylor deleted the clifix branch April 23, 2013 12:29
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 this pull request may close these issues.

1 participant