Ok, so minotaur might be slow.

[CraigRussell:whimsy/www/secmail] clr% rake fetch1
Note: logging in to this server with a password has been disabled. 

Please see : 
https://blogs.apache.org/infra/entry/committer_shell_access_to_people

Remember to load your ssh key:-

See: http://linux.die.net/man/1/ssh-add  
See: http://linux.die.net/man/1/ssh-agent

receiving file list ... done
201512

sent 42 bytes  received 59740694 bytes  1783305.55 bytes/sec
total size is 59733277  speedup is 1.00
officers-secretary/201512
[CraigRussell:whimsy/www/secmail] clr% rake server
Watching /Users/clr/apache/git/whimsy/www/secmail

Puma starting in single mode...
* Version 2.15.3 (ruby 2.0.0-p481), codename: Autumn Arbor Airbrush
* Min threads: 0, max threads: 16
* Environment: production

/Users/clr/apache/git/whimsy/www/secmail/public/assets/bootstrap-min.css added
/Users/clr/apache/git/whimsy/www/secmail/public/assets/bootstrap-min.js added
/Users/clr/apache/git/whimsy/www/secmail/public/assets/jquery-min.js added
/Users/clr/apache/git/whimsy/www/secmail/public/assets/react-min.js added
! Unable to load application: NoMethodError: undefined method `begin_restart' 
for nil:NilClass
/Library/Ruby/Gems/2.0.0/gems/puma-2.15.3/lib/puma/single.rb:12:in `restart': 
undefined method `begin_restart' for nil:NilClass (NoMethodError)
        from /Library/Ruby/Gems/2.0.0/gems/puma-2.15.3/lib/puma/cli.rb:238:in 
`restart'
        from /Library/Ruby/Gems/2.0.0/gems/puma-2.15.3/lib/puma/cli.rb:483:in 
`block in setup_signals'
        from 
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
 `call'
        from 
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
 `require'
        from 
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
 `require'
        from /Library/Ruby/Gems/2.0.0/gems/mail-2.6.3/lib/mail.rb:73:in 
`<module:Mail>'
        from /Library/Ruby/Gems/2.0.0/gems/mail-2.6.3/lib/mail.rb:2:in `<top 
(required)>'
        from 
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in
 `require'
        from 
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:135:in
 `rescue in require'
        from 
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:144:in
 `require'
        from /Users/clr/apache/git/whimsy/www/secmail/mailbox.rb:9:in `<top 
(required)>'
        from /Users/clr/apache/git/whimsy/www/secmail/server.rb:12:in 
`require_relative'
        from /Users/clr/apache/git/whimsy/www/secmail/server.rb:12:in `<top 
(required)>'
        from 
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
 `require'
        from 
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in
 `require'
        from config.ru:1:in `block in <main>'
        from /Library/Ruby/Gems/2.0.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in 
`instance_eval'
        from /Library/Ruby/Gems/2.0.0/gems/rack-1.6.4/lib/rack/builder.rb:55:in 
`initialize'
        from config.ru:in `new'
        from config.ru:in `<main>'
        from /Library/Ruby/Gems/2.0.0/gems/rack-1.6.4/lib/rack/builder.rb:49:in 
`eval'
        from /Library/Ruby/Gems/2.0.0/gems/rack-1.6.4/lib/rack/builder.rb:49:in 
`new_from_string'
        from /Library/Ruby/Gems/2.0.0/gems/rack-1.6.4/lib/rack/builder.rb:40:in 
`parse_file'
        from 
/Library/Ruby/Gems/2.0.0/gems/puma-2.15.3/lib/puma/configuration.rb:144:in 
`load_rackup'
        from 
/Library/Ruby/Gems/2.0.0/gems/puma-2.15.3/lib/puma/configuration.rb:97:in `app'
        from 
