Establish a GitHub Pages website using jekyll.
github-pages
My approach is _trial and error._ Originally, I received the following error several times: __(Gem::FilePermissionError)__ For example,
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._
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
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
Try running with sudo permissions:
$ sudo gem install jekyll bundler
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,
Paul
Thanks. It works!
On Apr 3, 2018, at 12:11 AM, Jonathan Posada <[email protected]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 GitHubhttps://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 threadhttps://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=.
Most helpful comment
Try running with sudo permissions:
$ sudo gem install jekyll bundler