Can’t run ”gem install bundle’ in git bash termina

2020-06-05 06:08发布

I'm new to Web development with Sinatra. I've been trying to run bundle install command in git-bash terminal, but it's says that:

**bash: bundle:** command not found

I've then tried to install bundler but then I'm kept getting this error:

**bash: gem:** command not found

I can't even run gem install bundler command in git-bash terminal. Please tell me what to do ??

I'm working on windows 7 x64bit system.

标签: git bash sinatra
1条回答
疯言疯语
2楼-- · 2020-06-05 06:51

Make sure that:

Then open a new CMD session, and type bash (the bash from Git should open).
Then ruby should be available, including gem.

查看更多
登录 后发表回答