7

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.

2
  • 1
    Have you installed ruby yet? Commented Dec 11, 2016 at 7:17
  • I did and it worked after installing rubygem :') Thankyou @BlackHatSamurai :') Commented Dec 11, 2016 at 17:42

1 Answer 1

5

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.

2
  • One thing, when I opened new cmd session and typed bash, it didn't work. It says 'bash' is not recognized as an internal or external command, operable program or batch file. @VonC Commented Dec 11, 2016 at 17:48
  • Yes, you need your git/bin folder in your PATH
    – VonC
    Commented Dec 11, 2016 at 17:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.