public
Rubygem
Description: The official `github` command line helper for simplifying your GitHub experience.
Home | Edit | New

Bugs

techpeace:
For anyone on OSX recieving the following error when issuing the github command:

techpeace@thea:~/github_techpeace$ github pull defunkt
/opt/local/bin/github:19:in `load': no such file to load -- github (LoadError)
	from /opt/local/bin/github:19

… then all you need to do is reset permissions on the github executable:

techpeace@thea:~/github_techpeace$ sudo chmod a+r+w+x /opt/local/lib/ruby/gems/1.8/gems/defunkt-github-0.1.3/bin/github 

NOTE: sudo chmod a+r /opt/local/lib/ruby/gems/1.8/gems/defunkt-github-0.1.3/bin/github is all that is necessary. Don’t be needlessly permissive. (ReinH)

tchandy:
if you are in linux, to solve the problem, use:


root@tchandy:/home/tchandy/Documents/# chmod a+r /usr/lib/ruby/gems/1.8/gems/defunkt-github-0.1.3/bin/github

shanesveller:
github-gem 0.1.1
In a folder where a github URL is not the origin remote, the github command chokes and spits out:


lin-8szw:Documents shane$ github pull git://github.com/defunkt/github-gem.git /Library/Ruby/Gems/1.8/gems/github-0.1.1/commands/helpers.rb:17:in `repo_for': undefined method `last' for nil:NilClass (NoMethodError) from /Library/Ruby/Gems/1.8/gems/github-0.1.1/commands/helpers.rb:21:in `project' from /Library/Ruby/Gems/1.8/gems/github-0.1.1/commands/helpers.rb:74:in `public_url_for' from /Library/Ruby/Gems/1.8/gems/github-0.1.1/commands/commands.rb:35:in `command' from /Library/Ruby/Gems/1.8/gems/github-0.1.1/bin/../lib/github/command.rb:12:in `send' from /Library/Ruby/Gems/1.8/gems/github-0.1.1/bin/../lib/github/command.rb:12:in `call' from /Library/Ruby/Gems/1.8/gems/github-0.1.1/bin/../lib/github.rb:47:in `invoke' from /Library/Ruby/Gems/1.8/gems/github-0.1.1/commands/commands.rb:41:in `command' from /Library/Ruby/Gems/1.8/gems/github-0.1.1/bin/../lib/github/command.rb:12:in `send' from /Library/Ruby/Gems/1.8/gems/github-0.1.1/bin/../lib/github/command.rb:12:in `call' from /Library/Ruby/Gems/1.8/gems/github-0.1.1/bin/../lib/github.rb:47:in `invoke' from /Library/Ruby/Gems/1.8/gems/github-0.1.1/bin/../lib/github.rb:41:in `activate' from /Library/Ruby/Gems/1.8/gems/github-0.1.1/bin/github:5 from /usr/bin/github:19:in `load' from /usr/bin/github:19

Last edited by tchandy, Wed Sep 03 07:53:55 -0700 2008
Home | Edit | New
Versions: