-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trouble installing software #2
Comments
You need to prefix the command with sudo. It is writing into a shared system directory. I had to do this also.
From: Stephen Griffies
Sent: Saturday, 16 June 2018 12:55 PM
To: mom-ocean/mom-ocean.github.io
Cc: Subscribed
Subject: [mom-ocean/mom-ocean.github.io] trouble installing software (#2)
On my Mac I get an error with gem. I have MacOS HighSierra 10.13.5. Google turns up something similar, but my initial leads came up dry.
/Users/stephen.griffies
Stephens-Air-4:~ stephen.griffies$ gem install bundler jekyll
Fetching: bundler-1.16.2.gem (100%)
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory.
Stephens-Air-4:~ stephen.griffies$
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Thanks for the "sudo" step. I got further. But there is still an error in the install "ERROR: Failed to build gem native extension.". Should I ignore? Stephens-Air-4:~ stephen.griffies$ sudo gem install bundler jekyll
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -r ./siteconf20180617-95585-mwuegc.rb extconf.rb extconf failed, exit code 1 Gem files will remain installed in /Library/Ruby/Gems/2.3.0/gems/http_parser.rb-0.6.0 for inspection. |
You could try running it again.
I seem to recall I had to run something twice (sorry for the vague instructions).
This is so you can preview the site before pushing, but it is not strictly necessary. You can break fiddle an break it and just revert to a previous version.
Obviously it is better to be able to preview any changes ...
Cheers
Aidan
… On 17 Jun 2018, at 9:11 pm, Stephen Griffies ***@***.***> wrote:
Thanks for the "sudo" step. I got further. But there is still an error in the install "ERROR: Failed to build gem native extension.". Should I ignore?
Stephens-Air-4:~ stephen.griffies$ sudo gem install bundler jekyll
Password:
Fetching: bundler-1.16.2.gem (100%)
Successfully installed bundler-1.16.2
Parsing documentation for bundler-1.16.2
Installing ri documentation for bundler-1.16.2
Done installing documentation for bundler after 7 seconds
Fetching: public_suffix-3.0.2.gem (100%)
Successfully installed public_suffix-3.0.2
Fetching: addressable-2.5.2.gem (100%)
Successfully installed addressable-2.5.2
Fetching: colorator-1.1.0.gem (100%)
Successfully installed colorator-1.1.0
Fetching: http_parser.rb-0.6.0.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing jekyll:
ERROR: Failed to build gem native extension.
current directory: /Library/Ruby/Gems/2.3.0/gems/http_parser.rb-0.6.0/ext/ruby_http_parser
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby -r ./siteconf20180617-95585-mwuegc.rb extconf.rb
mkmf.rb can't find header files for ruby at /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/include/ruby.h
extconf failed, exit code 1
Gem files will remain installed in /Library/Ruby/Gems/2.3.0/gems/http_parser.rb-0.6.0 for inspection.
Results logged to /Library/Ruby/Gems/2.3.0/extensions/universal-darwin-17/2.3.0/http_parser.rb-0.6.0/gem_make.out
1 gem installed
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Tried it again, with same error. I will move forward. |
It seems this error is because you don't have Xcode command line tools installed. Follow the instructions here: http://osxdaily.com/2014/02/12/install-command-line-tools-mac-os-x/ to install just the command line tools in the first instance, and see if that fixes it. |
On my Mac I get an error with gem. I have MacOS HighSierra 10.13.5. Google turns up something similar, but my initial leads came up dry.
/Users/stephen.griffies
Stephens-Air-4:~ stephen.griffies$ gem install bundler jekyll
Fetching: bundler-1.16.2.gem (100%)
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory.
Stephens-Air-4:~ stephen.griffies$
The text was updated successfully, but these errors were encountered: