diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 891d012b..34469d09 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -158,4 +158,4 @@ When updating Rubygems for gitsh, there are a few things to consider: - Use the minimum supported Ruby version when updating gems to avoid installing versions that are incompatible with older Rubies. -[style-guide]: https://github.com/thoughtbot/guides/tree/master/style#ruby +[style-guide]: https://github.com/thoughtbot/guides/tree/master/ruby diff --git a/homebrew/gitsh.rb.in b/homebrew/gitsh.rb.in index fac6316f..295afacd 100644 --- a/homebrew/gitsh.rb.in +++ b/homebrew/gitsh.rb.in @@ -44,6 +44,6 @@ class Gitsh < Formula end def set_architecture - ENV['READLINE_ARCH'] = "-arch #{MacOS.preferred_arch}" + ENV['READLINE_ARCH'] = "-arch #{Hardware::CPU.arch}" end end