I am trying to run an app taken off Github.

I have run bundle install to install required gems from the Gemfile. However when running the app, an error message tells me the gems installed are the wrong version.

On inspecting the Gemfile.lock I note that the versions are older than the gems installed. (i.e. I have newer versions of gems installed and the application requires older gems.)

Is there a quick way to install all the gems as per the versions described in the Gemfile.lock file? Alternatively is there a method to ignore that file?

Gemfile:

   source 'http://rubygems.org'
   gem 'rails', "3.0.9"
   gem "sass"
   ..

Gemfile.lock:

 sass (3.1.1)
 ..

In the above example, even though sass is installed the app specially requires version 3.1.1.

Edit
Report