hi
I'm trying to get this going on three macs.
I have an Ed directory made and when I try to start the installation process, I run into consistent issues on all three computers. I'd really appreciate some help. May I bore you with a transcript? The issues appear to be with Ruby?
Thanks
Chip Brock
chiphome:QS&BBmanuscript chipbrock$ cd /Users/chipbrock/Dropbox/ImmediateWork/_writing/QSandBB/QS&BBmanuscript/git-ed/ed
chiphome:ed chipbrock$ ls
404.html _includes atom.xml public
Gemfile _layouts credits.md search.html
LICENSE.md _texts documentation.md
README.md about.md index.html
_config.yml assets optional
chiphome:ed chipbrock$ gem install bundler
Fetching: bundler-1.14.6.gem (100%)
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
chiphome:ed chipbrock$ sudo gem install bundler
Password:
Fetching: bundler-1.14.6.gem (100%)
Successfully installed bundler-1.14.6
Parsing documentation for bundler-1.14.6
Installing ri documentation for bundler-1.14.6
1 gem installed
chiphome:ed chipbrock$
chiphome:ed chipbrock$
chiphome:ed chipbrock$
chiphome:ed chipbrock$ bundle install
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.1 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.
Your user account isn't allowed to install to the system RubyGems.
You can cancel this installation and run:
bundle install --path vendor/bundle
to install the gems into ./vendor/bundle/, or you can enter your password
and install the bundled gems to RubyGems using sudo.
Password:
Installing i18n 0.8.1
Installing minitest 5.10.1
Installing thread_safe 0.3.6
Installing public_suffix 2.0.5
Installing colorator 0.1
Installing colored 1.2
Installing ffi 1.9.18 with native extensions
Installing mercenary 0.3.6
Installing mini_portile2 2.1.0
Installing parallel 1.11.1
Installing yell 2.0.7
Installing sass 3.4.23
Installing rb-fsevent 0.9.8
Installing kramdown 1.13.2
Installing liquid 3.0.6
Installing rouge 1.11.1
Installing safe_yaml 1.0.4
Using bundler 1.14.6
Installing tzinfo 1.2.3
Installing addressable 2.5.1
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/include/ruby.h
Gem files will remain installed in
/var/folders/1s/8bnqx3rj0kz9vpp5vrhv03xc0000gx/T/bundler20170419-97608-3m7g9cffi-1.9.18/gems/ffi-1.9.18
for inspection.
Results logged to
/var/folders/1s/8bnqx3rj0kz9vpp5vrhv03xc0000gx/T/bundler20170419-97608-3m7g9cffi-1.9.18/gems/ffi-1.9.18/ext/ffi_c/gem_make.out
An error occurred while installing ffi (1.9.18), and Bundler cannot continue.
Make sure that gem install ffi -v '1.9.18'
succeeds before bundling.
chiphome:ed chipbrock$
chiphome:ed chipbrock$
chiphome:ed chipbrock$
chiphome:ed chipbrock$ gem install ffi -v '1.9.18'
Fetching: ffi-1.9.18.gem (100%)
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
chiphome:ed chipbrock$ sudo gem install ffi -v '1.9.18'
Building native extensions. This could take a while...
ERROR: Error installing ffi:
ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/include/ruby.h
Gem files will remain installed in /Library/Ruby/Gems/2.0.0/gems/ffi-1.9.18 for inspection.
Results logged to /Library/Ruby/Gems/2.0.0/gems/ffi-1.9.18/ext/ffi_c/gem_make.out
chiphome:ed chipbrock$
chiphome:ed chipbrock$
chiphome:ed chipbrock$
chiphome:ed chipbrock$ bundle install --path vendor/bundle
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.1 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 i18n 0.8.1
Installing minitest 5.10.1
Installing thread_safe 0.3.6
Installing public_suffix 2.0.5
Installing colorator 0.1
Installing colored 1.2
Installing ffi 1.9.18 with native extensions
Installing mercenary 0.3.6
Installing mini_portile2 2.1.0
Installing parallel 1.11.1
Installing yell 2.0.7
Installing sass 3.4.23
Installing rb-fsevent 0.9.8
Installing kramdown 1.13.2
Installing liquid 3.0.6
Installing rouge 1.11.1
Installing safe_yaml 1.0.4
Using bundler 1.14.6
Installing tzinfo 1.2.3
Installing addressable 2.5.1
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/include/ruby.h
Gem files will remain installed in
/Users/chipbrock/Dropbox/ImmediateWork/_writing/QSandBB/QS&BBmanuscript/git-ed/ed/vendor/bundle/ruby/2.0.0/gems/ffi-1.9.18 for inspection.
Results logged to
/Users/chipbrock/Dropbox/ImmediateWork/_writing/QSandBB/QS&BBmanuscript/git-ed/ed/vendor/bundle/ruby/2.0.0/gems/ffi-1.9.18/ext/ffi_c/gem_make.out
An error occurred while installing ffi (1.9.18), and Bundler cannot continue.
Make sure that gem install ffi -v '1.9.18'
succeeds before bundling.
chiphome:ed chipbrock$