-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
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
Cannot install jekyll on MacOS #6893
Labels
Comments
Try running with sudo permissions: |
Thanks @posadaj It works! After resolving a few dependency issues, http://localhost:4000 was displayed. Now, I will take the next baby step in setting up a GitHub Page site. Thanks to all, |
Thanks. It works!
On Apr 3, 2018, at 12:11 AM, Jonathan Posada <notifications@github.com<mailto:notifications@github.com>> wrote:
Caution - External Email
…________________________________
Try running with sudo permissions:
$ sudo gem install jekyll bundler
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_jekyll_jekyll_issues_6893-23issuecomment-2D378122491&d=DwMCaQ&c=c6MrceVCY5m5A_KAUkrdoA&r=t4y9-xOkKjSY-jkjmlPkNQ&m=8MBgbiphm0Vb_WuX5azZpgRiHHvtiFd6ZNcjKBzKQu4&s=oqm4QHbeZSHW3N7VUdYRpyT3iuL3nOS2WcB0sZ08_JA&e=>, or mute the thread<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ALIWBOCGgaNvFXW-5FoWTjfrUSwDeG8gkpks5tkvZjgaJpZM4TED8P&d=DwMCaQ&c=c6MrceVCY5m5A_KAUkrdoA&r=t4y9-xOkKjSY-jkjmlPkNQ&m=8MBgbiphm0Vb_WuX5azZpgRiHHvtiFd6ZNcjKBzKQu4&s=mKtSDVI2NiacYyX8GecT-aXjAbl9NV9cQ_yLynyElWc&e=>.
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The Output I Wanted
Establish a GitHub Pages website using jekyll.
github-pages
My Reproduction Steps
My approach is trial and error. Originally, I received the following error several times: (Gem::FilePermissionError) For example,
<PJO:~ PJO$ gem install jekyll bundler>
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /Library/Ruby/Gems/2.3.0 directory.
Next, I tried several different approaches, including rubyonrails, without success. Now, I am using Xcode version 9.3, ruby 2.5.1, and gem 2.7.6.
This approach looks promising. Now, my error is: (Errno::EACCES) . This error appears to be associated with rubyonrails. I searched the web and found people had difficulty removing rubyonrails.
Note that t successfully performed several installations where above I did not.
<PJO:~ PJO$ gem install jekyll>
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: While executing gem ... (Errno::EACCES)
Permission denied @ dir_s_mkdir - /usr/local/lib/ruby/gems/2.5.0/extensions/x86_64-darwin-17
<PJO:~ PJO$ gem install jekyll>
Building native extensions. This could take a while...
ERROR: While executing gem ... (Errno::EACCES)
Permission denied @ dir_s_mkdir - /usr/local/lib/ruby/gems/2.5.0/extensions/x86_64-darwin-17
It appears that I close to a solution: Remove rubyonrails.
I would appreciate help.
Thanks
Paul
The text was updated successfully, but these errors were encountered: