Created
January 31, 2017 13:35
-
-
Save mdorfin/704bc9df50166003229c9b65da22d17a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
deployer@staging:/var/www/virtual-hosts/wedby.coalla.ru/current$ RAILS_ENV=staging rvmsudo -u www-data bundle exec rails c | |
shell-init: ошибка получения текущей директории: getcwd: невозможен доступ к родительским каталогам: Нет такого файла или каталога | |
Warning: can not check `/etc/sudoers` for `secure_path`, falling back to call via `/usr/bin/env`, this breaks rules from `/etc/sudoers`. Run: | |
export rvmsudo_secure_path=1 | |
to avoid the warning, put it in shell initialization file to make it persistent. | |
In case there is no `secure_path` in `/etc/sudoers`. Run: | |
export rvmsudo_secure_path=0 | |
to avoid the warning, put it in shell initialization file to make it persistent. | |
/usr/local/rvm/gems/ruby-2.3.1@global/gems/rubygems-bundler-1.4.4/lib/rubygems-bundler/noexec.rb:5:in `pwd': No such file or directory - getcwd (Errno::ENOENT) | |
from /usr/local/rvm/gems/ruby-2.3.1@global/gems/rubygems-bundler-1.4.4/lib/rubygems-bundler/noexec.rb:5:in `<class:Noexec>' | |
from /usr/local/rvm/gems/ruby-2.3.1@global/gems/rubygems-bundler-1.4.4/lib/rubygems-bundler/noexec.rb:3:in `<top (required)>' | |
from /usr/local/rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `require' | |
from /usr/local/rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:127:in `rescue in require' | |
from /usr/local/rvm/rubies/ruby-2.3.1/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:40:in `require' | |
from /usr/local/rvm/gems/ruby-2.3.1@global/gems/rubygems-bundler-1.4.4/lib/rubygems_executable_plugin.rb:4:in `block in <top (required)>' | |
from /usr/local/rvm/gems/ruby-2.3.1@global/gems/executable-hooks-1.3.2/lib/executable-hooks/hooks.rb:50:in `block in run' | |
from /usr/local/rvm/gems/ruby-2.3.1@global/gems/executable-hooks-1.3.2/lib/executable-hooks/hooks.rb:49:in `each' | |
from /usr/local/rvm/gems/ruby-2.3.1@global/gems/executable-hooks-1.3.2/lib/executable-hooks/hooks.rb:49:in `run' | |
from /usr/local/rvm/gems/ruby-2.3.1/bin/ruby_executable_hooks:10:in `<main>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment