2

I don't have jekyll installed on my system

➜  ~ Could not locate Gemfile or .bundle/ directory

➜  ~ which jekyll
jekyll not found
➜  ~ which ruby
/usr/bin/ruby
➜  ~ 
➜  ~ which bundle 
zsh: correct 'bundle' to '.bundle' [nyae]? n
/usr/bin/bundle

Every time I press Tab key on the terminal to navigate the files and folders it returns

"Could not locate Gemfile or .bundle/ directory". How do I resolve the issue?

Edit: Resolved I had an alias as exec="bundle exec jekyll serve" which was messing up the navigation.

4
  • Try going to .zshrc file and see if that is defined somewhere in the file. The file is located in your home directory. – Natsfan May 14 '20 at 17:25
  • Crap, right, I had an alias as exec="bundle exec jekyll serve" Thanks – developer May 14 '20 at 17:32
  • If i post that as an answer will you accept it? – Natsfan May 14 '20 at 17:39
  • Sure will do that – developer May 14 '20 at 17:41
0

Go to the .zshrc file in your home folder and check if a command like that is listed. If so delete it. The .zshrc file gets executed every time you open a terminal window.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .