dimanche 28 mai 2017

Rails Repo pointing to old gem version

I am using rails engine as gem in my application, but after deploying through capistrano on server and even after bundling the latest gem version repo always points to old gem version.

This is my Gemfile

gem 'crowd',git: 'git@bitbucket.org:prem/boold-crowd.git', branch: 'dev', ref: 'baa893230325f5aceffd0b0c4b471cd145644c8e'

I have pointed my repo to dev branch and commit version baa893230325f5aceffd0b0c4b471cd145644c8e but when checking the gem version in bundler folder in

/home/deploy/boold/shared/bundle/ruby/2.2.0/bundler/gems/

I can see their are 2 gems with two versions one new version and one old version and my repo always points to older version even after fresh deployment.

boold-crowd-d759cbaf83ea  #this is the older gem version where app is pointed
boold-crowd-baa893230325  #new version which never gets used.

Aucun commentaire:

Enregistrer un commentaire