Skip to content

Commit

Permalink
Disable rubygems when running gitsh.
Browse files Browse the repository at this point in the history
There are currently some load errors related to an installer bug (see issue
 #178).

When rubygems is enabled it modifies require, which makes these bugs worse
by failing more slowly and with less helpful output (e.g. on my Mac OS X
system with Homebrew Ruby, it installs the Nokogiri gem before failing).
  • Loading branch information
georgebrock committed Sep 26, 2014
1 parent 022b748 commit 9c58d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gitsh.rb.in
@@ -1,4 +1,4 @@
#!@RUBY@
#!@RUBY@ --disable-gems

$LOAD_PATH.unshift('@rubydir@')

Expand Down

0 comments on commit 9c58d89

Please sign in to comment.