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:
I've then tried to install bundler but then I'm kept getting this error:
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.
Make sure that:
- ruby for Windows is installed
- your %PATH% is modified to reference ruby (
Advanced System Settings
/ Environment Variables
/ System Variables
/ Path
: enter: C:\Path\to\Ruby\bin;
)
- rubygem is installed. (If you use rubyinstaller, that should be already the case)
Then open a new CMD session, and type bash
(the bash from Git should open).
Then ruby should be available, including gem
.