i want to view website on a live server ..but im not familiar with jekyll yet
first i tried bundle exec jekyll serve
and this is the output in atom terminal:
PS C:\Users\user\Documents\GitHub\bioscreator-lp> bundle exec jekyll serve Configuration file: C:/Users/user/Documents/GitHub/bioscreator-lp/_config.yml Dependency Error: Yikes! It looks like you don't have tzinfo or one of its dependencies installed. In order to use Jekyll as currently configured, you'll need to ins tall this gem. If you've run Jekyll with `bundle exec`, ensure that you have included the tzinfo gem in your Gemfile as well. The full error message from Ruby is: 'can not load such file -- tzinfo' If you run into trouble, you can find helpful resources at https://jekyllrb.com/help/! jekyll 4.0.0 | Error: tzinfo C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.0.0/lib/jekyll/external.rb:73:in `rescue in block in require_with_graceful_fail': tzinfo (Jekyll::Errors::MissingDepend encyException)
after a few research i tried to put gem 'tzinfo-data'
into gemfile and run bundle install
run bundle exec jekyll serve
and there still another error:
PS C:\Users\user\Documents\GitHub\bioscreator-lp> bundle exec jekyll serve Configuration file: C:/Users/user/Documents/GitHub/bioscreator-lp/_config.yml jekyll 4.0.0 | Error: uninitialized constant TZInfo::Timezone tz = TZInfo::Timezone.get(timezone) ^^^^^^^^^^ C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/jekyll-4.0.0/lib/jekyll/utils/win_tz.rb:16:in `calculate': uninitialized constant TZInfo::Timezone (NameError) tz = TZInfo::Timezone.get
theres another solution i found here in stackoverflow but looks like it will only works in older version of jekyll..my version is 4.0.0