Re: BadgeApp now upgraded from Rails 4 to Rails 5!

Mark Rader


I sent you details, but after downloading the code I get two errors.  The first

1.  rake db:reset fails.  This is needed to reset the test database and cause schema updates on test systems.
2.  rake fails. 

This is caused by the following interaction.  To get #1 to work you have to run.

bin/rails db:environment:set RAILS_ENV=development.

It causes the following error to rake.

You are running in `test` environment. If you are sure you want to continue, first set the environment using:

        bin/rails db:environment:set RAILS_ENV=test

If you reset the RAILS_ENV it does work then.

Mark Rader

On Mon, Jan 9, 2017 at 2:42 PM, Wheeler, David A <dwheeler@...> wrote:

FYI, the badging application (“BadgeApp”) has just upgraded from Rails 4 to Rails 5.  There were a number of issues that needed to be dealt with; my thanks to Dan Kohn for spearheading the work.


If you see any *new* problems as of today, please let us know *immediately*.


I’ve queued up some other changes, so that we could separate Rails 5 upgrade issues from anything else.  Presuming we don’t hear anything, we’ll go back to making steady incremental improvements.


--- David A. Wheeler


CII-badges mailing list

Join to automatically receive all group messages.