I recently had the need to develop a quick ruby on rails application offline, I had all the GEMS I needed for the application and ran bundle install –local and still I got errors. It seems with the latest versions of bundler local is not offline but requires an Internet connection.
To work offline in Ruby On Rails you need to run on bunder version 1.5.x and below. This is a bit of a gotcha for developers working in an offline environment.