Skip to content

Commit

Permalink
Merge pull request #188 from redBorder/development
Browse files Browse the repository at this point in the history
Release 3.1.0
  • Loading branch information
manegron authored Oct 23, 2024
2 parents fa7c466 + eb78371 commit cfd7439
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.0.0
3.1.0
31 changes: 31 additions & 0 deletions resources/bin/rb_rails_console.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
#!/bin/bash -

#######################################################################
# Copyright (c) 2024 ENEO Tecnologia S.L.
# This file is part of redBorder.
# redBorder is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# redBorder is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License License for more details.
# You should have received a copy of the GNU Affero General Public License License
# along with redBorder. If not, see <http://www.gnu.org/licenses/>.
#######################################################################

if [ ! -d /var/www/rb-rails ]; then
echo 'ERROR: rb-rails not found!'
exit 1
fi

source /etc/profile

pushd /var/www/rb-rails &>/dev/nul

rvm gemset use web &>/dev/null

RAILS_ENV=production rails console

exit 0

0 comments on commit cfd7439

Please sign in to comment.