/Library/Ruby/Gems/2.0.0/gems/puma-2.15.3/lib/puma/runner.rb:113:in 
`load_and_bind'
        from /Library/Ruby/Gems/2.0.0/gems/puma-2.15.3/lib/puma/single.rb:79:in 
`run'
        from /Library/Ruby/Gems/2.0.0/gems/puma-2.15.3/lib/puma/cli.rb:215:in 
`run'
        from /Library/Ruby/Gems/2.0.0/gems/puma-2.15.3/bin/puma:10:in `<top 
(required)>'
        from /usr/bin/puma:23:in `load'
        from /usr/bin/puma:23:in `<main>'

/Users/clr/apache/git/whimsy/www/secmail/public/assets/react-min.js modified


> On Dec 13, 2015, at 3:56 PM, Craig L Russell <[email protected]> wrote:
> 
> There’s a big thread on stack overflow about this error, but I’m not sure 
> what to do about it.
> 
> http://stackoverflow.com/questions/5528839/why-does-installing-nokogiri-on-mac-os-fail-with-libiconv-is-missing
> 
> 
> [CraigRussell:whimsy/www/secmail] clr% sudo gem install bundler
> Password:
> Fetching: bundler-1.11.0.gem (100%)
> Successfully installed bundler-1.11.0
> Parsing documentation for bundler-1.11.0
> Installing ri documentation for bundler-1.11.0
> 1 gem installed
> [CraigRussell:whimsy/www/secmail] clr% rake fetch1
> Fetching gem metadata from https://rubygems.org/..........
> Fetching version metadata from https://rubygems.org/...
> Fetching dependency metadata from https://rubygems.org/..
> Resolving dependencies....
> Rubygems 2.0.14 is not threadsafe, so your gems will be installed one at a 
> time. Upgrade to Rubygems 2.1.0 or higher to enable parallel gem installation.
> Installing rake 10.4.2
> Using ast 2.1.0
> Installing crass 1.0.2
> Installing execjs 2.6.0
> Installing ffi 1.9.10 with native extensions
> Installing json 1.8.3 with native extensions
> Installing rb-fsevent 0.9.6
> Installing mime-types 2.99
> Installing mini_portile2 2.0.0
> Installing puma 2.15.3 with native extensions
> Using rack 1.6.4
> Using ruby-ldap 0.9.17
> Installing tilt 2.0.1
> Using thread_safe 0.3.5
> Installing zip 2.0.2
> Using bundler 1.11.0
> Using parser 2.2.3.0
> Installing rb-inotify 0.9.5
> Installing wunderbar 1.0.10
> Installing mail 2.6.3
> Installing nokogiri 1.6.7 with native extensions
> 
> Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native 
> extension.
> 
>    /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby 
> extconf.rb
> checking if the C compiler accepts ... yes
> checking if the C compiler accepts 
> -Wno-error=unused-command-line-argument-hard-error-in-future... no
> Building nokogiri using packaged libraries.
> Using mini_portile version 2.0.0
> checking for iconv.h... yes
> checking for gzdopen() in -lz... yes
> checking for iconv... no
> -----
> libiconv is missing.  Please locate mkmf.log to investigate how it is failing.
> -----
> *** extconf.rb failed ***
> Could not create Makefile due to some reason, probably lack of necessary
> libraries and/or headers.  Check the mkmf.log file for more details.  You may
> need configuration options.
> 
> Provided configuration options:
>       --with-opt-dir
>       --without-opt-dir
>       --with-opt-include
>       --without-opt-include=${opt-dir}/include
>       --with-opt-lib
>       --without-opt-lib=${opt-dir}/lib
>       --with-make-prog
>       --without-make-prog
>       --srcdir=.
>       --curdir
>       
> --ruby=/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
>       --help
>       --clean
>       --use-system-libraries
>       --enable-static
>       --disable-static
>       --with-zlib-dir
>       --without-zlib-dir
>       --with-zlib-include
>       --without-zlib-include=${zlib-dir}/include
>       --with-zlib-lib
>       --without-zlib-lib=${zlib-dir}/lib
>       --enable-cross-build
>       --disable-cross-build
> 
> 
> Gem files will remain installed in 
> /var/folders/mx/t44d3_bs437dpnywzk_mwl_0002msd/T/bundler20151213-26734-1hkrf09nokogiri-1.6.7/gems/nokogiri-1.6.7
>  for inspection.
> Results logged to 
> /var/folders/mx/t44d3_bs437dpnywzk_mwl_0002msd/T/bundler20151213-26734-1hkrf09nokogiri-1.6.7/gems/nokogiri-1.6.7/ext/nokogiri/gem_make.out
> Installing rack-protection 1.5.3
> Using tzinfo 1.2.2
> Installing ruby2js 2.0.10
> Installing listen 3.0.5
> An error occurred while installing nokogiri (1.6.7), and Bundler cannot
> continue.
> Make sure that `gem install nokogiri -v '1.6.7'` succeeds before bundling.
> rake aborted!
> Command failed with status (5): [bundle update...]
> /Users/clr/apache/git/whimsy/www/secmail/Rakefile:11:in `block in <top 
> (required)>'
> Tasks: TOP => fetch1 => bundle => Gemfile.lock
> (See full trace by running task with --trace)
> [CraigRussell:whimsy/www/secmail] clr% sudo gem install nokogiri -v '1.6.7'
> Building native extensions.  This could take a while...
> ERROR:  Error installing nokogiri:
>       ERROR: Failed to build gem native extension.
> 
>    /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby 
> extconf.rb
> checking if the C compiler accepts ... yes
> checking if the C compiler accepts 
> -Wno-error=unused-command-line-argument-hard-error-in-future... no
> Building nokogiri using packaged libraries.
> Using mini_portile version 2.0.0
> checking for iconv.h... yes
> checking for gzdopen() in -lz... yes
> checking for iconv... no
> -----
> libiconv is missing.  Please locate mkmf.log to investigate how it is failing.
> -----
> *** extconf.rb failed ***
> Could not create Makefile due to some reason, probably lack of necessary
> libraries and/or headers.  Check the mkmf.log file for more details.  You may
> need configuration options.
> 
> Provided configuration options:
>       --with-opt-dir
>       --without-opt-dir
>       --with-opt-include
>       --without-opt-include=${opt-dir}/include
>       --with-opt-lib
>       --without-opt-lib=${opt-dir}/lib
>       --with-make-prog
>       --without-make-prog
>       --srcdir=.
>       --curdir
>       
> --ruby=/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
>       --help
>       --clean
>       --use-system-libraries
>       --enable-static
>       --disable-static
>       --with-zlib-dir
>       --without-zlib-dir
>       --with-zlib-include
>       --without-zlib-include=${zlib-dir}/include
>       --with-zlib-lib
>       --without-zlib-lib=${zlib-dir}/lib
>       --enable-cross-build
>       --disable-cross-build
> 
> 
> Gem files will remain installed in 
> /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.7 for inspection.
> Results logged to 
> /Library/Ruby/Gems/2.0.0/gems/nokogiri-1.6.7/ext/nokogiri/gem_make.out
> [CraigRussell:whimsy/www/secmail] clr% 
> 
>> On Dec 13, 2015, at 3:15 PM, Sam Ruby <[email protected]> wrote:
>> 
>> On Sun, Dec 13, 2015 at 6:04 PM, Craig L Russell
>> <[email protected]> wrote:
>>> 
>>> Command failed with status (127): [bundle update...]
>> 
>> Looks like I skipped a step: "gem install bundler"
>> 
>> - Sam Ruby
> 
> Craig L Russell
> Architect, Oracle
> http://db.apache.org/jdo
> 408 276-5638 mailto:[email protected]
> P.S. A good JDO? O, Gasp!
> 

Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:[email protected]
P.S. A good JDO? O, Gasp!

Reply via email to