X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/16f704326f44fd1e5e5e60b936c9b5895d6a6ff8..f6ea5e67a71df12bd665de083d6fdc35e64b6b27:/doc/_includes/_install_rails_command.liquid diff --git a/doc/_includes/_install_rails_command.liquid b/doc/_includes/_install_rails_command.liquid index 027f64bebb..b648e92161 100644 --- a/doc/_includes/_install_rails_command.liquid +++ b/doc/_includes/_install_rails_command.liquid @@ -8,7 +8,7 @@ SPDX-License-Identifier: CC-BY-SA-3.0 This template recognizes four variables: * railshost: The hostname included in the prompt, to let the user know where to run the command. If this is the empty string, no hostname will be displayed. Default "apiserver". * railsdir: The directory included in the prompt, to let the user know where to run the command. Default "/var/www/arvados-api/current". -* railscmd: The full command to run. Default "bundle exec rails console". +* railscmd: The full command to run. Default "bin/rails console". * railsout: The expected output of the command, if any. {% endcomment %} Change *@webserver-user@* to the user that runs your web server process. If you install Phusion Passenger as we recommend, this is *@www-data@* on Debian-based systems, and *@nginx@* on Red Hat-based systems. @@ -25,20 +25,9 @@ This template recognizes four variables: {% endunless %} {% unless railscmd %} - {% assign railscmd = "bundle exec rails console" %} + {% assign railscmd = "bin/rails console" %} {% endunless %} -Using RVM: - - -
{{railshost}}~$ cd {{railsdir}}
-{{railshost}}{{railsdir}}$ sudo -u webserver-user RAILS_ENV=production `which rvm-exec` default {{railscmd}}
-{% if railsout %}{{railsout}}
-{% endif %}
-
- -Not using RVM: -
{{railshost}}~$ cd {{railsdir}}
 {{railshost}}{{railsdir}}$ sudo -u webserver-user RAILS_ENV=production {{railscmd}}