Problem while using `jekyll build`, problem while generating feed for posts

I was trying to run on localhost. When I hit jekyll build, followinf error occured

Configuration file: /home/astrophile/web development/Blog/_config.yml
            Source: /home/astrophile/web development/Blog
       Destination: /home/astrophile/web development/Blog/_site
 Incremental build: disabled. Enable with --incremental
       Jekyll Feed: Generating feed for posts
jekyll 4.0.0 | Error:  undefined method `red' for #<String:0x000055f0ca06b308>

Can someone help in fixing this issue.

try jekyll build --verbose to see if you get more info.

The issue is because Jekyll is not able to load the colorator gem properly.
gem install colorator ought to fix this.