ualbertalib / DMPonline_v4

New code for DMPonline developed by DCC
dmponline.dcc.ac.uk
GNU Affero General Public License v3.0
4 stars 30 forks source link

Gemfile: dependency error because of new rails version #95

Open torbenrabe opened 8 years ago

torbenrabe commented 8 years ago

Hi,

I get the following error with rails version 3.2.22:

su dmponline -c 'rake db:setup RAILS_ENV=production'
rake aborted!
Bundler::GemNotFound: You have requested:
  rails = 3.2.22

The bundle currently has rails locked at 3.2.22.1.
Try running `bundle update rails`

I changed the rails version from ~>3.2.22 to ~>3.2.22.1 in the Gemfile and the error is gone. This could be related to a new rails version 3.2.22.1 on january the 26th.

Greetings

p.s.: I am using the deployment-portage branch

weiweishi commented 8 years ago

Thanks. We didn't run into this issue with our bundle install. but that is a good point. I will make sure it uses rails ~> 3.2.22 instead.

Cheers!

Weiwei Shi

Digital Initiative Applications Librarian University of Alberta Libraries 2-10L Cameron Library Edmonton, Alberta, Canada T6G 2J8 Phone:(780)492-7802 Fax: (780)248-1209 Email: weiwei.shi@ualberta.ca

On Thu, Feb 11, 2016 at 4:17 AM, torbenrabe notifications@github.com wrote:

Hi,

I get the following error with rails version 3.2.22 at startup:

su dmponline -c 'rake db:setup RAILS_ENV=production' rake aborted! Bundler::GemNotFound: You have requested: rails = 3.2.22

The bundle currently has rails locked at 3.2.22.1. Try running bundle update rails

I changed the rails version from 3.2.22 to 3.2.22.1 and the error is gone. This seems to be related to a new rails version 3.2.22.1 on january the 26th.

Greetings

— Reply to this email directly or view it on GitHub https://github.com/ualbertalib/DMPonline_v4/issues/95.