Debian: Bundle command not found

Reference: Supposed you have already installed ruby and rubygems in Debian, and install bundler using gem install command, however when you are trying to get bundle update you got an error which says bundle command not found. The path to bundler is at /var/lib/gems/1.8/bin Use these bash lines: