# you haven't installed ruby yet:
# brew install ruby
# add ruby to $PATH
gem install jekyll bundler
bundle install
# --future let's us view articles with dates in the future and drafts
bundle exec jekyll serve --future --drafts
if you get this error from bundle install
/usr/local/opt/ruby/bin/bundle:25:in `load': cannot load such file -- /usr/local/lib/ruby/gems/3.1.0/gems/bundler-2.2.23/exe/bundle (LoadError)
from /usr/local/opt/ruby/bin/bundle:25:in `<main>'
run this. you should be able to run bundle install
now
bundle update --bundler
You can share a tunnel to your localhost:4000
server like so:
$ ssh -R 80:localhost:4000 [email protected]
...
someaddress.localhost.run tunneled with tls termination, https://someaddress.localhost.run
Then access the site from anywhere online via https://someaddress.localhost.run