Can't build MacGPG2 - ruby error
What's really confusing is that this seems to be using both a brew included in the repo, and my system's brew. I updated both, same error.
git clone https://github.com/GPGTools/MacGPG2.git
\cd MacGPG2 git submodule init git submodule update make cd cd
/usr/local/Library cd /usr/local/Library git pull origin master cd
- cd /System/Library/Frameworks/Ruby.framework/Versions brew update
brew doctor cd - make ./build.sh ==> Building MacGPG2 Error:
/Users/richardbondi/gpg/git/MacGPG2/build/homebrew/Library/Homebrew/formula.rb:579:
syntax error, unexpected ':', expecting keyword_then or ';' or
'\n'
/Users/richardbondi/gpg/git/MacGPG2/build/homebrew/Library/Homebrew/formula.rb:868:
syntax error, unexpected keyword_end, expecting end-of-input Please
report this bug:
https://github.com/Homebrew/homebrew/wiki/troubleshooting
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:inrequire'
/Users/richardbondi/gpg/git/MacGPG2/build/homebrew/Library/Homebrew/formula_installer.rb:5:in
<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:inrequire'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
require'
/Users/richardbondi/gpg/git/MacGPG2/build/homebrew/Library/Homebrew/cmd/install.rb:1:in'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:inrequire'
/Users/richardbondi/gpg/git/MacGPG2/build/homebrew/Library/brew.rb:67:in
require?'
/Users/richardbondi/gpg/git/MacGPG2/build/homebrew/Library/brew.rb:106:in'
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac
1 Posted by rbondi on 15 Apr, 2015 01:02 PM
What's really confusing is that this seems to be using both a brew included in the repo, and my system's brew. I updated both, same error.
Support Staff 2 Posted by Luke Le on 26 Jun, 2015 12:38 PM
Hi,
since we have made some significant changes to homebrew which are necessary for our build system to work, it's harder to apply them to newer versions of homebrew.
Unfortunately it will take some time for us to make the MacGPG2 build system compatible with OS X Yosemite.
What worked for me was to symlink the old Ruby.framework from Mavericks.
It's a dirty workaround but one that should help.
Steve closed this discussion on 24 Feb, 2016 12:12 PM.