Upgrade Spree
It is strongly recommended to create a backup before starting the update process. If you have important data, create and restore a backup to ensure that everything works properly.
Run the following commands:
$ cd /opt/bitnami
$ cd apps/spree/htdocs
$ gem update spree
$ /opt/bitnami/ctlscript.sh restart apache