Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bundler/dep_proxy (LoadError) – ruby bundler installed once @global gemset #4386

Open
neumayr opened this issue May 14, 2018 · 3 comments

Comments

@neumayr
Copy link

neumayr commented May 14, 2018

Description

Latest rvm version cannot load bundler from @global-gemset in a Passenger + Nginx configuration.

I'm running passenger and nginx on my local development environment described here.

Nginx configuration:
# nginx setup:
passenger_root /usr/local/opt/passenger/libexec/src/ruby_supportlib/phusion_passenger/locations.ini;
passenger_ruby /Users/neumayr/.rvm/bin/rvm-auto-ruby;

## exmaple nginx rails project setup
server {
 listen 80;
 server_name rails.foobar.localhost;
 root /Users/neumayr/code/to/rails-demo/public;

 passenger_enabled on;
 rails_env development;
}

I’ve used the rvm-auto-ruby feature because I have running multiple apps locally that are in a different range of ruby versions.

For the *.localhost setup I use launchdns - the setup is straightforward:

$ brew install launchdns
$ mkdir -p /etc/resolver
$ sudo echo 'nameserver 127.0.0.1\nport 55353' > /etc/resolver/localhost
$ brew services start launchdns

The ruby version is then managed by the rails project itself. (with .ruby-version files that get evaluated by rvm-auto-ruby)
Each rails project has also a .ruby-gemset file which set up the namespace.

I usually install bundler only once (in @global-gemset) per ruby version on my system:

Steps to reproduce

Install min 2 different ruby versions with bundler in global gemset

$ rvm use 2.5.1
$ rvm @global do gem install bundler

$ rvm use 2.4.4
$ rvm @global do gem install bundler

Expected behavior

Running passenger/nginx without bundler/dep_proxy (LoadError)-Error. Like it worked with the previous version of rvm.

I've had a brief discussion with @FloorD and @CamJN from @phusion because first I was unsure if the problem is passenger related or rvm.
After I send them a lot of debug output, Camden replied with:

After discussing this with my colleagues we found that in the backtrace is the following line

/Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:888:in `block (2 levels) in expand_dependencies'

That says bundler is installed in ~/.rvm/rubies/ruby-2.5.1/lib/ruby/gems. which is not a gemset path, and therefore not in the GEM_PATH. How it got there we aren't sure, and you'll likely have to ask the RVM guys for help fixing it, but that seems like a probable cause to us.

Actual behavior

cannot load such file -- bundler/dep_proxy (LoadError)
cannot load such file -- bundler/dep_proxy (LoadError)
  /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:in `require'
  /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
  /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:39:in `require'
  /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:888:in `block (2 levels) in expand_dependencies'
  /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:887:in `each'
  /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:887:in `block in expand_dependencies'
  /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:874:in `each'
  /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:874:in `expand_dependencies'
  /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:806:in `converge_locked_specs'
  /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:247:in `resolve'
  /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:170:in `specs'
  /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:237:in `specs_for'
  /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:226:in `requested_specs'
  /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/runtime.rb:108:in `block in definition_method'
  /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/runtime.rb:20:in `setup'
  /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler.rb:107:in `setup'
  /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/setup.rb:20:in `<top (required)>'
  /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
  /usr/local/Cellar/passenger/5.3.0/libexec/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:363:in `activate_gem'
  /usr/local/Cellar/passenger/5.3.0/libexec/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:221:in `block in run_load_path_setup_code'
  /usr/local/Cellar/passenger/5.3.0/libexec/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:527:in `running_bundler'
  /usr/local/Cellar/passenger/5.3.0/libexec/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:220:in `run_load_path_setup_code'
  /usr/local/Cellar/passenger/5.3.0/libexec/src/helper-scripts/rack-preloader.rb:91:in `preload_app'
  /usr/local/Cellar/passenger/5.3.0/libexec/src/helper-scripts/rack-preloader.rb:189:in `block in <module:App>'
  /usr/local/Cellar/passenger/5.3.0/libexec/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:380:in `run_block_and_record_step_progress'
  /usr/local/Cellar/passenger/5.3.0/libexec/src/helper-scripts/rack-preloader.rb:188:in `<module:App>'
  /usr/local/Cellar/passenger/5.3.0/libexec/src/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
  /usr/local/Cellar/passenger/5.3.0/libexec/src/helper-scripts/rack-preloader.rb:29:in `<main>'

The stdout/stderr output of the subprocess so far is:
PassengerAgent(14922,0x7fff966e9380) malloc: *** mach_vm_map(size=8388608) failed (error code=268435459)
PassengerAgent(14922,0x7fff966e9380) malloc: *** error: can't allocate region securely
PassengerAgent(14922,0x7fff966e9380) malloc: *** set a breakpoint in malloc_error_break to debug
PassengerAgent(14931,0x7fff966e9380) malloc: *** mach_vm_map(size=8388608) failed (error code=268435459)
PassengerAgent(14931,0x7fff966e9380) malloc: *** error: can't allocate region securely
PassengerAgent(14931,0x7fff966e9380) malloc: *** set a breakpoint in malloc_error_break to debug
[ D 2018-05-14 13:49:50.7013 14915/T1 age/Spa/SpawnEnvSetupperMain.cpp:718 ]: shellName = 'zsh' detected as supporting '-l': true
+/etc/zprofile:2> [ -x /usr/libexec/path_helper ']'
+/etc/zprofile:3> /usr/libexec/path_helper -s
+/etc/zprofile:3> eval 'PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin";' export 'PATH;'
+(eval):1> PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin 
+(eval):1> export PATH
+/Users/neumayr/.zlogin:2> [[ -s /Users/neumayr/.rvm/scripts/rvm ]]
+/Users/neumayr/.zlogin:2> source /Users/neumayr/.rvm/scripts/rvm
+/Users/neumayr/.rvm/scripts/rvm:10> test -n '' -o -n 5.3 -o -n ''
+/Users/neumayr/.rvm/scripts/rvm:12> uname
+/Users/neumayr/.rvm/scripts/rvm:12> case Darwin (CYGWIN*)
+/Users/neumayr/.rvm/scripts/rvm:12> case Darwin (SunOS)
+/Users/neumayr/.rvm/scripts/rvm:12> case Darwin (*)
+/Users/neumayr/.rvm/scripts/rvm:15> __shell_name=+/Users/neumayr/.rvm/scripts/rvm:15> ps -p 14915 -o 'ucomm='
+/Users/neumayr/.rvm/scripts/rvm:15> __shell_name='zsh             ' 
+/Users/neumayr/.rvm/scripts/rvm:17> case zsh              (|dash|sh|ksh|*/dash|*/sh|*/ksh)
+/Users/neumayr/.rvm/scripts/rvm:20> unset __shell_name
+/Users/neumayr/.rvm/scripts/rvm:47> __rvm_has_opt posix
+__rvm_has_opt:3> [[ -n 5.3 ]]
+__rvm_has_opt:5> setopt
+__rvm_has_opt:5> GREP_OPTIONS='' grep '^posix$'
+__rvm_has_opt:5> return 1
+/Users/neumayr/.rvm/scripts/rvm:52> export HOME rvm_prefix rvm_user_install_flag rvm_path
+/Users/neumayr/.rvm/scripts/rvm:53> HOME=/Users/neumayr 
+/Users/neumayr/.rvm/scripts/rvm:55> [[ -n '' ]]
+/Users/neumayr/.rvm/scripts/rvm:55> umask
+/Users/neumayr/.rvm/scripts/rvm:55> export rvm_stored_umask=022
+/Users/neumayr/.rvm/scripts/rvm:56> ((  0 == 0  ))
+/Users/neumayr/.rvm/scripts/rvm:58> rvm_rvmrc_files=( /etc/rvmrc /Users/neumayr/.rvmrc ) 
+/Users/neumayr/.rvm/scripts/rvm:59> [[ -n '' ]]
+/Users/neumayr/.rvm/scripts/rvm:63> rvmrc=/etc/rvmrc
+/Users/neumayr/.rvm/scripts/rvm:65> [[ -f /etc/rvmrc ]]
+/Users/neumayr/.rvm/scripts/rvm:63> rvmrc=/Users/neumayr/.rvmrc
+/Users/neumayr/.rvm/scripts/rvm:65> [[ -f /Users/neumayr/.rvmrc ]]
+/Users/neumayr/.rvm/scripts/rvm:68> GREP_OPTIONS='' grep '^\s*rvm .*$' /Users/neumayr/.rvmrc
+/Users/neumayr/.rvm/scripts/rvm:77> source /Users/neumayr/.rvmrc
+/Users/neumayr/.rvmrc:1> export rvm_path=/Users/neumayr/.rvm
+/Users/neumayr/.rvm/scripts/rvm:81> unset rvm_rvmrc_files
+/Users/neumayr/.rvm/scripts/rvm:87> [[ -z /Users/neumayr/.rvm ]]
+/Users/neumayr/.rvm/scripts/rvm:120> rvm_path=/Users/neumayr/.rvm 
+/Users/neumayr/.rvm/scripts/rvm:124> [[ -z '' ]]
+/Users/neumayr/.rvm/scripts/rvm:126> rvm_prefix=+/Users/neumayr/.rvm/scripts/rvm:126> dirname /Users/neumayr/.rvm
+/Users/neumayr/.rvm/scripts/rvm:126> rvm_prefix=/Users/neumayr 
+/Users/neumayr/.rvm/scripts/rvm:130> [[ -n '' ]]
+/Users/neumayr/.rvm/scripts/rvm:131> case /Users/neumayr/.rvm (/usr/local/rvm)
+/Users/neumayr/.rvm/scripts/rvm:131> case /Users/neumayr/.rvm (/Users/neumayr/*|/neumayr*)
+/Users/neumayr/.rvm/scripts/rvm:133> rvm_user_install_flag=1 
+/Users/neumayr/.rvm/scripts/rvm:137> export rvm_loaded_flag
+/Users/neumayr/.rvm/scripts/rvm:138> [[ -n '' || -n 5.3 ]]
+/Users/neumayr/.rvm/scripts/rvm:139> typeset -f rvm
+/Users/neumayr/.rvm/scripts/rvm:143> rvm_loaded_flag=0 
+/Users/neumayr/.rvm/scripts/rvm:147> ((  0 == 0  ))
+/Users/neumayr/.rvm/scripts/rvm:150> [[ -n /Users/neumayr/.rvm && -d /Users/neumayr/.rvm ]]
+/Users/neumayr/.rvm/scripts/rvm:152> true /Users/neumayr/.rvm/scripts
+/Users/neumayr/.rvm/scripts/rvm:155> [[ ! -f /Users/neumayr/.rvm/scripts/base ]]
+/Users/neumayr/.rvm/scripts/rvm:161> source /Users/neumayr/.rvm/scripts/base
+/Users/neumayr/.rvm/scripts/base:25> __rvm_has_opt errexit
+__rvm_has_opt:3> [[ -n 5.3 ]]
+__rvm_has_opt:5> setopt
+__rvm_has_opt:5> GREP_OPTIONS='' grep '^errexit$'
+__rvm_has_opt:5> return 1
+/Users/neumayr/.rvm/scripts/base:29> set +e
+/Users/neumayr/.rvm/scripts/base:33> ((  0 == 1  ))
+/Users/neumayr/.rvm/scripts/base:42> export __array_start rvm_path
+/Users/neumayr/.rvm/scripts/base:47> [[ -n 5.3 ]]
+/Users/neumayr/.rvm/scripts/base:48> __array_start=1 
+/Users/neumayr/.rvm/scripts/base:52> ((  0 == 0  ))
+/Users/neumayr/.rvm/scripts/base:54> [[ -n 022 ]]
+/Users/neumayr/.rvm/scripts/base:55> rvm_rvmrc_files=( /etc/rvmrc /Users/neumayr/.rvmrc ) 
+/Users/neumayr/.rvm/scripts/base:56> [[ -n /Users/neumayr ]]
+/Users/neumayr/.rvm/scripts/base:56> [[ /Users/neumayr/.rvmrc -ef /Users/neumayr/.rvmrc ]]
+/Users/neumayr/.rvm/scripts/base:60> rvmrc=/etc/rvmrc
+/Users/neumayr/.rvm/scripts/base:62> [[ -f /etc/rvmrc ]]
+/Users/neumayr/.rvm/scripts/base:60> rvmrc=/Users/neumayr/.rvmrc
+/Users/neumayr/.rvm/scripts/base:62> [[ -f /Users/neumayr/.rvmrc ]]
+/Users/neumayr/.rvm/scripts/base:65> GREP_OPTIONS='' grep '^\s*rvm .*$' /Users/neumayr/.rvmrc
+/Users/neumayr/.rvm/scripts/base:74> source /Users/neumayr/.rvmrc
+/Users/neumayr/.rvmrc:1> export rvm_path=/Users/neumayr/.rvm
+/Users/neumayr/.rvm/scripts/base:78> unset rvm_rvmrc_files
+/Users/neumayr/.rvm/scripts/base:82> export rvm_path
+/Users/neumayr/.rvm/scripts/base:83> [[ -z /Users/neumayr/.rvm ]]
+/Users/neumayr/.rvm/scripts/base:99> true /Users/neumayr/.rvm/scripts
+/Users/neumayr/.rvm/scripts/base:122> load_rvm_scripts
+load_rvm_scripts:2> typeset -a scripts
+load_rvm_scripts:3> scripts=( selector logging support utility init cleanup env rvmrc install environment gemset checksum list ) 
+load_rvm_scripts:7> source /Users/neumayr/.rvm/scripts/initialize
+/Users/neumayr/.rvm/scripts/initialize:6> [[ -n '' ]]
+/Users/neumayr/.rvm/scripts/initialize:10> [[ -n 5.3 ]]
+/Users/neumayr/.rvm/scripts/initialize:12> setopt extendedglob
+/Users/neumayr/.rvm/scripts/initialize:13> setopt kshglob
+/Users/neumayr/.rvm/scripts/initialize:14> setopt no_glob_subst
+/Users/neumayr/.rvm/scripts/initialize:25> ((  0 == 1  ))
+/Users/neumayr/.rvm/scripts/initialize:35> export __rvm_env_loaded
+/Users/neumayr/.rvm/scripts/initialize:37> : __rvm_env_loaded:0:
+/Users/neumayr/.rvm/scripts/initialize:39> : __rvm_env_loaded:1:
+/Users/neumayr/.rvm/scripts/initialize:42> [[ -z '' ]]
+/Users/neumayr/.rvm/scripts/initialize:46> typeset -f __rvm_cleanse_variables
+/Users/neumayr/.rvm/scripts/initialize:55> ((  0 == 0  ))
+/Users/neumayr/.rvm/scripts/initialize:57> [[ -n 022 ]]
+/Users/neumayr/.rvm/scripts/initialize:59> rvm_rvmrc_files=( /etc/rvmrc /Users/neumayr/.rvmrc ) 
+/Users/neumayr/.rvm/scripts/initialize:60> [[ -n /Users/neumayr ]]
+/Users/neumayr/.rvm/scripts/initialize:60> [[ /Users/neumayr/.rvmrc -ef /Users/neumayr/.rvmrc ]]
+/Users/neumayr/.rvm/scripts/initialize:63> rvmrc=/etc/rvmrc
+/Users/neumayr/.rvm/scripts/initialize:65> [[ -f /etc/rvmrc ]]
+/Users/neumayr/.rvm/scripts/initialize:63> rvmrc=/Users/neumayr/.rvmrc
+/Users/neumayr/.rvm/scripts/initialize:65> [[ -f /Users/neumayr/.rvmrc ]]
+/Users/neumayr/.rvm/scripts/initialize:67> GREP_OPTIONS='' grep '^\s*rvm .*$' /Users/neumayr/.rvmrc
+/Users/neumayr/.rvm/scripts/initialize:76> source /Users/neumayr/.rvmrc
+/Users/neumayr/.rvmrc:1> export rvm_path=/Users/neumayr/.rvm
+/Users/neumayr/.rvm/scripts/initialize:80> unset rvm_rvmrc_files
+/Users/neumayr/.rvm/scripts/initialize:84> export rvm_path
+/Users/neumayr/.rvm/scripts/initialize:85> [[ -z /Users/neumayr/.rvm ]]
+/Users/neumayr/.rvm/scripts/initialize:101> true /Users/neumayr/.rvm/scripts
+/Users/neumayr/.rvm/scripts/initialize:109> [[ -n 1 ]]
+/Users/neumayr/.rvm/scripts/initialize:115> export rvm_user_install_flag
+/Users/neumayr/.rvm/scripts/initialize:117> : rvm_bin_path:/Users/neumayr/.rvm/bin rvm_man_path:/Users/neumayr/.rvm/share/man rvm_archives_path:/Users/neumayr/.rvm/archives rvm_docs_path:/Users/neumayr/.rvm/docs rvm_environments_path:/Users/neumayr/.rvm/environments rvm_examples_path:/Users/neumayr/.rvm/examples rvm_gems_path:/Users/neumayr/.rvm/gems rvm_gemsets_path:/Users/neumayr/.rvm/gemsets rvm_help_path:/Users/neumayr/.rvm/help rvm_docs_path:/Users/neumayr/.rvm/docs rvm_hooks_path:/Users/neumayr/.rvm/hooks rvm_lib_path:/Users/neumayr/.rvm/lib rvm_log_path:/Users/neumayr/.rvm/log rvm_patches_path:/Users/neumayr/.rvm/patches rvm_repos_path:/Users/neumayr/.rvm/repos rvm_rubies_path:/Users/neumayr/.rvm/rubies rvm_rubygems_path:/Users/neumayr/.rvm/rubygems rvm_src_path:/Users/neumayr/.rvm/src rvm_tmp_path:/Users/neumayr/.rvm/tmp rvm_user_path:/Users/neumayr/.rvm/user rvm_usr_path:/Users/neumayr/.rvm/usr rvm_wrappers_path:/Users/neumayr/.rvm/wrappers rvm_verbose_flag:0 rvm_debug_flag:0 rvm_gems_cache_path:/Users/neumayr/.rvm/gems/cache
+/Users/neumayr/.rvm/scripts/initialize:144> export rvm_action rvm_alias_expanded rvm_archive_extension rvm_archives_path rvm_bin_flag rvm_bin_path rvm_debug_flag rvm_default_flag rvm_delete_flag rvm_docs_path rvm_docs_type rvm_dump_environment_flag rvm_environments_path rvm_error_message rvm_examples_path rvm_expanding_aliases rvm_file_name rvm_gemdir_flag rvm_gems_cache_path rvm_gems_path rvm_gemset_name rvm_gemset_separator rvm_gemsets_path rvm_gemstone_package_file rvm_gemstone_url rvm_head_flag rvm_help_path rvm_docs_path rvm_hook rvm_hooks_path rvm_install_on_use_flag rvm_lib_path rvm_llvm_flag rvm_loaded_flag rvm_log_path rvm_niceness rvm_nightly_flag rvm_only_path_flag rvm_parse_break rvm_patch_original_pwd rvm_patches_path rvm_path rvm_pretty_print_flag rvm_proxy rvm_quiet_flag rvm_reload_flag rvm_remove_flag rvm_repos_path rvm_rubies_path rvm_ruby_alias rvm_ruby_args rvm_ruby_binary rvm_ruby_bits rvm_ruby_configure rvm_ruby_file rvm_ruby_gem_home rvm_ruby_gem_path rvm_ruby_global_gems_path rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc rvm_ruby_major_version rvm_ruby_make rvm_ruby_make_install rvm_ruby_minor_version rvm_ruby_mode rvm_ruby_name rvm_ruby_package_file rvm_ruby_package_name rvm_ruby_patch rvm_ruby_patch_level rvm_ruby_release_version rvm_ruby_repo_url rvm_ruby_revision rvm_ruby_selected_flag rvm_ruby_sha rvm_ruby_string rvm_ruby_strings rvm_ruby_tag rvm_ruby_url rvm_ruby_user_tag rvm_ruby_version rvm_script_name rvm_scripts_path rvm_sdk rvm_user_install_flag rvm_silent_flag rvm_src_path rvm_sticky_flag rvm_system_flag rvm_tmp_path rvm_token rvm_trace_flag rvm_use_flag rvm_user_flag rvm_user_path rvm_usr_path rvm_verbose_flag rvm_wrapper_name rvm_wrappers_path rvm_ruby_repo_branch rvm_man_path rvm_remote_flag
+load_rvm_scripts:10> entry=selector
+load_rvm_scripts:12> [[ '  ' == *\ selector\ * ]]
+load_rvm_scripts:13> source /Users/neumayr/.rvm/scripts/functions/selector
+/Users/neumayr/.rvm/scripts/functions/selector:3> source /Users/neumayr/.rvm/scripts/functions/selector_gemsets
+/Users/neumayr/.rvm/scripts/functions/selector:4> source /Users/neumayr/.rvm/scripts/functions/selector_late
+/Users/neumayr/.rvm/scripts/functions/selector:5> source /Users/neumayr/.rvm/scripts/functions/selector_parse
+/Users/neumayr/.rvm/scripts/functions/selector:6> source /Users/neumayr/.rvm/scripts/functions/selector_interpreters
+load_rvm_scripts:10> entry=logging
+load_rvm_scripts:12> [[ '  ' == *\ logging\ * ]]
+load_rvm_scripts:13> source /Users/neumayr/.rvm/scripts/functions/logging
+/Users/neumayr/.rvm/scripts/functions/logging:96> case dumb (dumb|unknown)
+/Users/neumayr/.rvm/scripts/functions/logging:98> rvm_error_clr='' 
+/Users/neumayr/.rvm/scripts/functions/logging:99> rvm_warn_clr='' 
+/Users/neumayr/.rvm/scripts/functions/logging:100> rvm_debug_clr='' 
+/Users/neumayr/.rvm/scripts/functions/logging:101> rvm_notify_clr='' 
+/Users/neumayr/.rvm/scripts/functions/logging:102> rvm_reset_clr='' 
+load_rvm_scripts:10> entry=support
+load_rvm_scripts:12> [[ '  ' == *\ support\ * ]]
+load_rvm_scripts:13> source /Users/neumayr/.rvm/scripts/functions/support
+/Users/neumayr/.rvm/scripts/functions/support:11> [[ -n 5.3 ]]
+/Users/neumayr/.rvm/scripts/functions/support:281> __rvm_setup_utils_functions
+__rvm_setup_utils_functions:2> typeset gnu_tools_path gnu_prefix gnu_util
+__rvm_setup_utils_functions:3> typeset -a gnu_utils gnu_missing
+__rvm_setup_utils_functions:4> gnu_utils=( awk cp date find sed tail tar xargs ) 
+__rvm_setup_utils_functions:5> gnu_missing=( ) 
+__rvm_setup_utils_functions:7> is_a_function __rvm_setup_utils_functions_
+is_a_function:2> typeset -f __rvm_setup_utils_functions_
+is_a_function:2> return 1
+__rvm_setup_utils_functions:9> __rvm_setup_utils_functions_Other
+__rvm_setup_utils_functions_Other:3> __rvm_setup_utils_functions_common
+__rvm_setup_utils_functions_common:4> which --skip-alias --skip-functions which
+__rvm_setup_utils_functions_common:6> which whence
+__rvm_setup_utils_functions_common:8> which which
+__rvm_setup_utils_functions_common:18> gnu_util=awk
+__rvm_setup_utils_functions_common:19> eval '__rvm_awk() { \awk "$@" || return $?; }'
+__rvm_setup_utils_functions_common:18> gnu_util=cp
+__rvm_setup_utils_functions_common:19> eval '__rvm_cp() { \cp "$@" || return $?; }'
+__rvm_setup_utils_functions_common:18> gnu_util=date
+__rvm_setup_utils_functions_common:19> eval '__rvm_date() { \date "$@" || return $?; }'
+__rvm_setup_utils_functions_common:18> gnu_util=find
+__rvm_setup_utils_functions_common:19> eval '__rvm_find() { \find "$@" || return $?; }'
+__rvm_setup_utils_functions_common:18> gnu_util=sed
+__rvm_setup_utils_functions_common:19> eval '__rvm_sed() { \sed "$@" || return $?; }'
+__rvm_setup_utils_functions_common:18> gnu_util=tail
+__rvm_setup_utils_functions_common:19> eval '__rvm_tail() { \tail "$@" || return $?; }'
+__rvm_setup_utils_functions_common:18> gnu_util=tar
+__rvm_setup_utils_functions_common:19> eval '__rvm_tar() { \tar "$@" || return $?; }'
+__rvm_setup_utils_functions_common:18> gnu_util=xargs
+__rvm_setup_utils_functions_common:19> eval '__rvm_xargs() { \xargs "$@" || return $?; }'
+/Users/neumayr/.rvm/scripts/functions/support:284> source /Users/neumayr/.rvm/scripts/functions/db
+/Users/neumayr/.rvm/scripts/functions/support:285> source /Users/neumayr/.rvm/scripts/functions/detect_system
+/Users/neumayr/.rvm/scripts/functions/detect_system:3> source /Users/neumayr/.rvm/scripts/functions/detect_systems/debian_codenames
+/Users/neumayr/.rvm/scripts/functions/detect_system:4> source /Users/neumayr/.rvm/scripts/functions/detect_systems/lsb_release
+/Users/neumayr/.rvm/scripts/functions/detect_system:5> source /Users/neumayr/.rvm/scripts/functions/detect_systems/os_release
+/Users/neumayr/.rvm/scripts/functions/detect_system:205> __rvm_detect_system
+__rvm_detect_system:2> unset _system_type _system_name _system_version _system_arch
+__rvm_detect_system:3> export _system_type _system_name _system_version _system_arch
+__rvm_detect_system:5> _system_info=+__rvm_detect_system:5> uname -a
+__rvm_detect_system:5> _system_info='Darwin my-mac 17.5.0 Darwin Kernel Version 17.5.0: Fri Apr 13 19:32:32 PDT 2018; root:xnu-4570.51.2~1/RELEASE_X86_64 x86_64' 
+__rvm_detect_system:6> _system_type=unknown 
+__rvm_detect_system:7> _system_name=unknown 
+__rvm_detect_system:8> _system_name_lowercase=unknown 
+__rvm_detect_system:9> _system_version=unknown 
+__rvm_detect_system:10> _system_arch=+__rvm_detect_system:10> uname -m
+__rvm_detect_system:10> _system_arch=x86_64 
+__rvm_detect_system:12> uname
+__rvm_detect_system:12> case Darwin (Linux|GNU*)
+__rvm_detect_system:12> case Darwin (SunOS)
+__rvm_detect_system:12> case Darwin (FreeBSD)
+__rvm_detect_system:12> case Darwin (OpenBSD)
+__rvm_detect_system:12> case Darwin (DragonFly)
+__rvm_detect_system:12> case Darwin (NetBSD)
+__rvm_detect_system:12> case Darwin (Darwin)
+__rvm_detect_system:162> _system_type=Darwin 
+__rvm_detect_system:163> _system_name=OSX 
+__rvm_detect_system:164> _system_version=+__rvm_detect_system:164> sw_vers -productVersion
+__rvm_detect_system:164> _system_version=+__rvm_detect_system:164> awk -F. '{print $1"."$2}'
+__rvm_detect_system:164> _system_version=10.13 
+__rvm_detect_system:181> _system_type=Darwin 
+__rvm_detect_system:182> _system_name=OSX 
+__rvm_detect_system:183> _system_name_lowercase=+__rvm_detect_system:183> echo OSX
+__rvm_detect_system:183> _system_name_lowercase=+__rvm_detect_system:183> tr '[A-Z]' '[a-z]'
+__rvm_detect_system:183> _system_name_lowercase=osx 
+__rvm_detect_system:184> _system_version=10.13 
+__rvm_detect_system:185> _system_arch=x86_64 
+__rvm_detect_system:186> _system_arch=x86_64 
+__rvm_detect_system:187> _system_arch=x86_64 
+/Users/neumayr/.rvm/scripts/functions/detect_system:206> __rvm_detect_system_override
+__rvm_detect_system_override:2> typeset _var
+__rvm_detect_system_override:3> _var=system_type
+__rvm_detect_system_override:4> __rvm_db system_type _system_type
+__rvm_db:2> typeset value key variable
+__rvm_db:3> key=system_type 
+__rvm_db:4> variable=_system_type 
+__rvm_db:5> value='' 
+__rvm_db:7> [[ -f /Users/neumayr/.rvm/user/db ]]
+__rvm_db:8> value=+__rvm_db:8> __rvm_db_ /Users/neumayr/.rvm/user/db system_type
+__rvm_db_:2> typeset __db __key __value
+__rvm_db_:3> __db=/Users/neumayr/.rvm/user/db 
+__rvm_db_:4> __key=system_type 
+__rvm_db_:5> shift 2
+__rvm_db_:6> __value='' 
+__rvm_db_:7> case  (unset|delete)
+__rvm_db_:7> case  ()
+__rvm_db_:12> __rvm_db_get /Users/neumayr/.rvm/user/db system_type
+__rvm_db_get:2> [[ -f /Users/neumayr/.rvm/user/db ]]
+__rvm_db_get:3> __rvm_sed -n -e '\#^system_type=# { s#^system_type=##;; p; }' -e '/^$/d'
+__rvm_sed:0> sed -n -e '\#^system_type=# { s#^system_type=##;; p; }' -e '/^$/d'
+__rvm_db:8> value='' 
+__rvm_db:10> [[ -z '' && -f /Users/neumayr/.rvm/config/db ]]
+__rvm_db:11> value=+__rvm_db:11> __rvm_db_ /Users/neumayr/.rvm/config/db system_type
+__rvm_db_:2> typeset __db __key __value
+__rvm_db_:3> __db=/Users/neumayr/.rvm/config/db 
+__rvm_db_:4> __key=system_type 
+__rvm_db_:5> shift 2
+__rvm_db_:6> __value='' 
+__rvm_db_:7> case  (unset|delete)
+__rvm_db_:7> case  ()
+__rvm_db_:12> __rvm_db_get /Users/neumayr/.rvm/config/db system_type
+__rvm_db_get:2> [[ -f /Users/neumayr/.rvm/config/db ]]
+__rvm_db_get:3> __rvm_sed -n -e '\#^system_type=# { s#^system_type=##;; p; }' -e '/^$/d'
+__rvm_sed:0> sed -n -e '\#^system_type=# { s#^system_type=##;; p; }' -e '/^$/d'
+__rvm_db:11> value='' 
+__rvm_db:13> [[ -n '' ]]
+__rvm_db:13> return 1
+__rvm_detect_system_override:3> _var=system_name
+__rvm_detect_system_override:4> __rvm_db system_name _system_name
+__rvm_db:2> typeset value key variable
+__rvm_db:3> key=system_name 
+__rvm_db:4> variable=_system_name 
+__rvm_db:5> value='' 
+__rvm_db:7> [[ -f /Users/neumayr/.rvm/user/db ]]
+__rvm_db:8> value=+__rvm_db:8> __rvm_db_ /Users/neumayr/.rvm/user/db system_name
+__rvm_db_:2> typeset __db __key __value
+__rvm_db_:3> __db=/Users/neumayr/.rvm/user/db 
+__rvm_db_:4> __key=system_name 
+__rvm_db_:5> shift 2
+__rvm_db_:6> __value='' 
+__rvm_db_:7> case  (unset|delete)
+__rvm_db_:7> case  ()
+__rvm_db_:12> __rvm_db_get /Users/neumayr/.rvm/user/db system_name
+__rvm_db_get:2> [[ -f /Users/neumayr/.rvm/user/db ]]
+__rvm_db_get:3> __rvm_sed -n -e '\#^system_name=# { s#^system_name=##;; p; }' -e '/^$/d'
+__rvm_sed:0> sed -n -e '\#^system_name=# { s#^system_name=##;; p; }' -e '/^$/d'
+__rvm_db:8> value='' 
+__rvm_db:10> [[ -z '' && -f /Users/neumayr/.rvm/config/db ]]
+__rvm_db:11> value=+__rvm_db:11> __rvm_db_ /Users/neumayr/.rvm/config/db system_name
+__rvm_db_:2> typeset __db __key __value
+__rvm_db_:3> __db=/Users/neumayr/.rvm/config/db 
+__rvm_db_:4> __key=system_name 
+__rvm_db_:5> shift 2
+__rvm_db_:6> __value='' 
+__rvm_db_:7> case  (unset|delete)
+__rvm_db_:7> case  ()
+__rvm_db_:12> __rvm_db_get /Users/neumayr/.rvm/config/db system_name
+__rvm_db_get:2> [[ -f /Users/neumayr/.rvm/config/db ]]
+__rvm_db_get:3> __rvm_sed -n -e '\#^system_name=# { s#^system_name=##;; p; }' -e '/^$/d'
+__rvm_sed:0> sed -n -e '\#^system_name=# { s#^system_name=##;; p; }' -e '/^$/d'
+__rvm_db:11> value='' 
+__rvm_db:13> [[ -n '' ]]
+__rvm_db:13> return 1
+__rvm_detect_system_override:3> _var=system_name_lowercase
+__rvm_detect_system_override:4> __rvm_db system_name_lowercase _system_name_lowercase
+__rvm_db:2> typeset value key variable
+__rvm_db:3> key=system_name_lowercase 
+__rvm_db:4> variable=_system_name_lowercase 
+__rvm_db:5> value='' 
+__rvm_db:7> [[ -f /Users/neumayr/.rvm/user/db ]]
+__rvm_db:8> value=+__rvm_db:8> __rvm_db_ /Users/neumayr/.rvm/user/db system_name_lowercase
+__rvm_db_:2> typeset __db __key __value
+__rvm_db_:3> __db=/Users/neumayr/.rvm/user/db 
+__rvm_db_:4> __key=system_name_lowercase 
+__rvm_db_:5> shift 2
+__rvm_db_:6> __value='' 
+__rvm_db_:7> case  (unset|delete)
+__rvm_db_:7> case  ()
+__rvm_db_:12> __rvm_db_get /Users/neumayr/.rvm/user/db system_name_lowercase
+__rvm_db_get:2> [[ -f /Users/neumayr/.rvm/user/db ]]
+__rvm_db_get:3> __rvm_sed -n -e '\#^system_name_lowercase=# { s#^system_name_lowercase=##;; p; }' -e '/^$/d'
+__rvm_sed:0> sed -n -e '\#^system_name_lowercase=# { s#^system_name_lowercase=##;; p; }' -e '/^$/d'
+__rvm_db:8> value='' 
+__rvm_db:10> [[ -z '' && -f /Users/neumayr/.rvm/config/db ]]
+__rvm_db:11> value=+__rvm_db:11> __rvm_db_ /Users/neumayr/.rvm/config/db system_name_lowercase
+__rvm_db_:2> typeset __db __key __value
+__rvm_db_:3> __db=/Users/neumayr/.rvm/config/db 
+__rvm_db_:4> __key=system_name_lowercase 
+__rvm_db_:5> shift 2
+__rvm_db_:6> __value='' 
+__rvm_db_:7> case  (unset|delete)
+__rvm_db_:7> case  ()
+__rvm_db_:12> __rvm_db_get /Users/neumayr/.rvm/config/db system_name_lowercase
+__rvm_db_get:2> [[ -f /Users/neumayr/.rvm/config/db ]]
+__rvm_db_get:3> __rvm_sed -n -e '\#^system_name_lowercase=# { s#^system_name_lowercase=##;; p; }' -e '/^$/d'
+__rvm_sed:0> sed -n -e '\#^system_name_lowercase=# { s#^system_name_lowercase=##;; p; }' -e '/^$/d'
+__rvm_db:11> value='' 
+__rvm_db:13> [[ -n '' ]]
+__rvm_db:13> return 1
+__rvm_detect_system_override:3> _var=system_version
+__rvm_detect_system_override:4> __rvm_db system_version _system_version
+__rvm_db:2> typeset value key variable
+__rvm_db:3> key=system_version 
+__rvm_db:4> variable=_system_version 
+__rvm_db:5> value='' 
+__rvm_db:7> [[ -f /Users/neumayr/.rvm/user/db ]]
+__rvm_db:8> value=+__rvm_db:8> __rvm_db_ /Users/neumayr/.rvm/user/db system_version
+__rvm_db_:2> typeset __db __key __value
+__rvm_db_:3> __db=/Users/neumayr/.rvm/user/db 
+__rvm_db_:4> __key=system_version 
+__rvm_db_:5> shift 2
+__rvm_db_:6> __value='' 
+__rvm_db_:7> case  (unset|delete)
+__rvm_db_:7> case  ()
+__rvm_db_:12> __rvm_db_get /Users/neumayr/.rvm/user/db system_version
+__rvm_db_get:2> [[ -f /Users/neumayr/.rvm/user/db ]]
+__rvm_db_get:3> __rvm_sed -n -e '\#^system_version=# { s#^system_version=##;; p; }' -e '/^$/d'
+__rvm_sed:0> sed -n -e '\#^system_version=# { s#^system_version=##;; p; }' -e '/^$/d'
+__rvm_db:8> value='' 
+__rvm_db:10> [[ -z '' && -f /Users/neumayr/.rvm/config/db ]]
+__rvm_db:11> value=+__rvm_db:11> __rvm_db_ /Users/neumayr/.rvm/config/db system_version
+__rvm_db_:2> typeset __db __key __value
+__rvm_db_:3> __db=/Users/neumayr/.rvm/config/db 
+__rvm_db_:4> __key=system_version 
+__rvm_db_:5> shift 2
+__rvm_db_:6> __value='' 
+__rvm_db_:7> case  (unset|delete)
+__rvm_db_:7> case  ()
+__rvm_db_:12> __rvm_db_get /Users/neumayr/.rvm/config/db system_version
+__rvm_db_get:2> [[ -f /Users/neumayr/.rvm/config/db ]]
+__rvm_db_get:3> __rvm_sed -n -e '\#^system_version=# { s#^system_version=##;; p; }' -e '/^$/d'
+__rvm_sed:0> sed -n -e '\#^system_version=# { s#^system_version=##;; p; }' -e '/^$/d'
+__rvm_db:11> value='' 
+__rvm_db:13> [[ -n '' ]]
+__rvm_db:13> return 1
+__rvm_detect_system_override:3> _var=system_arch
+__rvm_detect_system_override:4> __rvm_db system_arch _system_arch
+__rvm_db:2> typeset value key variable
+__rvm_db:3> key=system_arch 
+__rvm_db:4> variable=_system_arch 
+__rvm_db:5> value='' 
+__rvm_db:7> [[ -f /Users/neumayr/.rvm/user/db ]]
+__rvm_db:8> value=+__rvm_db:8> __rvm_db_ /Users/neumayr/.rvm/user/db system_arch
+__rvm_db_:2> typeset __db __key __value
+__rvm_db_:3> __db=/Users/neumayr/.rvm/user/db 
+__rvm_db_:4> __key=system_arch 
+__rvm_db_:5> shift 2
+__rvm_db_:6> __value='' 
+__rvm_db_:7> case  (unset|delete)
+__rvm_db_:7> case  ()
+__rvm_db_:12> __rvm_db_get /Users/neumayr/.rvm/user/db system_arch
+__rvm_db_get:2> [[ -f /Users/neumayr/.rvm/user/db ]]
+__rvm_db_get:3> __rvm_sed -n -e '\#^system_arch=# { s#^system_arch=##;; p; }' -e '/^$/d'
+__rvm_sed:0> sed -n -e '\#^system_arch=# { s#^system_arch=##;; p; }' -e '/^$/d'
+__rvm_db:8> value='' 
+__rvm_db:10> [[ -z '' && -f /Users/neumayr/.rvm/config/db ]]
+__rvm_db:11> value=+__rvm_db:11> __rvm_db_ /Users/neumayr/.rvm/config/db system_arch
+__rvm_db_:2> typeset __db __key __value
+__rvm_db_:3> __db=/Users/neumayr/.rvm/config/db 
+__rvm_db_:4> __key=system_arch 
+__rvm_db_:5> shift 2
+__rvm_db_:6> __value='' 
+__rvm_db_:7> case  (unset|delete)
+__rvm_db_:7> case  ()
+__rvm_db_:12> __rvm_db_get /Users/neumayr/.rvm/config/db system_arch
+__rvm_db_get:2> [[ -f /Users/neumayr/.rvm/config/db ]]
+__rvm_db_get:3> __rvm_sed -n -e '\#^system_arch=# { s#^system_arch=##;; p; }' -e '/^$/d'
+__rvm_sed:0> sed -n -e '\#^system_arch=# { s#^system_arch=##;; p; }' -e '/^$/d'
+__rvm_db:11> value='' 
+__rvm_db:13> [[ -n '' ]]
+__rvm_db:13> return 1
+/Users/neumayr/.rvm/scripts/functions/support:304> __rvm_setup_statf_function
+__rvm_setup_statf_function:3> [[ Darwin == Darwin ]]
+/Users/neumayr/.rvm/scripts/functions/support:364> __rvm_setup_sudo_function
+__rvm_setup_sudo_function:2> is_a_function __rvm_setup_sudo_function_OSX
+is_a_function:2> typeset -f __rvm_setup_sudo_function_OSX
+is_a_function:2> return 1
+__rvm_setup_sudo_function:4> __rvm_setup_sudo_function_Other
+__rvm_setup_sudo_function_Other:3> __rvm_which sudo
+/Users/neumayr/.rvm/scripts/functions/support:368> other_utils=( ant automake autoreconf libtoolize make mount patch readlink ) 
+/Users/neumayr/.rvm/scripts/functions/support:371> [[ 'OSX 10.13' == Solaris\ 10 ]]
+/Users/neumayr/.rvm/scripts/functions/support:382> other_util=ant
+/Users/neumayr/.rvm/scripts/functions/support:383> eval '__rvm_ant() { \ant "$@" || return $?; }'
+/Users/neumayr/.rvm/scripts/functions/support:382> other_util=automake
+/Users/neumayr/.rvm/scripts/functions/support:383> eval '__rvm_automake() { \automake "$@" || return $?; }'
+/Users/neumayr/.rvm/scripts/functions/support:382> other_util=autoreconf
+/Users/neumayr/.rvm/scripts/functions/support:383> eval '__rvm_autoreconf() { \autoreconf "$@" || return $?; }'
+/Users/neumayr/.rvm/scripts/functions/support:382> other_util=libtoolize
+/Users/neumayr/.rvm/scripts/functions/support:383> eval '__rvm_libtoolize() { \libtoolize "$@" || return $?; }'
+/Users/neumayr/.rvm/scripts/functions/support:382> other_util=make
+/Users/neumayr/.rvm/scripts/functions/support:383> eval '__rvm_make() { \make "$@" || return $?; }'
+/Users/neumayr/.rvm/scripts/functions/support:382> other_util=mount
+/Users/neumayr/.rvm/scripts/functions/support:383> eval '__rvm_mount() { \mount "$@" || return $?; }'
+/Users/neumayr/.rvm/scripts/functions/support:382> other_util=patch
+/Users/neumayr/.rvm/scripts/functions/support:383> eval '__rvm_patch() { \patch "$@" || return $?; }'
+/Users/neumayr/.rvm/scripts/functions/support:382> other_util=readlink
+/Users/neumayr/.rvm/scripts/functions/support:383> eval '__rvm_readlink() { \readlink "$@" || return $?; }'
+/Users/neumayr/.rvm/scripts/functions/support:386> unset other_util other_utils
+load_rvm_scripts:10> entry=utility
+load_rvm_scripts:12> [[ '  ' == *\ utility\ * ]]
+load_rvm_scripts:13> source /Users/neumayr/.rvm/scripts/functions/utility
+/Users/neumayr/.rvm/scripts/functions/utility:3> source /Users/neumayr/.rvm/scripts/functions/utility_logging
+/Users/neumayr/.rvm/scripts/functions/utility:4> source /Users/neumayr/.rvm/scripts/functions/utility_package
+/Users/neumayr/.rvm/scripts/functions/utility:5> source /Users/neumayr/.rvm/scripts/functions/utility_rubygems
+/Users/neumayr/.rvm/scripts/functions/utility:6> source /Users/neumayr/.rvm/scripts/functions/utility_system
+load_rvm_scripts:10> entry=init
+load_rvm_scripts:12> [[ '  ' == *\ init\ * ]]
+load_rvm_scripts:13> source /Users/neumayr/.rvm/scripts/functions/init
+load_rvm_scripts:10> entry=cleanup
+load_rvm_scripts:12> [[ '  ' == *\ cleanup\ * ]]
+load_rvm_scripts:13> source /Users/neumayr/.rvm/scripts/functions/cleanup
+load_rvm_scripts:10> entry=env
+load_rvm_scripts:12> [[ '  ' == *\ env\ * ]]
+load_rvm_scripts:13> source /Users/neumayr/.rvm/scripts/functions/env
+load_rvm_scripts:10> entry=rvmrc
+load_rvm_scripts:12> [[ '  ' == *\ rvmrc\ * ]]
+load_rvm_scripts:13> source /Users/neumayr/.rvm/scripts/functions/rvmrc
+/Users/neumayr/.rvm/scripts/functions/rvmrc:3> source /Users/neumayr/.rvm/scripts/functions/rvmrc_env
+/Users/neumayr/.rvm/scripts/functions/rvmrc:4> source /Users/neumayr/.rvm/scripts/functions/rvmrc_project
+/Users/neumayr/.rvm/scripts/functions/rvmrc:5> source /Users/neumayr/.rvm/scripts/functions/rvmrc_set
+/Users/neumayr/.rvm/scripts/functions/rvmrc:6> source /Users/neumayr/.rvm/scripts/functions/rvmrc_to
+/Users/neumayr/.rvm/scripts/functions/rvmrc:7> source /Users/neumayr/.rvm/scripts/functions/rvmrc_trust
+/Users/neumayr/.rvm/scripts/functions/rvmrc:8> source /Users/neumayr/.rvm/scripts/functions/rvmrc_warning
+load_rvm_scripts:10> entry=install
+load_rvm_scripts:12> [[ '  ' == *\ install\ * ]]
+load_rvm_scripts:13> source /Users/neumayr/.rvm/scripts/functions/install
+load_rvm_scripts:10> entry=environment
+load_rvm_scripts:12> [[ '  ' == *\ environment\ * ]]
+load_rvm_scripts:13> source /Users/neumayr/.rvm/scripts/functions/environment
+load_rvm_scripts:10> entry=gemset
+load_rvm_scripts:12> [[ '  ' == *\ gemset\ * ]]
+load_rvm_scripts:13> source /Users/neumayr/.rvm/scripts/functions/gemset
+load_rvm_scripts:10> entry=checksum
+load_rvm_scripts:12> [[ '  ' == *\ checksum\ * ]]
+load_rvm_scripts:13> source /Users/neumayr/.rvm/scripts/functions/checksum
+load_rvm_scripts:10> entry=list
+load_rvm_scripts:12> [[ '  ' == *\ list\ * ]]
+load_rvm_scripts:13> source /Users/neumayr/.rvm/scripts/functions/list
+load_rvm_scripts:17> unset rvm_base_except
+/Users/neumayr/.rvm/scripts/rvm:167> __rvm_ensure_is_a_function
+__rvm_ensure_is_a_function:2> [[ 0 == 1 ]]
+__rvm_ensure_is_a_function:2> is_a_function rvm
+is_a_function:2> typeset -f rvm
+is_a_function:2> return 1
+__rvm_ensure_is_a_function:4> script=functions/version
+__rvm_ensure_is_a_function:6> [[ -f /Users/neumayr/.rvm/scripts/functions/version ]]
+__rvm_ensure_is_a_function:8> source /Users/neumayr/.rvm/scripts/functions/version
+__rvm_ensure_is_a_function:4> script=functions/selector
+__rvm_ensure_is_a_function:6> [[ -f /Users/neumayr/.rvm/scripts/functions/selector ]]
+__rvm_ensure_is_a_function:8> source /Users/neumayr/.rvm/scripts/functions/selector
+/Users/neumayr/.rvm/scripts/functions/selector:3> source /Users/neumayr/.rvm/scripts/functions/selector_gemsets
+/Users/neumayr/.rvm/scripts/functions/selector:4> source /Users/neumayr/.rvm/scripts/functions/selector_late
+/Users/neumayr/.rvm/scripts/functions/selector:5> source /Users/neumayr/.rvm/scripts/functions/selector_parse
+/Users/neumayr/.rvm/scripts/functions/selector:6> source /Users/neumayr/.rvm/scripts/functions/selector_interpreters
+__rvm_ensure_is_a_function:4> script=cd
+__rvm_ensure_is_a_function:6> [[ -f /Users/neumayr/.rvm/scripts/cd ]]
+__rvm_ensure_is_a_function:8> source /Users/neumayr/.rvm/scripts/cd
+/Users/neumayr/.rvm/scripts/cd:5> case 1 (1)
+/Users/neumayr/.rvm/scripts/cd:8> source /Users/neumayr/.rvm/scripts/extras/bash_zsh_support/chpwd/function.sh
+/Users/neumayr/.rvm/scripts/cd:11> [[ -n 5.3 ]]
+/Users/neumayr/.rvm/scripts/cd:12> __rvm_version_compare 5.3 -gt 4.3.4
+__rvm_version_compare:2> typeset first
+__rvm_version_compare:3> first=+__rvm_version_compare:3> printf %b '5.3\n4.3.4\n'
+__rvm_version_compare:3> first=+__rvm_version_compare:3> __rvm_version_sort
+__rvm_version_compare:3> first=+__rvm_version_compare:3> head -n1
+__rvm_version_sort:2> awk '-F[.-]' -v 'OFS=.' $'{       # split on "." and "-", merge back with "."\n    original=$0                            # save original to preserve it before the line is changed\n    for (n=1; n<10; n++) {                 # iterate through max 9 components of version\n      $n=tolower($n)                       # ignore case for sorting\n      if ($n=="")         $n="0"           # treat non existing parts as 0\n      if ($n ~ /^p[0-9]/) $n=substr($n, 2) # old ruby -p notation\n      if ($n ~ /^[a-z]/)  $n=" "$n         # names go before numbers thanks to space\n    }\n    print $0"\t"original                   # print the transformed version and original separated by \t so we can extract original after sorting\n  }'
+__rvm_version_sort:12> LC_ALL=C sort -t. -k 1,1d -k 2,2n -k 3,3n -k 4,4n -k 5,5n -k 6,6n -k 7,7n -k 8,8n -k 9,9n
+__rvm_version_sort:13> awk '-F\t' '{print $2}'
+__rvm_version_compare:3> first=4.3.4 
+__rvm_version_compare:5> case -gt (-eq|==|=)
+__rvm_version_compare:5> case -gt (-ne|!=)
+__rvm_version_compare:5> case -gt (-gt|\>)
+__rvm_version_compare:13> [[ 4.3.4 == head ]]
+__rvm_version_compare:15> [[ 4.3.4 == 4.3.4 && 5.3 != 4.3.4 ]]
+__rvm_version_compare:41> return 0
+/Users/neumayr/.rvm/scripts/cd:38> [[ '  ' == *\ __rvm_cd_functions_set\ * ]]
+/Users/neumayr/.rvm/scripts/cd:39> chpwd_functions=( '' __rvm_cd_functions_set ) 
+/Users/neumayr/.rvm/scripts/cd:44> ((  0 == 1  ))
+__rvm_ensure_is_a_function:4> script=functions/cli
+__rvm_ensure_is_a_function:6> [[ -f /Users/neumayr/.rvm/scripts/functions/cli ]]
+__rvm_ensure_is_a_function:8> source /Users/neumayr/.rvm/scripts/functions/cli
+/Users/neumayr/.rvm/scripts/functions/cli:3> source /Users/neumayr/.rvm/scripts/functions/version
+__rvm_ensure_is_a_function:4> script=cli
+__rvm_ensure_is_a_function:6> [[ -f /Users/neumayr/.rvm/scripts/cli ]]
+__rvm_ensure_is_a_function:8> source /Users/neumayr/.rvm/scripts/cli
+__rvm_ensure_is_a_function:4> script=override_gem
+__rvm_ensure_is_a_function:6> [[ -f /Users/neumayr/.rvm/scripts/override_gem ]]
+__rvm_ensure_is_a_function:8> source /Users/neumayr/.rvm/scripts/override_gem
+/Users/neumayr/.rvm/scripts/override_gem:3> [[ 0 -eq 0 ]]
+/Users/neumayr/.rvm/scripts/rvm:168> __rvm_setup
+__rvm_setup:2> __variables_definition export
+__variables_definition:2> typeset -a __variables_list __array_list
+__variables_definition:3> typeset __method
+__variables_definition:5> __method=export 
+__variables_definition:9> __variables_list=( rvm_head_flag rvm_ruby_selected_flag rvm_user_install_flag rvm_path_flag rvm_cron_flag rvm_static_flag rvm_default_flag rvm_loaded_flag rvm_llvm_flag rvm_skip_autoreconf_flag rvm_dynamic_extensions_flag rvm_18_flag rvm_19_flag rvm_20_flag rvm_21_flag rvm_force_autoconf_flag rvm_dump_environment_flag rvm_curl_flags rvm_rubygems_version rvm_verbose_flag rvm_debug_flag rvm_trace_flag __array_start rvm_skip_pristine_flag rvm_create_flag rvm_remove_flag rvm_movable_flag rvm_archive_flag rvm_gemdir_flag rvm_reload_flag rvm_auto_reload_flag rvm_disable_binary_flag rvm_ignore_gemsets_flag rvm_skip_gemsets_flag rvm_install_on_use_flag rvm_remote_flag rvm_verify_downloads_flag rvm_skip_openssl_flag rvm_gems_cache_path rvm_gems_path rvm_man_path rvm_ruby_gem_path rvm_ruby_log_path rvm_gems_cache_path rvm_archives_path rvm_docs_path rvm_environments_path rvm_examples_path rvm_gems_path rvm_gemsets_path rvm_help_path rvm_hooks_path rvm_lib_path rvm_log_path rvm_patches_path rvm_repos_path rvm_rubies_path rvm_scripts_path rvm_src_path rvm_tmp_path rvm_user_path rvm_usr_path rvm_wrappers_path rvm_stored_errexit rvm_ruby_strings rvm_ruby_binary rvm_ruby_gem_home rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc rvm_ruby_major_version rvm_ruby_minor_version rvm_ruby_package_name rvm_ruby_patch_level rvm_ruby_release_version rvm_ruby_repo_url rvm_ruby_repo_branch rvm_ruby_revision rvm_ruby_tag rvm_ruby_sha rvm_ruby_version rvm_ruby_package_file rvm_ruby_name rvm_ruby_name rvm_ruby_args rvm_ruby_user_tag rvm_ruby_patch detected_rvm_ruby_name __rvm_env_loaded next_token rvm_error_message rvm_gemset_name rvm_parse_break rvm_token rvm_action rvm_export_args rvm_gemset_separator rvm_expanding_aliases rvm_tar_command rvm_tar_options rvm_patch_original_pwd rvm_project_rvmrc rvm_archive_extension rvm_autoinstall_bundler_flag rvm_codesign_identity rvm_expected_gemset_name rvm_without_gems rvm_with_gems rvm_with_default_gems rvm_ignore_dotfiles_flag rvm_fuzzy_flag rvm_autolibs_flag rvm_autolibs_flag_number rvm_autolibs_flag_runner rvm_quiet_curl_flag rvm_max_time_flag rvm_error_clr rvm_warn_clr rvm_debug_clr rvm_notify_clr rvm_reset_clr rvm_error_color rvm_warn_color rvm_debug_color rvm_notify_color rvm_reset_color rvm_log_timestamp rvm_log_filesystem rvm_log_namelen rvm_show_log_lines_on_error ) 
+__variables_definition:41> __array_list=( rvm_patch_names rvm_ree_options rvm_autoconf_flags rvm_architectures ) 
+__variables_definition:45> case export (export)
+__variables_definition:46> true
+__variables_definition:54> export rvm_head_flag rvm_ruby_selected_flag rvm_user_install_flag rvm_path_flag rvm_cron_flag rvm_static_flag rvm_default_flag rvm_loaded_flag rvm_llvm_flag rvm_skip_autoreconf_flag rvm_dynamic_extensions_flag rvm_18_flag rvm_19_flag rvm_20_flag rvm_21_flag rvm_force_autoconf_flag rvm_dump_environment_flag rvm_curl_flags rvm_rubygems_version rvm_verbose_flag rvm_debug_flag rvm_trace_flag __array_start rvm_skip_pristine_flag rvm_create_flag rvm_remove_flag rvm_movable_flag rvm_archive_flag rvm_gemdir_flag rvm_reload_flag rvm_auto_reload_flag rvm_disable_binary_flag rvm_ignore_gemsets_flag rvm_skip_gemsets_flag rvm_install_on_use_flag rvm_remote_flag rvm_verify_downloads_flag rvm_skip_openssl_flag rvm_gems_cache_path rvm_gems_path rvm_man_path rvm_ruby_gem_path rvm_ruby_log_path rvm_gems_cache_path rvm_archives_path rvm_docs_path rvm_environments_path rvm_examples_path rvm_gems_path rvm_gemsets_path rvm_help_path rvm_hooks_path rvm_lib_path rvm_log_path rvm_patches_path rvm_repos_path rvm_rubies_path rvm_scripts_path rvm_src_path rvm_tmp_path rvm_user_path rvm_usr_path rvm_wrappers_path rvm_stored_errexit rvm_ruby_strings rvm_ruby_binary rvm_ruby_gem_home rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc rvm_ruby_major_version rvm_ruby_minor_version rvm_ruby_package_name rvm_ruby_patch_level rvm_ruby_release_version rvm_ruby_repo_url rvm_ruby_repo_branch rvm_ruby_revision rvm_ruby_tag rvm_ruby_sha rvm_ruby_version rvm_ruby_package_file rvm_ruby_name rvm_ruby_name rvm_ruby_args rvm_ruby_user_tag rvm_ruby_patch detected_rvm_ruby_name __rvm_env_loaded next_token rvm_error_message rvm_gemset_name rvm_parse_break rvm_token rvm_action rvm_export_args rvm_gemset_separator rvm_expanding_aliases rvm_tar_command rvm_tar_options rvm_patch_original_pwd rvm_project_rvmrc rvm_archive_extension rvm_autoinstall_bundler_flag rvm_codesign_identity rvm_expected_gemset_name rvm_without_gems rvm_with_gems rvm_with_default_gems rvm_ignore_dotfiles_flag rvm_fuzzy_flag rvm_autolibs_flag rvm_autolibs_flag_number rvm_autolibs_flag_runner rvm_quiet_curl_flag rvm_max_time_flag rvm_error_clr rvm_warn_clr rvm_debug_clr rvm_notify_clr rvm_reset_clr rvm_error_color rvm_warn_color rvm_debug_color rvm_notify_color rvm_reset_color rvm_log_timestamp rvm_log_filesystem rvm_log_namelen rvm_show_log_lines_on_error
+__variables_definition:57> [[ -n '' ]]
+__rvm_setup:5> ((  __rvm_env_loaded != 1  ))
+__rvm_setup:10> [[ -n '' ]]
+__rvm_setup:22> [[ -n 5.3 ]]
+__rvm_setup:24> export rvm_zsh_clobber rvm_zsh_nomatch
+__rvm_setup:26> setopt
+__rvm_setup:26> __rvm_grep -s '^noclobber$'
+__rvm_setup:28> rvm_zsh_clobber=1 
+__rvm_setup:30> setopt clobber
+__rvm_setup:32> setopt
+__rvm_setup:32> __rvm_grep -s '^nonomatch$'
+__rvm_setup:34> rvm_zsh_nomatch=1 
+__rvm_setup:36> setopt no_nomatch
+/Users/neumayr/.rvm/scripts/rvm:170> export rvm_version
+/Users/neumayr/.rvm/scripts/rvm:171> rvm_version=+/Users/neumayr/.rvm/scripts/rvm:171> __rvm_version_installed
+__rvm_version_installed:2> cat /Users/neumayr/.rvm/VERSION
+__rvm_version_installed:2> cat /Users/neumayr/.rvm/RELEASE
+__rvm_version_installed:2> echo '1.29.3 (latest)'
+/Users/neumayr/.rvm/scripts/rvm:171> rvm_version='1.29.3 (latest)' 
+/Users/neumayr/.rvm/scripts/rvm:173> alias 'rvm-restart=rvm_reload_flag=1 source '\''/Users/neumayr/.rvm/scripts/rvm'\'
+/Users/neumayr/.rvm/scripts/rvm:176> __path_to_ruby=+/Users/neumayr/.rvm/scripts/rvm:176> command -v ruby
+/Users/neumayr/.rvm/scripts/rvm:176> __path_to_ruby=/usr/bin/ruby 
+/Users/neumayr/.rvm/scripts/rvm:178> [[ -z /usr/bin/ruby ]]
+/Users/neumayr/.rvm/scripts/rvm:179> [[ /usr/bin/ruby != /Users/neumayr/.rvm* ]]
+/Users/neumayr/.rvm/scripts/rvm:183> [[ -n /Users/neumayr/.rvm/environments && -s /Users/neumayr/.rvm/environments/default ]]
+/Users/neumayr/.rvm/scripts/rvm:187> source /Users/neumayr/.rvm/environments/default
+/Users/neumayr/.rvm/environments/default:1> export PATH=/Users/neumayr/.rvm/gems/ruby-2.5.0/bin:/Users/neumayr/.rvm/gems/ruby-2.5.0@global/bin:/Users/neumayr/.rvm/rubies/ruby-2.5.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
+/Users/neumayr/.rvm/environments/default:2> export GEM_HOME=/Users/neumayr/.rvm/gems/ruby-2.5.0
+/Users/neumayr/.rvm/environments/default:3> export GEM_PATH=/Users/neumayr/.rvm/gems/ruby-2.5.0:/Users/neumayr/.rvm/gems/ruby-2.5.0@global
+/Users/neumayr/.rvm/environments/default:4> export MY_RUBY_HOME=/Users/neumayr/.rvm/rubies/ruby-2.5.0
+/Users/neumayr/.rvm/environments/default:5> export IRBRC=/Users/neumayr/.rvm/rubies/ruby-2.5.0/.irbrc
+/Users/neumayr/.rvm/environments/default:6> unset MAGLEV_HOME
+/Users/neumayr/.rvm/environments/default:7> unset RBXOPT
+/Users/neumayr/.rvm/environments/default:8> export RUBY_VERSION=ruby-2.5.0
+/Users/neumayr/.rvm/scripts/rvm:196> [[ 1 -gt 0 ]]
+/Users/neumayr/.rvm/scripts/rvm:197> __function_on_stack __rvm_project_rvmrc
+__function_on_stack:2> __rvm_string_includes '' __rvm_project_rvmrc
+__rvm_string_includes:2> typeset __search '__text='
+__rvm_string_includes:3> shift
+__rvm_string_includes:4> __search=__rvm_project_rvmrc
+__rvm_string_includes:6> [[ '  ' == *\ __rvm_project_rvmrc\ * ]]
+__rvm_string_includes:10> return 1
+__function_on_stack:2> return 1
+/Users/neumayr/.rvm/scripts/rvm:202> rvm_current_rvmrc='' 
+/Users/neumayr/.rvm/scripts/rvm:203> rvm_project_rvmrc_default=2 rvm_promptless=1 +/Users/neumayr/.rvm/scripts/rvm:203> __rvm_project_rvmrc
+__rvm_project_rvmrc:2> export __rvm_project_rvmrc_lock
+__rvm_project_rvmrc:3> : __rvm_project_rvmrc_lock:0
+__rvm_project_rvmrc:4> : __rvm_project_rvmrc_lock:1
+__rvm_project_rvmrc:5> ((  __rvm_project_rvmrc_lock > 1  ))
+__rvm_project_rvmrc:9> typeset working_dir found_file rvm_trustworthiness_result save_PATH
+__rvm_project_rvmrc:12> working_dir=/Users/neumayr/code/private/heroku/rails-demo 
+__rvm_project_rvmrc:13> save_PATH=/Users/neumayr/.rvm/gems/ruby-2.5.0/bin:/Users/neumayr/.rvm/gems/ruby-2.5.0@global/bin:/Users/neumayr/.rvm/rubies/ruby-2.5.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin 
+__rvm_project_rvmrc:15> :
+__rvm_project_rvmrc:18> [[ -z /Users/neumayr/code/private/heroku/rails-demo || /Users/neumayr == /Users/neumayr/code/private/heroku/rails-demo || /Users/neumayr == /Users/neumayr/code/private/heroku/rails-demo || /Users/neumayr/code/private/heroku/rails-demo == . ]]
+__rvm_project_rvmrc:31> __rvm_project_dir_check /Users/neumayr/code/private/heroku/rails-demo found_file
+__rvm_project_dir_check:2> typeset _found_file path_to_check variable variable_default
+__rvm_project_dir_check:3> typeset -a _valid_files
+__rvm_project_dir_check:4> path_to_check=/Users/neumayr/code/private/heroku/rails-demo 
+__rvm_project_dir_check:5> variable=found_file 
+__rvm_project_dir_check:6> variable_default='' 
+__rvm_project_dir_check:7> _valid_files=( /Users/neumayr/code/private/heroku/rails-demo /Users/neumayr/code/private/heroku/rails-demo/.rvmrc /Users/neumayr/code/private/heroku/rails-demo/.versions.conf /Users/neumayr/code/private/heroku/rails-demo/.ruby-version /Users/neumayr/code/private/heroku/rails-demo/.rbfu-version /Users/neumayr/code/private/heroku/rails-demo/.rbenv-version /Users/neumayr/code/private/heroku/rails-demo/Gemfile ) 
+__rvm_project_dir_check:13> __rvm_find_first_file _found_file /Users/neumayr/code/private/heroku/rails-demo /Users/neumayr/code/private/heroku/rails-demo/.rvmrc /Users/neumayr/code/private/heroku/rails-demo/.versions.conf /Users/neumayr/code/private/heroku/rails-demo/.ruby-version /Users/neumayr/code/private/heroku/rails-demo/.rbfu-version /Users/neumayr/code/private/heroku/rails-demo/.rbenv-version /Users/neumayr/code/private/heroku/rails-demo/Gemfile
+__rvm_find_first_file:2> typeset _first_file _variable_first_file __file_enum
+__rvm_find_first_file:3> _first_file='' 
+__rvm_find_first_file:4> _variable_first_file=_found_file 
+__rvm_find_first_file:5> shift
+__rvm_find_first_file:7> __file_enum=/Users/neumayr/code/private/heroku/rails-demo
+__rvm_find_first_file:10> [[ -f /Users/neumayr/code/private/heroku/rails-demo ]]
+__rvm_find_first_file:7> __file_enum=/Users/neumayr/code/private/heroku/rails-demo/.rvmrc
+__rvm_find_first_file:10> [[ -f /Users/neumayr/code/private/heroku/rails-demo/.rvmrc ]]
+__rvm_find_first_file:7> __file_enum=/Users/neumayr/code/private/heroku/rails-demo/.versions.conf
+__rvm_find_first_file:10> [[ -f /Users/neumayr/code/private/heroku/rails-demo/.versions.conf ]]
+__rvm_find_first_file:7> __file_enum=/Users/neumayr/code/private/heroku/rails-demo/.ruby-version
+__rvm_find_first_file:10> [[ -f /Users/neumayr/code/private/heroku/rails-demo/.ruby-version ]]
+__rvm_find_first_file:12> eval '_found_file="$__file_enum"'
+(eval):1> _found_file=/Users/neumayr/code/private/heroku/rails-demo/.ruby-version 
+__rvm_find_first_file:13> return 0
+__rvm_project_dir_check:16> [[ .ruby-version == Gemfile ]]
+__rvm_project_dir_check:29> [[ /Users/neumayr/code/private/heroku/rails-demo/.ruby-version == /Users/neumayr/.rvmrc ]]
+__rvm_project_dir_check:34> [[ -n found_file ]]
+__rvm_project_dir_check:35> eval 'found_file="${_found_file:-}"'
+(eval):1> found_file=/Users/neumayr/code/private/heroku/rails-demo/.ruby-version 
+__rvm_project_dir_check:39> [[ -n /Users/neumayr/code/private/heroku/rails-demo/.ruby-version ]]
+__rvm_project_dir_check:41> RVM_PROJECT_PATH=/Users/neumayr/code/private/heroku/rails-demo/.ruby-version 
+__rvm_project_dir_check:42> RVM_PROJECT_PATH=/Users/neumayr/code/private/heroku/rails-demo 
+__rvm_project_rvmrc:33> rvm_trustworthiness_result=0 
+__rvm_project_rvmrc:35> [[ /Users/neumayr/code/private/heroku/rails-demo/.ruby-version !=  ]]
+__rvm_project_rvmrc:37> __rvm_conditionally_do_with_env __rvm_load_project_config /Users/neumayr/code/private/heroku/rails-demo/.ruby-version
+__rvm_conditionally_do_with_env:2> ((  __rvm_env_loaded > 0  ))
+__rvm_conditionally_do_with_env:4> __rvm_load_project_config /Users/neumayr/code/private/heroku/rails-demo/.ruby-version
+__rvm_load_project_config:2> rvm_debug '__rvm_load_project_config /Users/neumayr/code/private/heroku/rails-demo/.ruby-version'
+rvm_debug:2> ((  0  ))
+rvm_debug:2> return 0
+__rvm_load_project_config:3> typeset __gemfile _bundle_install
+__rvm_load_project_config:4> typeset -a __file_env_variables
+__rvm_load_project_config:5> __file_env_variables=( ) 
+__rvm_load_project_config:6> __gemfile='' 
+__rvm_load_project_config:7> rvm_previous_environment=+__rvm_load_project_config:7> __rvm_env_string
+__rvm_env_string:2> typeset _string
+__rvm_env_string:3> _string=/Users/neumayr/.rvm/gems/ruby-2.5.0 
+__rvm_env_string:4> _string=ruby-2.5.0 
+__rvm_env_string:5> printf %b 'ruby-2.5.0\n'
+__rvm_load_project_config:7> rvm_previous_environment=ruby-2.5.0 
+__rvm_load_project_config:8> : rvm_autoinstall_bundler_flag:0
+__rvm_load_project_config:9> case /Users/neumayr/code/private/heroku/rails-demo/.ruby-version (*/.rvmrc)
+__rvm_load_project_config:9> case /Users/neumayr/code/private/heroku/rails-demo/.ruby-version (*/.versions.conf)
+__rvm_load_project_config:9> case /Users/neumayr/code/private/heroku/rails-demo/.ruby-version (*/Gemfile)
+__rvm_load_project_config:9> case /Users/neumayr/code/private/heroku/rails-demo/.ruby-version (*/.ruby-version|*/.rbfu-version|*/.rbenv-version)
+__rvm_load_project_config:83> __rvm_ensure_is_a_function
+__rvm_ensure_is_a_function:2> [[ 0 == 1 ]]
+__rvm_ensure_is_a_function:2> is_a_function rvm
+is_a_function:2> typeset -f rvm
+__rvm_load_project_config:84> rvm_current_rvmrc=/Users/neumayr/code/private/heroku/rails-demo/.ruby-version 
+__rvm_load_project_config:86> rvm_ruby_string=+__rvm_load_project_config:86> tr -d '\r'
+__rvm_load_project_config:86> rvm_ruby_string=2.5.1 
+__rvm_load_project_config:87> [[ -z 2.5.1 ]]
+__rvm_load_project_config:90> [[ -f /Users/neumayr/code/private/heroku/rails-demo/.ruby-gemset ]]
+__rvm_load_project_config:91> rvm_gemset_name=+__rvm_load_project_config:91> tr -d '\r'
+__rvm_load_project_config:91> rvm_gemset_name=rails-demo 
+__rvm_load_project_config:94> rvm_create_flag=1 +__rvm_load_project_config:94> __rvm_use
+__rvm_use:2> typeset binary full_binary_path rvm_ruby_gem_home __path_prefix __path_suffix
+__rvm_use:4> __rvm_select
+__rvm_select:2> true rails-demo
+__rvm_select:4> __rvm_select_set_variable_defaults
+__rvm_select_set_variable_defaults:2> export GEM_HOME GEM_PATH MY_RUBY_HOME RUBY_VERSION IRBRC
+__rvm_select_set_variable_defaults:3> export rvm_env_string rvm_action rvm_alias_expanded rvm_archive_extension rvm_bin_flag rvm_bin_path rvm_debug_flag rvm_default_flag rvm_delete_flag rvm_docs_type rvm_dump_environment_flag rvm_error_message rvm_expanding_aliases rvm_file_name rvm_gemdir_flag rvm_gemset_name rvm_gemstone_package_file rvm_gemstone_url rvm_head_flag rvm_hook rvm_install_on_use_flag rvm_llvm_flag rvm_loaded_flag rvm_niceness rvm_nightly_flag rvm_only_path_flag rvm_parse_break rvm_patch_original_pwd rvm_pretty_print_flag rvm_proxy rvm_quiet_flag rvm_reload_flag rvm_remove_flag rvm_ruby_alias rvm_ruby_args rvm_ruby_binary rvm_ruby_bits rvm_ruby_configure rvm_ruby_file rvm_ruby_gem_home rvm_ruby_gem_path rvm_ruby_global_gems_path rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc rvm_ruby_major_version rvm_ruby_make rvm_ruby_make_install rvm_ruby_minor_version rvm_ruby_mode rvm_ruby_name rvm_ruby_package_file rvm_ruby_package_name rvm_ruby_patch rvm_ruby_patch_level rvm_ruby_release_version rvm_ruby_repo_url rvm_ruby_revision rvm_ruby_selected_flag rvm_ruby_sha rvm_ruby_string rvm_ruby_strings rvm_ruby_tag rvm_ruby_url rvm_ruby_user_tag rvm_ruby_version rvm_script_name rvm_sdk rvm_silent_flag rvm_sticky_flag rvm_system_flag rvm_token rvm_trace_flag rvm_use_flag rvm_user_flag rvm_verbose_flag rvm_wrapper_name
+__rvm_select:5> __rvm_select_detect_ruby_string ''
+__rvm_select_detect_ruby_string:2> rvm_ruby_string=2.5.1 
+__rvm_select_detect_ruby_string:4> [[ -z 2.5.1 ]]
+__rvm_select:6> __rvm_ruby_string
+__rvm_ruby_string:10> true 0 0
+__rvm_ruby_string:11> rvm_expanding_aliases='' 
+__rvm_ruby_string:12> true '' rails-demo '' '' '' '' '' @ 2.5.1 0 0
+__rvm_ruby_string:19> [[ 2.5.1 == *@* ]]
+__rvm_ruby_string:26> ((  rvm_expanding_aliases == 0  ))
+__rvm_ruby_string:27> [[ -n 2.5.1 && 2.5.1 != system ]]
+__rvm_ruby_string:30> [[ -f /Users/neumayr/.rvm/config/known_aliases && -s /Users/neumayr/.rvm/config/known_aliases ]]
+__rvm_ruby_string:31> expanded_alias_name=+__rvm_ruby_string:31> __rvm_db_ /Users/neumayr/.rvm/config/known_aliases 2.5.1
+__rvm_db_:2> typeset __db __key __value
+__rvm_db_:3> __db=/Users/neumayr/.rvm/config/known_aliases 
+__rvm_db_:4> __key=2.5.1 
+__rvm_db_:5> shift 2
+__rvm_db_:6> __value='' 
+__rvm_db_:7> case  (unset|delete)
+__rvm_db_:7> case  ()
+__rvm_db_:12> __rvm_db_get /Users/neumayr/.rvm/config/known_aliases 2.5.1
+__rvm_db_get:2> [[ -f /Users/neumayr/.rvm/config/known_aliases ]]
+__rvm_db_get:3> __rvm_sed -n -e '\#^2.5.1=# { s#^2.5.1=##;; p; }' -e '/^$/d'
+__rvm_sed:0> sed -n -e '\#^2.5.1=# { s#^2.5.1=##;; p; }' -e '/^$/d'
+__rvm_ruby_string:31> expanded_alias_name='' 
+__rvm_ruby_string:32> [[ -n '' ]]
+__rvm_ruby_string:39> ((  rvm_expanding_aliases == 0  ))
+__rvm_ruby_string:40> [[ -n 2.5.1 && 2.5.1 != system ]]
+__rvm_ruby_string:43> [[ -f /Users/neumayr/.rvm/config/alias && -s /Users/neumayr/.rvm/config/alias ]]
+__rvm_ruby_string:44> expanded_alias_name=+__rvm_ruby_string:44> __rvm_db_ /Users/neumayr/.rvm/config/alias 2.5.1
+__rvm_db_:2> typeset __db __key __value
+__rvm_db_:3> __db=/Users/neumayr/.rvm/config/alias 
+__rvm_db_:4> __key=2.5.1 
+__rvm_db_:5> shift 2
+__rvm_db_:6> __value='' 
+__rvm_db_:7> case  (unset|delete)
+__rvm_db_:7> case  ()
+__rvm_db_:12> __rvm_db_get /Users/neumayr/.rvm/config/alias 2.5.1
+__rvm_db_get:2> [[ -f /Users/neumayr/.rvm/config/alias ]]
+__rvm_db_get:3> __rvm_sed -n -e '\#^2.5.1=# { s#^2.5.1=##;; p; }' -e '/^$/d'
+__rvm_sed:0> sed -n -e '\#^2.5.1=# { s#^2.5.1=##;; p; }' -e '/^$/d'
+__rvm_ruby_string:44> expanded_alias_name='' 
+__rvm_ruby_string:45> [[ -n '' ]]
+__rvm_ruby_string:49> [[ 2.5.1 == default ]]
+__rvm_ruby_string:55> [[ 2.5.1 == *@* ]]
+__rvm_ruby_string:62> [[ -n '' ]]
+__rvm_ruby_string:68> __rvm_ruby_string_parse
+__rvm_ruby_string_parse:3> __rvm_ruby_string_parse_
+__rvm_ruby_string_parse_:2> typeset ruby_string gemset_name expanded_alias_name repo_url branch_name ruby_name
+__rvm_ruby_string_parse_:5> ruby_string=2.5.1 
+__rvm_ruby_string_parse_:6> gemset_name=rails-demo 
+__rvm_ruby_string_parse_:7> repo_url='' 
+__rvm_ruby_string_parse_:8> branch_name='' 
+__rvm_ruby_string_parse_:9> ruby_name='' 
+__rvm_ruby_string_parse_:11> __rvm_unset_ruby_variables
+__rvm_unset_ruby_variables:3> unset rvm_env_string rvm_ruby_string rvm_ruby_strings rvm_ruby_binary rvm_ruby_gem_home rvm_ruby_gem_path rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc rvm_ruby_log_path rvm_ruby_major_version rvm_ruby_minor_version rvm_ruby_package_name rvm_ruby_patch_level rvm_ruby_release_version rvm_ruby_repo_url rvm_ruby_repo_branch rvm_ruby_revision rvm_ruby_selected_flag rvm_ruby_tag rvm_ruby_version rvm_head_flag rvm_ruby_package_file rvm_ruby_configure rvm_ruby_name rvm_ruby_url rvm_ruby_global_gems_path rvm_ruby_args rvm_ruby_name rvm_llvm_flag
+__rvm_unset_ruby_variables:4> __rvm_load_rvmrc
+__rvm_load_rvmrc:2> typeset _file
+__rvm_load_rvmrc:3> typeset -a rvm_rvmrc_files
+__rvm_load_rvmrc:4> ((  0 == 1  ))
+__rvm_load_rvmrc:9> [[ -n 022 ]]
+__rvm_load_rvmrc:11> rvm_rvmrc_files=( /etc/rvmrc /Users/neumayr/.rvmrc ) 
+__rvm_load_rvmrc:12> [[ -n /Users/neumayr ]]
+__rvm_load_rvmrc:12> [[ /Users/neumayr/.rvmrc -ef /Users/neumayr/.rvmrc ]]
+__rvm_load_rvmrc:15> _file=/etc/rvmrc
+__rvm_load_rvmrc:17> [[ -s /etc/rvmrc ]]
+__rvm_load_rvmrc:15> _file=/Users/neumayr/.rvmrc
+__rvm_load_rvmrc:17> [[ -s /Users/neumayr/.rvmrc ]]
+__rvm_load_rvmrc:19> __rvm_grep '^\s*rvm .*$' /Users/neumayr/.rvmrc
+__rvm_load_rvmrc:28> source /Users/neumayr/.rvmrc
+/Users/neumayr/.rvmrc:1> export rvm_path=/Users/neumayr/.rvm
+__rvm_load_rvmrc:32> return 0
+__rvm_ruby_string_parse_:13> rvm_ruby_repo_url='' 
+__rvm_ruby_string_parse_:14> rvm_ruby_repo_branch='' 
+__rvm_ruby_string_parse_:15> rvm_ruby_name='' 
+__rvm_ruby_string_parse_:16> export rvm_head_flag=0
+__rvm_ruby_string_parse_:19> [[ -z 2.5.1 || 2.5.1 == current ]]
+__rvm_ruby_string_parse_:32> strings=( ) 
+__rvm_ruby_string_parse_:33> __rvm_custom_separated_array strings - 2.5.1
+__rvm_custom_separated_array:2> typeset IFS
+__rvm_custom_separated_array:3> IFS=- 
+__rvm_custom_separated_array:4> [[ -n 5.3 ]]
+__rvm_custom_separated_array:5> eval 'strings+=( ${=3} )'
+(eval):1> strings+=( 2.5.1 ) 
+__rvm_ruby_string_parse_:34> rvm_ruby_string=2.5.1 
+__rvm_ruby_string_parse_:37> [[ -n 5.3 ]]
+__rvm_ruby_string_parse_:38> setopt LOCAL_OPTIONS KSH_GLOB
+__rvm_ruby_string_parse_:41> string=2.5.1
+__rvm_ruby_string_parse_:43> case 2.5.1 (head)
+__rvm_ruby_string_parse_:43> case 2.5.1 (system)
+__rvm_ruby_string_parse_:43> case 2.5.1 (ext|external)
+__rvm_ruby_string_parse_:43> case 2.5.1 (nightly|weekly|monthly)
+__rvm_ruby_string_parse_:43> case 2.5.1 (nightly*|weekly*|monthly*)
+__rvm_ruby_string_parse_:43> case 2.5.1 (preview*)
+__rvm_ruby_string_parse_:43> case 2.5.1 (rc[0-9]*)
+__rvm_ruby_string_parse_:43> case 2.5.1 (+([0-9]).+([0-9]).[0-9]*)
+__rvm_ruby_string_parse_:99> rvm_ruby_version=2.5.1 
+__rvm_ruby_string_parse_:100> rvm_ruby_revision='' 
+__rvm_ruby_string_parse_:101> rvm_ruby_tag='' 
+__rvm_ruby_string_parse_:181> [[ -z '' && -n 2.5.1 ]]
+__rvm_ruby_string_parse_:183> case 2.5.1 (1.[5-7]*|9*)
+__rvm_ruby_string_parse_:183> case 2.5.1 (1.[8-9]*|2*)
+__rvm_ruby_string_parse_:185> rvm_ruby_interpreter=ruby 
+__rvm_ruby_string_parse_:187> [[ -n ruby ]]
+__rvm_ruby_string_parse_:188> rvm_ruby_string=ruby-2.5.1 
+__rvm_ruby_string_parse_:191> true
+__rvm_ruby_string_parse:6> ((  0 == 1  ))
+__rvm_ruby_string_parse:21> __rvm_ruby_string_parse_
+__rvm_ruby_string_parse_:2> typeset ruby_string gemset_name expanded_alias_name repo_url branch_name ruby_name
+__rvm_ruby_string_parse_:5> ruby_string=ruby-2.5.1 
+__rvm_ruby_string_parse_:6> gemset_name=rails-demo 
+__rvm_ruby_string_parse_:7> repo_url='' 
+__rvm_ruby_string_parse_:8> branch_name='' 
+__rvm_ruby_string_parse_:9> ruby_name='' 
+__rvm_ruby_string_parse_:11> __rvm_unset_ruby_variables
+__rvm_unset_ruby_variables:3> unset rvm_env_string rvm_ruby_string rvm_ruby_strings rvm_ruby_binary rvm_ruby_gem_home rvm_ruby_gem_path rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc rvm_ruby_log_path rvm_ruby_major_version rvm_ruby_minor_version rvm_ruby_package_name rvm_ruby_patch_level rvm_ruby_release_version rvm_ruby_repo_url rvm_ruby_repo_branch rvm_ruby_revision rvm_ruby_selected_flag rvm_ruby_tag rvm_ruby_version rvm_head_flag rvm_ruby_package_file rvm_ruby_configure rvm_ruby_name rvm_ruby_url rvm_ruby_global_gems_path rvm_ruby_args rvm_ruby_name rvm_llvm_flag
+__rvm_unset_ruby_variables:4> __rvm_load_rvmrc
+__rvm_load_rvmrc:2> typeset _file
+__rvm_load_rvmrc:3> typeset -a rvm_rvmrc_files
+__rvm_load_rvmrc:4> ((  0 == 1  ))
+__rvm_load_rvmrc:9> [[ -n 022 ]]
+__rvm_load_rvmrc:11> rvm_rvmrc_files=( /etc/rvmrc /Users/neumayr/.rvmrc ) 
+__rvm_load_rvmrc:12> [[ -n /Users/neumayr ]]
+__rvm_load_rvmrc:12> [[ /Users/neumayr/.rvmrc -ef /Users/neumayr/.rvmrc ]]
+__rvm_load_rvmrc:15> _file=/etc/rvmrc
+__rvm_load_rvmrc:17> [[ -s /etc/rvmrc ]]
+__rvm_load_rvmrc:15> _file=/Users/neumayr/.rvmrc
+__rvm_load_rvmrc:17> [[ -s /Users/neumayr/.rvmrc ]]
+__rvm_load_rvmrc:19> __rvm_grep '^\s*rvm .*$' /Users/neumayr/.rvmrc
+__rvm_load_rvmrc:28> source /Users/neumayr/.rvmrc
+/Users/neumayr/.rvmrc:1> export rvm_path=/Users/neumayr/.rvm
+__rvm_load_rvmrc:32> return 0
+__rvm_ruby_string_parse_:13> rvm_ruby_repo_url='' 
+__rvm_ruby_string_parse_:14> rvm_ruby_repo_branch='' 
+__rvm_ruby_string_parse_:15> rvm_ruby_name='' 
+__rvm_ruby_string_parse_:16> export rvm_head_flag=0
+__rvm_ruby_string_parse_:19> [[ -z ruby-2.5.1 || ruby-2.5.1 == current ]]
+__rvm_ruby_string_parse_:32> strings=( ) 
+__rvm_ruby_string_parse_:33> __rvm_custom_separated_array strings - ruby-2.5.1
+__rvm_custom_separated_array:2> typeset IFS
+__rvm_custom_separated_array:3> IFS=- 
+__rvm_custom_separated_array:4> [[ -n 5.3 ]]
+__rvm_custom_separated_array:5> eval 'strings+=( ${=3} )'
+(eval):1> strings+=( ruby 2.5.1 ) 
+__rvm_ruby_string_parse_:34> rvm_ruby_string=ruby-2.5.1 
+__rvm_ruby_string_parse_:37> [[ -n 5.3 ]]
+__rvm_ruby_string_parse_:38> setopt LOCAL_OPTIONS KSH_GLOB
+__rvm_ruby_string_parse_:41> string=ruby
+__rvm_ruby_string_parse_:43> case ruby (head)
+__rvm_ruby_string_parse_:43> case ruby (system)
+__rvm_ruby_string_parse_:43> case ruby (ext|external)
+__rvm_ruby_string_parse_:43> case ruby (nightly|weekly|monthly)
+__rvm_ruby_string_parse_:43> case ruby (nightly*|weekly*|monthly*)
+__rvm_ruby_string_parse_:43> case ruby (preview*)
+__rvm_ruby_string_parse_:43> case ruby (rc[0-9]*)
+__rvm_ruby_string_parse_:43> case ruby (+([0-9]).+([0-9]).[0-9]*)
+__rvm_ruby_string_parse_:43> case ruby ([0-9][0-9]*)
+__rvm_ruby_string_parse_:43> case ruby ([0-9]*)
+__rvm_ruby_string_parse_:43> case ruby (p[0-9]*)
+__rvm_ruby_string_parse_:43> case ruby (r[0-9]*)
+__rvm_ruby_string_parse_:43> case ruby (s[0-9a-zA-ZuU]*)
+__rvm_ruby_string_parse_:43> case ruby (tv[0-9]*|t[0-9]*)
+__rvm_ruby_string_parse_:43> case ruby (m[0-9]*)
+__rvm_ruby_string_parse_:43> case ruby (u[0-9a-zA-ZuU]*)
+__rvm_ruby_string_parse_:43> case ruby (b[0-9]*)
+__rvm_ruby_string_parse_:43> case ruby (rubinius)
+__rvm_ruby_string_parse_:43> case ruby (opal|ruby|rbx|jruby|macruby|ree|maglev|ironruby|mruby|topaz)
+__rvm_ruby_string_parse_:167> rvm_ruby_interpreter=ruby 
+__rvm_ruby_string_parse_:41> string=2.5.1
+__rvm_ruby_string_parse_:43> case 2.5.1 (head)
+__rvm_ruby_string_parse_:43> case 2.5.1 (system)
+__rvm_ruby_string_parse_:43> case 2.5.1 (ext|external)
+__rvm_ruby_string_parse_:43> case 2.5.1 (nightly|weekly|monthly)
+__rvm_ruby_string_parse_:43> case 2.5.1 (nightly*|weekly*|monthly*)
+__rvm_ruby_string_parse_:43> case 2.5.1 (preview*)
+__rvm_ruby_string_parse_:43> case 2.5.1 (rc[0-9]*)
+__rvm_ruby_string_parse_:43> case 2.5.1 (+([0-9]).+([0-9]).[0-9]*)
+__rvm_ruby_string_parse_:99> rvm_ruby_version=2.5.1 
+__rvm_ruby_string_parse_:100> rvm_ruby_revision='' 
+__rvm_ruby_string_parse_:101> rvm_ruby_tag='' 
+__rvm_ruby_string_parse_:181> [[ -z ruby ]]
+__rvm_ruby_string_parse_:191> true
+__rvm_ruby_string_parse:24> [[ -z ruby ]]
+__rvm_ruby_string:69> __rvm_ruby_string_find
+__rvm_ruby_string_find:3> __rvm_ruby_string_installed
+__rvm_ruby_string_installed:2> typeset '__ruby_inst_dir=/Users/neumayr/.rvm/rubies/ruby-2.5.1'
+__rvm_ruby_string_installed:3> [[ -n '' ]]
+__rvm_ruby_string_installed:6> [[ -n ruby && -n ruby-2.5.1 && -d /Users/neumayr/.rvm/rubies/ruby-2.5.1 ]]
+__rvm_ruby_string_installed:9> [[ -z rails-demo || 1 -eq 1 ]]
+__rvm_ruby_string_find:5> true
+__rvm_ruby_string_find:20> [[ -n '' ]]
+__rvm_ruby_string:72> detected_rvm_ruby_name='' 
+__rvm_ruby_string:74> rvm_ruby_name='' 
+__rvm_ruby_string:75> true
+__rvm_select:7> __rvm_select_after_parse
+__rvm_select_after_parse:2> __rvm_select_interpreter_variables
+__rvm_select_interpreter_variables:2> rvm_archive_extension=tar.gz 
+__rvm_select_interpreter_variables:4> [[ -z ruby ]]
+__rvm_select_interpreter_variables:8> rvm_ruby_interpreter=ruby 
+__rvm_select_interpreter_variables:11> is_a_function __rvm_select_interpreter_ruby
+is_a_function:2> typeset -f __rvm_select_interpreter_ruby
+__rvm_select_interpreter_variables:13> __rvm_select_interpreter_ruby
+__rvm_select_interpreter_ruby:3> [[ '' == p0 ]]
+__rvm_select_interpreter_ruby:10> rvm_ruby_package_name=ruby-2.5.1 
+__rvm_select_interpreter_ruby:11> rvm_ruby_package_file=ruby-2.5.1 
+__rvm_select_interpreter_ruby:13> [[ -z 2.5.1 ]]
+__rvm_select_interpreter_ruby:18> rvm_ruby_repo_url=+__rvm_select_interpreter_ruby:18> __rvm_db ruby_repo_url
+__rvm_db:2> typeset value key variable
+__rvm_db:3> key=ruby_repo_url 
+__rvm_db:4> variable='' 
+__rvm_db:5> value='' 
+__rvm_db:7> [[ -f /Users/neumayr/.rvm/user/db ]]
+__rvm_db:8> value=+__rvm_db:8> __rvm_db_ /Users/neumayr/.rvm/user/db ruby_repo_url
+__rvm_db_:2> typeset __db __key __value
+__rvm_db_:3> __db=/Users/neumayr/.rvm/user/db 
+__rvm_db_:4> __key=ruby_repo_url 
+__rvm_db_:5> shift 2
+__rvm_db_:6> __value='' 
+__rvm_db_:7> case  (unset|delete)
+__rvm_db_:7> case  ()
+__rvm_db_:12> __rvm_db_get /Users/neumayr/.rvm/user/db ruby_repo_url
+__rvm_db_get:2> [[ -f /Users/neumayr/.rvm/user/db ]]
+__rvm_db_get:3> __rvm_sed -n -e '\#^ruby_repo_url=# { s#^ruby_repo_url=##;; p; }' -e '/^$/d'
+__rvm_sed:0> sed -n -e '\#^ruby_repo_url=# { s#^ruby_repo_url=##;; p; }' -e '/^$/d'
+__rvm_db:8> value='' 
+__rvm_db:10> [[ -z '' && -f /Users/neumayr/.rvm/config/db ]]
+__rvm_db:11> value=+__rvm_db:11> __rvm_db_ /Users/neumayr/.rvm/config/db ruby_repo_url
+__rvm_db_:2> typeset __db __key __value
+__rvm_db_:3> __db=/Users/neumayr/.rvm/config/db 
+__rvm_db_:4> __key=ruby_repo_url 
+__rvm_db_:5> shift 2
+__rvm_db_:6> __value='' 
+__rvm_db_:7> case  (unset|delete)
+__rvm_db_:7> case  ()
+__rvm_db_:12> __rvm_db_get /Users/neumayr/.rvm/config/db ruby_repo_url
+__rvm_db_get:2> [[ -f /Users/neumayr/.rvm/config/db ]]
+__rvm_db_get:3> __rvm_sed -n -e '\#^ruby_repo_url=# { s#^ruby_repo_url=##;; p; }' -e '/^$/d'
+__rvm_sed:0> sed -n -e '\#^ruby_repo_url=# { s#^ruby_repo_url=##;; p; }' -e '/^$/d'
+__rvm_db:11> value=https://github.com/ruby/ruby.git 
+__rvm_db:13> [[ -n https://github.com/ruby/ruby.git ]]
+__rvm_db:14> [[ -n '' ]]
+__rvm_db:16> echo https://github.com/ruby/ruby.git
+__rvm_db:18> true
+__rvm_select_interpreter_ruby:18> rvm_ruby_repo_url=https://github.com/ruby/ruby.git 
+__rvm_select_interpreter_ruby:20> ((  0 == 0  ))
+__rvm_select_interpreter_ruby:22> __rvm_version_compare 2.5.1 -lt 1.8.5
+__rvm_version_compare:2> typeset first
+__rvm_version_compare:3> first=+__rvm_version_compare:3> printf %b '2.5.1\n1.8.5\n'
+__rvm_version_compare:3> first=+__rvm_version_compare:3> __rvm_version_sort
+__rvm_version_compare:3> first=+__rvm_version_compare:3> head -n1
+__rvm_version_sort:2> awk '-F[.-]' -v 'OFS=.' $'{       # split on "." and "-", merge back with "."\n    original=$0                            # save original to preserve it before the line is changed\n    for (n=1; n<10; n++) {                 # iterate through max 9 components of version\n      $n=tolower($n)                       # ignore case for sorting\n      if ($n=="")         $n="0"           # treat non existing parts as 0\n      if ($n ~ /^p[0-9]/) $n=substr($n, 2) # old ruby -p notation\n      if ($n ~ /^[a-z]/)  $n=" "$n         # names go before numbers thanks to space\n    }\n    print $0"\t"original                   # print the transformed version and original separated by \t so we can extract original after sorting\n  }'
+__rvm_version_sort:12> LC_ALL=C sort -t. -k 1,1d -k 2,2n -k 3,3n -k 4,4n -k 5,5n -k 6,6n -k 7,7n -k 8,8n -k 9,9n
+__rvm_version_sort:13> awk '-F\t' '{print $2}'
+__rvm_version_compare:3> first=1.8.5 
+__rvm_version_compare:5> case -lt (-eq|==|=)
+__rvm_version_compare:5> case -lt (-ne|!=)
+__rvm_version_compare:5> case -lt (-gt|\>)
+__rvm_version_compare:5> case -lt (-ge|\>=)
+__rvm_version_compare:5> case -lt (-lt|\<)
+__rvm_version_compare:25> [[ 1.8.5 == head ]]
+__rvm_version_compare:27> [[ 1.8.5 == 2.5.1 ]]
+__rvm_version_compare:27> return 1
+__rvm_select_interpreter_ruby:24> rvm_archive_extension=tar.bz2 
+__rvm_select_interpreter_ruby:30> true
+__rvm_select_after_parse:3> __rvm_select_version_variables
+__rvm_select_version_variables:2> case 2.5.1 (+([0-9]).+([0-9]).+([0-9]))
+__rvm_select_version_variables:4> rvm_ruby_release_version=2 
+__rvm_select_version_variables:5> rvm_ruby_major_version=2.5 
+__rvm_select_version_variables:6> rvm_ruby_major_version=5 
+__rvm_select_version_variables:7> rvm_ruby_minor_version=1 
+__rvm_select_after_parse:4> __rvm_select_default_variables
+__rvm_select_default_variables:2> [[ ruby != ext ]]
+__rvm_select_default_variables:3> rvm_ruby_package_name=ruby-2.5.1 
+__rvm_select_default_variables:6> rvm_ruby_home=/Users/neumayr/.rvm/rubies/ruby-2.5.1 
+__rvm_select_default_variables:7> rvm_ruby_binary=/Users/neumayr/.rvm/rubies/ruby-2.5.1/bin/ruby 
+__rvm_select_default_variables:8> rvm_ruby_irbrc=/Users/neumayr/.rvm/rubies/ruby-2.5.1/.irbrc 
+__rvm_select_after_parse:7> [[ system == ruby ]]
+__rvm_select_after_parse:7> __rvm_gemset_select
+__rvm_gemset_select:2> __rvm_gemset_select_only
+__rvm_gemset_select_only:2> rvm_ruby_gem_home=/Users/neumayr/.rvm/gems/ruby-2.5.1 
+__rvm_gemset_select_only:4> : rvm_ignore_gemsets_flag:0:
+__rvm_gemset_select_only:5> ((  rvm_ignore_gemsets_flag  ))
+__rvm_gemset_select_only:11> rvm_ruby_global_gems_path=/Users/neumayr/.rvm/gems/ruby-2.5.1@global 
+__rvm_gemset_select_only:13> __rvm_gemset_handle_default
+__rvm_gemset_handle_default:2> rvm_gemset_name=@rails-demo@ 
+__rvm_gemset_handle_default:3> rvm_gemset_name=@rails-demo@ 
+__rvm_gemset_handle_default:5> rvm_gemset_name=rails-demo 
+__rvm_gemset_select_only:14> [[ -z rails-demo ]]
+__rvm_gemset_select_only:15> rvm_ruby_gem_home=/Users/neumayr/.rvm/gems/ruby-2.5.1@rails-demo 
+__rvm_gemset_select_only:17> [[ rails-demo == global ]]
+__rvm_gemset_select_only:21> rvm_ruby_gem_path=/Users/neumayr/.rvm/gems/ruby-2.5.1@rails-demo:/Users/neumayr/.rvm/gems/ruby-2.5.1@global 
+__rvm_gemset_select_only:25> [[ -n rails-demo ]]
+__rvm_gemset_select_only:27> rvm_env_string=ruby-2.5.1@rails-demo 
+__rvm_gemset_select_only:31> true
+__rvm_gemset_select:3> __rvm_gemset_select_validation
+__rvm_gemset_select_validation:4> [[ ! -d /Users/neumayr/.rvm/gems/ruby-2.5.1@rails-demo ]]
+__rvm_gemset_select_validation:15> ((  0 == 1  ))
+__rvm_gemset_select_validation:20> case rails-demo (*/*)
+__rvm_gemset_select_validation:20> case rails-demo (*:*)
+__rvm_gemset_select_validation:31> typeset rvm_ruby_gem_home_254
+__rvm_gemset_select_validation:32> [[ -n 5.3 ]]
+__rvm_gemset_select_validation:33> rvm_ruby_gem_home_254=/Users/neumayr/.rvm/gems/ruby-2.5.1@rails-demo 
+__rvm_gemset_select_validation:37> [[ /Users/neumayr/.rvm/gems/ruby-2.5.1@rails-demo != /Users/neumayr/.rvm/gems/ruby-2.5.1@rails-demo ]]
+__rvm_select_after_parse:10> rvm_ruby_selected_flag=1 
+__rvm_use:6> [[ system == ruby ]]
+__rvm_use:8> __rvm_use_
+__rvm_use_:2> rvm_ruby_home=/Users/neumayr/.rvm/rubies/ruby-2.5.1 
+__rvm_use_:5> [[ ! -d /Users/neumayr/.rvm/rubies/ruby-2.5.1 ]]
+__rvm_use_:20> __rvm_gemset_use_ensure
+__rvm_gemset_use_ensure:3> [[ ! -d /Users/neumayr/.rvm/gems/ruby-2.5.1@rails-demo ]]
+__rvm_gemset_use_ensure:4> [[ -n '' ]]
+__rvm_use_:22> export GEM_HOME GEM_PATH MY_RUBY_HOME RUBY_VERSION IRBRC
+__rvm_use_:23> GEM_HOME=/Users/neumayr/.rvm/gems/ruby-2.5.1@rails-demo 
+__rvm_use_:24> GEM_PATH=/Users/neumayr/.rvm/gems/ruby-2.5.1@rails-demo:/Users/neumayr/.rvm/gems/ruby-2.5.1@global 
+__rvm_use_:25> MY_RUBY_HOME=/Users/neumayr/.rvm/rubies/ruby-2.5.1 
+__rvm_use_:26> RUBY_VERSION=ruby-2.5.1 
+__rvm_use_:27> IRBRC=/Users/neumayr/.rvm/rubies/ruby-2.5.1/.irbrc 
+__rvm_use_:28> unset BUNDLE_PATH
+__rvm_use_:31> [[ maglev == ruby ]]
+__rvm_use_:35> [[ -n /Users/neumayr/.rvm/rubies/ruby-2.5.1/.irbrc ]]
+__rvm_use_:38> ((  1 >= 2 && 0 == 0  ))
+__rvm_use_:39> ((  1 == 1 && 0 == 1  ))
+__rvm_use_:44> [[ /Users/neumayr/.rvm/gems/ruby-2.5.1@rails-demo != /Users/neumayr/.rvm/gems/ruby-2.5.1@global ]]
+__rvm_use_:45> __path_prefix=/Users/neumayr/.rvm/gems/ruby-2.5.1@rails-demo/bin:/Users/neumayr/.rvm/gems/ruby-2.5.1@global/bin:/Users/neumayr/.rvm/rubies/ruby-2.5.1/bin:/Users/neumayr/.rvm/bin 
+__rvm_use_:48> __path_suffix='' 
+__rvm_use:10> __rvm_use_common
+__rvm_use_common:2> [[ -z ruby-2.5.1 ]]
+__rvm_use_common:2> export rvm_ruby_string
+__rvm_use_common:3> [[ -z rails-demo ]]
+__rvm_use_common:3> export rvm_gemset_name
+__rvm_use_common:5> typeset __save_PATH
+__rvm_use_common:6> __rvm_remove_rvm_from_path
+__rvm_remove_rvm_from_path:2> typeset local_rvm_path
+__rvm_remove_rvm_from_path:3> __rvm_remove_from_path '/Users/neumayr/.rvm/*'
+__rvm_remove_from_path:2> export PATH
+__rvm_remove_from_path:3> typeset _value
+__rvm_remove_from_path:4> _value='/Users/neumayr/.rvm/*' 
+__rvm_remove_from_path:8> [[ /Users/neumayr/.rvm/gems/ruby-2.5.0/bin:/Users/neumayr/.rvm/gems/ruby-2.5.0@global/bin:/Users/neumayr/.rvm/rubies/ruby-2.5.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin == *//* || /Users/neumayr/.rvm/gems/ruby-2.5.0/bin:/Users/neumayr/.rvm/gems/ruby-2.5.0@global/bin:/Users/neumayr/.rvm/rubies/ruby-2.5.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin == */:* ]]
+__rvm_remove_from_path:17> __rvm_string_match :/Users/neumayr/.rvm/gems/ruby-2.5.0/bin:/Users/neumayr/.rvm/gems/ruby-2.5.0@global/bin:/Users/neumayr/.rvm/rubies/ruby-2.5.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin: '*:/Users/neumayr/.rvm/*:*'
+__rvm_string_match:2> typeset _string _search
+__rvm_string_match:3> _string=:/Users/neumayr/.rvm/gems/ruby-2.5.0/bin:/Users/neumayr/.rvm/gems/ruby-2.5.0@global/bin:/Users/neumayr/.rvm/rubies/ruby-2.5.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin: 
+__rvm_string_match:4> shift
+__rvm_string_match:5> ((  1  ))
+__rvm_string_match:7> _search='*:/Users/neumayr/.rvm/*:*' 
+__rvm_string_match:8> _search='*:/Users/neumayr/.rvm/*:*' 
+__rvm_string_match:9> _search='*:/Users/neumayr/.rvm/*:*' 
+__rvm_string_match:10> eval '      case "${_string}" in        (*:/Users/neumayr/.rvm/*:*) return 0 ;;      esac      '
+(eval):1> case :/Users/neumayr/.rvm/gems/ruby-2.5.0/bin:/Users/neumayr/.rvm/gems/ruby-2.5.0@global/bin:/Users/neumayr/.rvm/rubies/ruby-2.5.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin: (*:/Users/neumayr/.rvm/*:*)
+(eval):1> return 0
+__rvm_remove_from_path:19> typeset -a _path
+__rvm_remove_from_path:20> _path=( ) 
+__rvm_remove_from_path:21> __rvm_custom_separated_array _path : /Users/neumayr/.rvm/gems/ruby-2.5.0/bin:/Users/neumayr/.rvm/gems/ruby-2.5.0@global/bin:/Users/neumayr/.rvm/rubies/ruby-2.5.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
+__rvm_custom_separated_array:2> typeset IFS
+__rvm_custom_separated_array:3> IFS=: 
+__rvm_custom_separated_array:4> [[ -n 5.3 ]]
+__rvm_custom_separated_array:5> eval '_path+=( ${=3} )'
+(eval):1> _path+=( /Users/neumayr/.rvm/gems/ruby-2.5.0/bin /Users/neumayr/.rvm/gems/ruby-2.5.0@global/bin /Users/neumayr/.rvm/rubies/ruby-2.5.0/bin /usr/local/bin /usr/bin /bin /usr/sbin /sbin /opt/X11/bin ) 
+__rvm_remove_from_path:22> __rvm_remove_from_array _path '/Users/neumayr/.rvm/*' /Users/neumayr/.rvm/gems/ruby-2.5.0/bin /Users/neumayr/.rvm/gems/ruby-2.5.0@global/bin /Users/neumayr/.rvm/rubies/ruby-2.5.0/bin /usr/local/bin /usr/bin /bin /usr/sbin /sbin /opt/X11/bin
+__rvm_remove_from_array:2> typeset _array_name _iterator _search
+__rvm_remove_from_array:3> typeset -a _temp_array
+__rvm_remove_from_array:4> _array_name=_path 
+__rvm_remove_from_array:5> _search='/Users/neumayr/.rvm/*' 
+__rvm_remove_from_array:6> shift 2
+__rvm_remove_from_array:7> _temp_array=( ) 
+__rvm_remove_from_array:8> _iterator=/Users/neumayr/.rvm/gems/ruby-2.5.0/bin
+__rvm_remove_from_array:10> __rvm_string_match /Users/neumayr/.rvm/gems/ruby-2.5.0/bin '/Users/neumayr/.rvm/*'
+__rvm_string_match:2> typeset _string _search
+__rvm_string_match:3> _string=/Users/neumayr/.rvm/gems/ruby-2.5.0/bin 
+__rvm_string_match:4> shift
+__rvm_string_match:5> ((  1  ))
+__rvm_string_match:7> _search='/Users/neumayr/.rvm/*' 
+__rvm_string_match:8> _search='/Users/neumayr/.rvm/*' 
+__rvm_string_match:9> _search='/Users/neumayr/.rvm/*' 
+__rvm_string_match:10> eval '      case "${_string}" in        (/Users/neumayr/.rvm/*) return 0 ;;      esac      '
+(eval):1> case /Users/neumayr/.rvm/gems/ruby-2.5.0/bin (/Users/neumayr/.rvm/*)
+(eval):1> return 0
+__rvm_remove_from_array:8> _iterator=/Users/neumayr/.rvm/gems/ruby-2.5.0@global/bin
+__rvm_remove_from_array:10> __rvm_string_match /Users/neumayr/.rvm/gems/ruby-2.5.0@global/bin '/Users/neumayr/.rvm/*'
+__rvm_string_match:2> typeset _string _search
+__rvm_string_match:3> _string=/Users/neumayr/.rvm/gems/ruby-2.5.0@global/bin 
+__rvm_string_match:4> shift
+__rvm_string_match:5> ((  1  ))
+__rvm_string_match:7> _search='/Users/neumayr/.rvm/*' 
+__rvm_string_match:8> _search='/Users/neumayr/.rvm/*' 
+__rvm_string_match:9> _search='/Users/neumayr/.rvm/*' 
+__rvm_string_match:10> eval '      case "${_string}" in        (/Users/neumayr/.rvm/*) return 0 ;;      esac      '
+(eval):1> case /Users/neumayr/.rvm/gems/ruby-2.5.0@global/bin (/Users/neumayr/.rvm/*)
+(eval):1> return 0
+__rvm_remove_from_array:8> _iterator=/Users/neumayr/.rvm/rubies/ruby-2.5.0/bin
+__rvm_remove_from_array:10> __rvm_string_match /Users/neumayr/.rvm/rubies/ruby-2.5.0/bin '/Users/neumayr/.rvm/*'
+__rvm_string_match:2> typeset _string _search
+__rvm_string_match:3> _string=/Users/neumayr/.rvm/rubies/ruby-2.5.0/bin 
+__rvm_string_match:4> shift
+__rvm_string_match:5> ((  1  ))
+__rvm_string_match:7> _search='/Users/neumayr/.rvm/*' 
+__rvm_string_match:8> _search='/Users/neumayr/.rvm/*' 
+__rvm_string_match:9> _search='/Users/neumayr/.rvm/*' 
+__rvm_string_match:10> eval '      case "${_string}" in        (/Users/neumayr/.rvm/*) return 0 ;;      esac      '
+(eval):1> case /Users/neumayr/.rvm/rubies/ruby-2.5.0/bin (/Users/neumayr/.rvm/*)
+(eval):1> return 0
+__rvm_remove_from_array:8> _iterator=/usr/local/bin
+__rvm_remove_from_array:10> __rvm_string_match /usr/local/bin '/Users/neumayr/.rvm/*'
+__rvm_string_match:2> typeset _string _search
+__rvm_string_match:3> _string=/usr/local/bin 
+__rvm_string_match:4> shift
+__rvm_string_match:5> ((  1  ))
+__rvm_string_match:7> _search='/Users/neumayr/.rvm/*' 
+__rvm_string_match:8> _search='/Users/neumayr/.rvm/*' 
+__rvm_string_match:9> _search='/Users/neumayr/.rvm/*' 
+__rvm_string_match:10> eval '      case "${_string}" in        (/Users/neumayr/.rvm/*) return 0 ;;      esac      '
+(eval):1> case /usr/local/bin (/Users/neumayr/.rvm/*)
+__rvm_string_match:15> shift
+__rvm_string_match:5> ((  0  ))
+__rvm_string_match:17> return 1
+__rvm_remove_from_array:10> _temp_array+=( /usr/local/bin ) 
+__rvm_remove_from_array:8> _iterator=/usr/bin
+__rvm_remove_from_array:10> __rvm_string_match /usr/bin '/Users/neumayr/.rvm/*'
+__rvm_string_match:2> typeset _string _search
+__rvm_string_match:3> _string=/usr/bin 
+__rvm_string_match:4> shift
+__rvm_string_match:5> ((  1  ))
+__rvm_string_match:7> _search='/Users/neumayr/.rvm/*' 
+__rvm_string_match:8> _search='/Users/neumayr/.rvm/*' 
+__rvm_string_match:9> _search='/Users/neumayr/.rvm/*' 
+__rvm_string_match:10> eval '      case "${_string}" in        (/Users/neumayr/.rvm/*) return 0 ;;      esac      '
+(eval):1> case /usr/bin (/Users/neumayr/.rvm/*)
+__rvm_string_match:15> shift
+__rvm_string_match:5> ((  0  ))
+__rvm_string_match:17> return 1
+__rvm_remove_from_array:10> _temp_array+=( /usr/bin ) 
+__rvm_remove_from_array:8> _iterator=/bin
+__rvm_remove_from_array:10> __rvm_string_match /bin '/Users/neumayr/.rvm/*'
+__rvm_string_match:2> typeset _string _search
+__rvm_string_match:3> _string=/bin 
+__rvm_string_match:4> shift
+__rvm_string_match:5> ((  1  ))
+__rvm_string_match:7> _search='/Users/neumayr/.rvm/*' 
+__rvm_string_match:8> _search='/Users/neumayr/.rvm/*' 
+__rvm_string_match:9> _search='/Users/neumayr/.rvm/*' 
+__rvm_string_match:10> eval '      case "${_string}" in        (/Users/neumayr/.rvm/*) return 0 ;;      esac      '
+(eval):1> case /bin (/Users/neumayr/.rvm/*)
+__rvm_string_match:15> shift
+__rvm_string_match:5> ((  0  ))
+__rvm_string_match:17> return 1
+__rvm_remove_from_array:10> _temp_array+=( /bin ) 
+__rvm_remove_from_array:8> _iterator=/usr/sbin
+__rvm_remove_from_array:10> __rvm_string_match /usr/sbin '/Users/neumayr/.rvm/*'
+__rvm_string_match:2> typeset _string _search
+__rvm_string_match:3> _string=/usr/sbin 
+__rvm_string_match:4> shift
+__rvm_string_match:5> ((  1  ))
+__rvm_string_match:7> _search='/Users/neumayr/.rvm/*' 
+__rvm_string_match:8> _search='/Users/neumayr/.rvm/*' 
+__rvm_string_match:9> _search='/Users/neumayr/.rvm/*' 
+__rvm_string_match:10> eval '      case "${_string}" in        (/Users/neumayr/.rvm/*) return 0 ;;      esac      '
+(eval):1> case /usr/sbin (/Users/neumayr/.rvm/*)
+__rvm_string_match:15> shift
+__rvm_string_match:5> ((  0  ))
+__rvm_string_match:17> return 1
+__rvm_remove_from_array:10> _temp_array+=( /usr/sbin ) 
+__rvm_remove_from_array:8> _iterator=/sbin
+__rvm_remove_from_array:10> __rvm_string_match /sbin '/Users/neumayr/.rvm/*'
+__rvm_string_match:2> typeset _string _search
+__rvm_string_match:3> _string=/sbin 
+__rvm_string_match:4> shift
+__rvm_string_match:5> ((  1  ))
+__rvm_string_match:7> _search='/Users/neumayr/.rvm/*' 
+__rvm_string_match:8> _search='/Users/neumayr/.rvm/*' 
+__rvm_string_match:9> _search='/Users/neumayr/.rvm/*' 
+__rvm_string_match:10> eval '      case "${_string}" in        (/Users/neumayr/.rvm/*) return 0 ;;      esac      '
+(eval):1> case /sbin (/Users/neumayr/.rvm/*)
+__rvm_string_match:15> shift
+__rvm_string_match:5> ((  0  ))
+__rvm_string_match:17> return 1
+__rvm_remove_from_array:10> _temp_array+=( /sbin ) 
+__rvm_remove_from_array:8> _iterator=/opt/X11/bin
+__rvm_remove_from_array:10> __rvm_string_match /opt/X11/bin '/Users/neumayr/.rvm/*'
+__rvm_string_match:2> typeset _string _search
+__rvm_string_match:3> _string=/opt/X11/bin 
+__rvm_string_match:4> shift
+__rvm_string_match:5> ((  1  ))
+__rvm_string_match:7> _search='/Users/neumayr/.rvm/*' 
+__rvm_string_match:8> _search='/Users/neumayr/.rvm/*' 
+__rvm_string_match:9> _search='/Users/neumayr/.rvm/*' 
+__rvm_string_match:10> eval '      case "${_string}" in        (/Users/neumayr/.rvm/*) return 0 ;;      esac      '
+(eval):1> case /opt/X11/bin (/Users/neumayr/.rvm/*)
+__rvm_string_match:15> shift
+__rvm_string_match:5> ((  0  ))
+__rvm_string_match:17> return 1
+__rvm_remove_from_array:10> _temp_array+=( /opt/X11/bin ) 
+__rvm_remove_from_array:12> eval '_path=( "${_temp_array[@]}" )'
+(eval):1> _path=( /usr/local/bin /usr/bin /bin /usr/sbin /sbin /opt/X11/bin ) 
+__rvm_remove_from_path:23> __rvm_join_array PATH : _path
+__rvm_join_array:2> typeset IFS
+__rvm_join_array:3> IFS=: 
+__rvm_join_array:4> eval 'PATH="${_path[*]}"'
+(eval):1> PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin 
+__rvm_remove_rvm_from_path:4> __rvm_remove_from_path /Users/neumayr/.rvm/bin
+__rvm_remove_from_path:2> export PATH
+__rvm_remove_from_path:3> typeset _value
+__rvm_remove_from_path:4> _value=/Users/neumayr/.rvm/bin 
+__rvm_remove_from_path:8> [[ /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin == *//* || /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin == */:* ]]
+__rvm_remove_from_path:17> __rvm_string_match :/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin: '*:/Users/neumayr/.rvm/bin:*'
+__rvm_string_match:2> typeset _string _search
+__rvm_string_match:3> _string=:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin: 
+__rvm_string_match:4> shift
+__rvm_string_match:5> ((  1  ))
+__rvm_string_match:7> _search='*:/Users/neumayr/.rvm/bin:*' 
+__rvm_string_match:8> _search='*:/Users/neumayr/.rvm/bin:*' 
+__rvm_string_match:9> _search='*:/Users/neumayr/.rvm/bin:*' 
+__rvm_string_match:10> eval '      case "${_string}" in        (*:/Users/neumayr/.rvm/bin:*) return 0 ;;      esac      '
+(eval):1> case :/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin: (*:/Users/neumayr/.rvm/bin:*)
+__rvm_string_match:15> shift
+__rvm_string_match:5> ((  0  ))
+__rvm_string_match:17> return 1
+__rvm_remove_rvm_from_path:6> local_rvm_path=+__rvm_remove_rvm_from_path:6> __rvm_which rvm
+__rvm_remove_rvm_from_path:6> local_rvm_path='' 
+__rvm_remove_rvm_from_path:9> hash -r
+__rvm_use_common:7> __save_PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin 
+__rvm_use_common:9> [[ -n '' ]]
+__rvm_use_common:20> PATH=/Users/neumayr/.rvm/gems/ruby-2.5.1@rails-demo/bin:/Users/neumayr/.rvm/gems/ruby-2.5.1@global/bin:/Users/neumayr/.rvm/rubies/ruby-2.5.1/bin:/Users/neumayr/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin 
+__rvm_use_common:21> export PATH
+__rvm_use_common:22> hash -r
+__rvm_use_common:25> [[ ruby-2.5.1 != system ]]
+__rvm_use_common:27> case 0 (rvmrc|versions_conf|ruby_version)
+__rvm_use_common:31> typeset environment_id
+__rvm_use_common:32> environment_id=+__rvm_use_common:32> __rvm_env_string
+__rvm_env_string:2> typeset _string
+__rvm_env_string:3> _string=/Users/neumayr/.rvm/gems/ruby-2.5.1@rails-demo 
+__rvm_env_string:4> _string=ruby-2.5.1@rails-demo 
+__rvm_env_string:5> printf %b 'ruby-2.5.1@rails-demo\n'
+__rvm_use_common:32> environment_id=ruby-2.5.1@rails-demo 
+__rvm_use_common:34> ((  0 == 1  ))
+__rvm_use_common:42> rvm_default_flag=0 
+__rvm_use_common:44> [[ -n '' ]]
+__rvm_use_common:59> rvm_hook=after_use 
+__rvm_use_common:60> source /Users/neumayr/.rvm/scripts/hook
+/Users/neumayr/.rvm/scripts/hook:4> typeset old_rvm_verbose_flag old_rvm_debug_flag
+/Users/neumayr/.rvm/scripts/hook:5> old_rvm_verbose_flag=0 
+/Users/neumayr/.rvm/scripts/hook:6> old_rvm_debug_flag=0 
+/Users/neumayr/.rvm/scripts/hook:9> typeset rvm_verbose_flag rvm_debug_flag hooks
+/Users/neumayr/.rvm/scripts/hook:11> true rvm_verbose_flag:0 rvm_hooks_path:/Users/neumayr/.rvm/hooks rvm_debug_flag:0 rvm_hook:after_use
+/Users/neumayr/.rvm/scripts/hook:16> [[ -n after_use ]]
+/Users/neumayr/.rvm/scripts/hook:18> hooks=( ) 
+/Users/neumayr/.rvm/scripts/hook:20> [[ -d /Users/neumayr/.rvm/hooks ]]
+/Users/neumayr/.rvm/scripts/hook:22> hooks+=( /Users/neumayr/.rvm/hooks ) 
+/Users/neumayr/.rvm/scripts/hook:25> [[ /Users/neumayr/code/private/heroku/rails-demo/.rvm/hooks != /Users/neumayr/.rvm/hooks && -d /Users/neumayr/code/private/heroku/rails-demo/.rvm/hooks ]]
+/Users/neumayr/.rvm/scripts/hook:31> [[ -n /Users/neumayr/.rvm/hooks ]]
+/Users/neumayr/.rvm/scripts/hook:33> __rvm_read_lines _hooks_list /dev/fd/20
+__rvm_read_lines:2> typeset IFS
+__rvm_read_lines:4> IFS=$'\n' 
+__rvm_read_lines:6> [[ /dev/fd/20 == - ]]
+__rvm_read_lines:8> eval '_hooks_list=( $( \command \cat "${2:--}" ) )'
+(eval):1> _hooks_list=+(eval):1> cat /dev/fd/20
+(eval):1> _hooks_list=( /Users/neumayr/.rvm/hooks/after_use_maglev /Users/neumayr/.rvm/hooks/after_use_textmate /Users/neumayr/.rvm/hooks/after_use_current /Users/neumayr/.rvm/hooks/after_use_jruby_opts /Users/neumayr/.rvm/hooks/after_use_jruby /Users/neumayr/.rvm/hooks/after_use_home_bin /Users/neumayr/.rvm/hooks/after_use_rbx_opts ) 
+/Users/neumayr/.rvm/scripts/hook:36> hook=/Users/neumayr/.rvm/hooks/after_use_maglev
+/Users/neumayr/.rvm/scripts/hook:39> [[ -x /Users/neumayr/.rvm/hooks/after_use_maglev ]]
+/Users/neumayr/.rvm/scripts/hook:42> [[ /Users/neumayr/.rvm/hooks/after_use_maglev == /Users/neumayr/.rvm/hooks/* ]]
+/Users/neumayr/.rvm/scripts/hook:45> rvm_debug 'Running /Users/neumayr/.rvm/hooks/after_use_maglev'
+rvm_debug:2> ((  0  ))
+rvm_debug:2> return 0
+/Users/neumayr/.rvm/scripts/hook:46> __rvm_conditionally_do_with_env . /Users/neumayr/.rvm/hooks/after_use_maglev
+__rvm_conditionally_do_with_env:2> ((  __rvm_env_loaded > 0  ))
+__rvm_conditionally_do_with_env:4> . /Users/neumayr/.rvm/hooks/after_use_maglev
+/Users/neumayr/.rvm/hooks/after_use_maglev:3> . /Users/neumayr/.rvm/scripts/functions/hooks/maglev
+/Users/neumayr/.rvm/hooks/after_use_maglev:6> [[ "${rvm_ruby_string}" -regex-match "maglev" ]]
+/Users/neumayr/.rvm/scripts/hook:36> hook=/Users/neumayr/.rvm/hooks/after_use_textmate
+/Users/neumayr/.rvm/scripts/hook:39> [[ -x /Users/neumayr/.rvm/hooks/after_use_textmate || after_use_textmate == after_use ]]
+/Users/neumayr/.rvm/scripts/hook:36> hook=/Users/neumayr/.rvm/hooks/after_use_current
+/Users/neumayr/.rvm/scripts/hook:39> [[ -x /Users/neumayr/.rvm/hooks/after_use_current || after_use_current == after_use ]]
+/Users/neumayr/.rvm/scripts/hook:36> hook=/Users/neumayr/.rvm/hooks/after_use_jruby_opts
+/Users/neumayr/.rvm/scripts/hook:39> [[ -x /Users/neumayr/.rvm/hooks/after_use_jruby_opts || after_use_jruby_opts == after_use ]]
+/Users/neumayr/.rvm/scripts/hook:36> hook=/Users/neumayr/.rvm/hooks/after_use_jruby
+/Users/neumayr/.rvm/scripts/hook:39> [[ -x /Users/neumayr/.rvm/hooks/after_use_jruby || after_use_jruby == after_use ]]
+/Users/neumayr/.rvm/scripts/hook:36> hook=/Users/neumayr/.rvm/hooks/after_use_home_bin
+/Users/neumayr/.rvm/scripts/hook:39> [[ -x /Users/neumayr/.rvm/hooks/after_use_home_bin || after_use_home_bin == after_use ]]
+/Users/neumayr/.rvm/scripts/hook:36> hook=/Users/neumayr/.rvm/hooks/after_use_rbx_opts
+/Users/neumayr/.rvm/scripts/hook:39> [[ -x /Users/neumayr/.rvm/hooks/after_use_rbx_opts || after_use_rbx_opts == after_use ]]
+/Users/neumayr/.rvm/scripts/hook:53> unset rvm_hook hooks _hooks_list hook
+__rvm_use_common:61> return 0
+__rvm_load_project_config:96> __rvm_file_load_env_and_trust /Users/neumayr/code/private/heroku/rails-demo/.ruby-env
+__rvm_file_load_env_and_trust:2> [[ -f /Users/neumayr/code/private/heroku/rails-demo/.ruby-env ]]
+__rvm_file_load_env_and_trust:2> return 0
+__rvm_load_project_config:97> __rvm_file_load_env_and_trust /Users/neumayr/code/private/heroku/rails-demo/.rbenv-vars
+__rvm_file_load_env_and_trust:2> [[ -f /Users/neumayr/code/private/heroku/rails-demo/.rbenv-vars ]]
+__rvm_file_load_env_and_trust:2> return 0
+__rvm_load_project_config:98> __gemfile=/Users/neumayr/code/private/heroku/rails-demo/Gemfile 
+__rvm_load_project_config:107> __rvm_file_set_env
+__rvm_file_set_env:2> __rvm_file_env_check_unload
+__rvm_file_env_check_unload:2> ((  0 > 0  ))
+__rvm_file_env_check_unload:5> rvm_saved_env=( ) 
+__rvm_file_set_env:3> __rvm_set_env rvm_saved_env
+__rvm_set_env:2> typeset __save_to __set __key __value
+__rvm_set_env:3> __save_to=rvm_saved_env 
+__rvm_set_env:4> shift
+__rvm_load_project_config:110> [[ 0 == 1 ]]
+__rvm_project_rvmrc:44> unset __rvm_project_rvmrc_lock
+__rvm_project_rvmrc:45> return 0
+/Users/neumayr/.rvm/scripts/rvm:205> rvm_hook=after_cd 
+/Users/neumayr/.rvm/scripts/rvm:206> source /Users/neumayr/.rvm/scripts/hook
+/Users/neumayr/.rvm/scripts/hook:4> typeset old_rvm_verbose_flag old_rvm_debug_flag
+/Users/neumayr/.rvm/scripts/hook:5> old_rvm_verbose_flag=0 
+/Users/neumayr/.rvm/scripts/hook:6> old_rvm_debug_flag=0 
+/Users/neumayr/.rvm/scripts/hook:9> typeset rvm_verbose_flag rvm_debug_flag hooks
+/Users/neumayr/.rvm/scripts/hook:11> true rvm_verbose_flag:0 rvm_hooks_path:/Users/neumayr/.rvm/hooks rvm_debug_flag:0 rvm_hook:after_cd
+/Users/neumayr/.rvm/scripts/hook:16> [[ -n after_cd ]]
+/Users/neumayr/.rvm/scripts/hook:18> hooks=( ) 
+/Users/neumayr/.rvm/scripts/hook:20> [[ -d /Users/neumayr/.rvm/hooks ]]
+/Users/neumayr/.rvm/scripts/hook:22> hooks+=( /Users/neumayr/.rvm/hooks ) 
+/Users/neumayr/.rvm/scripts/hook:25> [[ /Users/neumayr/code/private/heroku/rails-demo/.rvm/hooks != /Users/neumayr/.rvm/hooks && -d /Users/neumayr/code/private/heroku/rails-demo/.rvm/hooks ]]
+/Users/neumayr/.rvm/scripts/hook:31> [[ -n /Users/neumayr/.rvm/hooks ]]
+/Users/neumayr/.rvm/scripts/hook:33> __rvm_read_lines _hooks_list /dev/fd/15
+__rvm_read_lines:2> typeset IFS
+__rvm_read_lines:4> IFS=$'\n' 
+__rvm_read_lines:6> [[ /dev/fd/15 == - ]]
+__rvm_read_lines:8> eval '_hooks_list=( $( \command \cat "${2:--}" ) )'
+(eval):1> _hooks_list=+(eval):1> cat /dev/fd/15
+(eval):1> _hooks_list=( /Users/neumayr/.rvm/hooks/after_cd_bundler /Users/neumayr/.rvm/hooks/after_cd_install_vendored_gems ) 
+/Users/neumayr/.rvm/scripts/hook:36> hook=/Users/neumayr/.rvm/hooks/after_cd_bundler
+/Users/neumayr/.rvm/scripts/hook:39> [[ -x /Users/neumayr/.rvm/hooks/after_cd_bundler || after_cd_bundler == after_cd ]]
+/Users/neumayr/.rvm/scripts/hook:36> hook=/Users/neumayr/.rvm/hooks/after_cd_install_vendored_gems
+/Users/neumayr/.rvm/scripts/hook:39> [[ -x /Users/neumayr/.rvm/hooks/after_cd_install_vendored_gems || after_cd_install_vendored_gems == after_cd ]]
+/Users/neumayr/.rvm/scripts/hook:53> unset rvm_hook hooks _hooks_list hook
+/Users/neumayr/.rvm/scripts/rvm:225> unset __path_to_ruby
+/Users/neumayr/.rvm/scripts/rvm:228> [[ :/Users/neumayr/.rvm/gems/ruby-2.5.1@rails-demo/bin:/Users/neumayr/.rvm/gems/ruby-2.5.1@global/bin:/Users/neumayr/.rvm/rubies/ruby-2.5.1/bin:/Users/neumayr/.rvm/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin: == *:/Users/neumayr/.rvm/bin:* ]]
+/Users/neumayr/.rvm/scripts/rvm:231> ((  0 == 1  ))
+/Users/neumayr/.rvm/scripts/rvm:237> rvm_loaded_flag=1 
+/Users/neumayr/.rvm/scripts/rvm:238> __rvm_teardown
+__rvm_teardown:2> command -v __rvm_cleanup_tmp
+__rvm_teardown:3> __rvm_cleanup_tmp
+__rvm_cleanup_tmp:3> [[ -d /Users/neumayr/.rvm/tmp/ ]]
+__rvm_cleanup_tmp:5> case /Users/neumayr/.rvm/tmp (*tmp)
+__rvm_cleanup_tmp:7> __rvm_rm_rf '/Users/neumayr/.rvm/tmp/14915*'
+__rvm_rm_rf:2> __rvm_rm_rf_verbose '/Users/neumayr/.rvm/tmp/14915*'
+__rvm_rm_rf_verbose:2> typeset target
+__rvm_rm_rf_verbose:3> target='/Users/neumayr/.rvm/tmp/14915*' 
+__rvm_rm_rf_verbose:7> [[ -n 5.3 ]]
+__rvm_rm_rf_verbose:9> setopt extendedglob
+__rvm_rm_rf_verbose:17> case /Users/neumayr/.rvm/tmp/14915* (*(/|.)@(|/Applications|/Developer|/Guides|/Information|/Library|/Network|/System|/User|/Users|/Volumes|/backups|/bdsm|/bin|/boot|/cores|/data|/dev|/etc|/home|/lib|/lib64|/mach_kernel|/media|/misc|/mnt|/net|/opt|/private|/proc|/root|/sbin|/selinux|/srv|/sys|/tmp|/usr|/var))
+__rvm_rm_rf_verbose:17> case /Users/neumayr/.rvm/tmp/14915* (*)
+__rvm_rm_rf_verbose:24> [[ -z '/Users/neumayr/.rvm/tmp/14915*' ]]
+__rvm_rm_rf_verbose:29> [[ -d '/Users/neumayr/.rvm/tmp/14915*' ]]
+__rvm_rm_rf_verbose:38> [[ -f '/Users/neumayr/.rvm/tmp/14915*' || -L '/Users/neumayr/.rvm/tmp/14915*' ]]
+__rvm_rm_rf_verbose:47> rvm_debug '__rvm_rm_rf already gone: /Users/neumayr/.rvm/tmp/14915*'
+rvm_debug:2> ((  0  ))
+rvm_debug:2> return 0
+__rvm_rm_rf_verbose:51> true
+__rvm_cleanup_tmp:11> true
+__rvm_teardown:6> export __rvm_env_loaded
+__rvm_teardown:8> : __rvm_env_loaded:1:
+__rvm_teardown:10> : __rvm_env_loaded:1:
+__rvm_teardown:12> : __rvm_env_loaded:0:
+__rvm_teardown:15> [[ -z /Users/neumayr/.rvm/tmp ]]
+__rvm_teardown:15> ((  __rvm_env_loaded > 0  ))
+__rvm_teardown:20> [[ -n '' ]]
+__rvm_teardown:34> [[ -n 5.3 ]]
+__rvm_teardown:37> ((  rvm_zsh_clobber == 0  ))
+__rvm_teardown:39> ((  rvm_zsh_nomatch == 0  ))
+__rvm_teardown:39> setopt nomatch
+__rvm_teardown:41> unset rvm_zsh_clobber rvm_zsh_nomatch
+__rvm_teardown:45> [[ -n 022 ]]
+__rvm_teardown:47> umask 022
+__rvm_teardown:48> unset rvm_stored_umask
+__rvm_teardown:51> command -v __rvm_cleanup_download
+__rvm_teardown:55> [[ '' == 1 ]]
+__rvm_teardown:59> __variables_definition unset
+__variables_definition:2> typeset -a __variables_list __array_list
+__variables_definition:3> typeset __method
+__variables_definition:5> __method=unset 
+__variables_definition:9> __variables_list=( rvm_head_flag rvm_ruby_selected_flag rvm_user_install_flag rvm_path_flag rvm_cron_flag rvm_static_flag rvm_default_flag rvm_loaded_flag rvm_llvm_flag rvm_skip_autoreconf_flag rvm_dynamic_extensions_flag rvm_18_flag rvm_19_flag rvm_20_flag rvm_21_flag rvm_force_autoconf_flag rvm_dump_environment_flag rvm_curl_flags rvm_rubygems_version rvm_verbose_flag rvm_debug_flag rvm_trace_flag __array_start rvm_skip_pristine_flag rvm_create_flag rvm_remove_flag rvm_movable_flag rvm_archive_flag rvm_gemdir_flag rvm_reload_flag rvm_auto_reload_flag rvm_disable_binary_flag rvm_ignore_gemsets_flag rvm_skip_gemsets_flag rvm_install_on_use_flag rvm_remote_flag rvm_verify_downloads_flag rvm_skip_openssl_flag rvm_gems_cache_path rvm_gems_path rvm_man_path rvm_ruby_gem_path rvm_ruby_log_path rvm_gems_cache_path rvm_archives_path rvm_docs_path rvm_environments_path rvm_examples_path rvm_gems_path rvm_gemsets_path rvm_help_path rvm_hooks_path rvm_lib_path rvm_log_path rvm_patches_path rvm_repos_path rvm_rubies_path rvm_scripts_path rvm_src_path rvm_tmp_path rvm_user_path rvm_usr_path rvm_wrappers_path rvm_stored_errexit rvm_ruby_strings rvm_ruby_binary rvm_ruby_gem_home rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc rvm_ruby_major_version rvm_ruby_minor_version rvm_ruby_package_name rvm_ruby_patch_level rvm_ruby_release_version rvm_ruby_repo_url rvm_ruby_repo_branch rvm_ruby_revision rvm_ruby_tag rvm_ruby_sha rvm_ruby_version rvm_ruby_package_file rvm_ruby_name rvm_ruby_name rvm_ruby_args rvm_ruby_user_tag rvm_ruby_patch detected_rvm_ruby_name __rvm_env_loaded next_token rvm_error_message rvm_gemset_name rvm_parse_break rvm_token rvm_action rvm_export_args rvm_gemset_separator rvm_expanding_aliases rvm_tar_command rvm_tar_options rvm_patch_original_pwd rvm_project_rvmrc rvm_archive_extension rvm_autoinstall_bundler_flag rvm_codesign_identity rvm_expected_gemset_name rvm_without_gems rvm_with_gems rvm_with_default_gems rvm_ignore_dotfiles_flag rvm_fuzzy_flag rvm_autolibs_flag rvm_autolibs_flag_number rvm_autolibs_flag_runner rvm_quiet_curl_flag rvm_max_time_flag rvm_error_clr rvm_warn_clr rvm_debug_clr rvm_notify_clr rvm_reset_clr rvm_error_color rvm_warn_color rvm_debug_color rvm_notify_color rvm_reset_color rvm_log_timestamp rvm_log_filesystem rvm_log_namelen rvm_show_log_lines_on_error ) 
+__variables_definition:41> __array_list=( rvm_patch_names rvm_ree_options rvm_autoconf_flags rvm_architectures ) 
+__variables_definition:45> case unset (export)
+__variables_definition:45> case unset (unset)
+__variables_definition:47> unset rvm_patch_names rvm_ree_options rvm_autoconf_flags rvm_architectures
+__variables_definition:54> unset rvm_head_flag rvm_ruby_selected_flag rvm_user_install_flag rvm_path_flag rvm_cron_flag rvm_static_flag rvm_default_flag rvm_loaded_flag rvm_llvm_flag rvm_skip_autoreconf_flag rvm_dynamic_extensions_flag rvm_18_flag rvm_19_flag rvm_20_flag rvm_21_flag rvm_force_autoconf_flag rvm_dump_environment_flag rvm_curl_flags rvm_rubygems_version rvm_verbose_flag rvm_debug_flag rvm_trace_flag __array_start rvm_skip_pristine_flag rvm_create_flag rvm_remove_flag rvm_movable_flag rvm_archive_flag rvm_gemdir_flag rvm_reload_flag rvm_auto_reload_flag rvm_disable_binary_flag rvm_ignore_gemsets_flag rvm_skip_gemsets_flag rvm_install_on_use_flag rvm_remote_flag rvm_verify_downloads_flag rvm_skip_openssl_flag rvm_gems_cache_path rvm_gems_path rvm_man_path rvm_ruby_gem_path rvm_ruby_log_path rvm_gems_cache_path rvm_archives_path rvm_docs_path rvm_environments_path rvm_examples_path rvm_gems_path rvm_gemsets_path rvm_help_path rvm_hooks_path rvm_lib_path rvm_log_path rvm_patches_path rvm_repos_path rvm_rubies_path rvm_scripts_path rvm_src_path rvm_tmp_path rvm_user_path rvm_usr_path rvm_wrappers_path rvm_stored_errexit rvm_ruby_strings rvm_ruby_binary rvm_ruby_gem_home rvm_ruby_home rvm_ruby_interpreter rvm_ruby_irbrc rvm_ruby_major_version rvm_ruby_minor_version rvm_ruby_package_name rvm_ruby_patch_level rvm_ruby_release_version rvm_ruby_repo_url rvm_ruby_repo_branch rvm_ruby_revision rvm_ruby_tag rvm_ruby_sha rvm_ruby_version rvm_ruby_package_file rvm_ruby_name rvm_ruby_name rvm_ruby_args rvm_ruby_user_tag rvm_ruby_patch detected_rvm_ruby_name __rvm_env_loaded next_token rvm_error_message rvm_gemset_name rvm_parse_break rvm_token rvm_action rvm_export_args rvm_gemset_separator rvm_expanding_aliases rvm_tar_command rvm_tar_options rvm_patch_original_pwd rvm_project_rvmrc rvm_archive_extension rvm_autoinstall_bundler_flag rvm_codesign_identity rvm_expected_gemset_name rvm_without_gems rvm_with_gems rvm_with_default_gems rvm_ignore_dotfiles_flag rvm_fuzzy_flag rvm_autolibs_flag rvm_autolibs_flag_number rvm_autolibs_flag_runner rvm_quiet_curl_flag rvm_max_time_flag rvm_error_clr rvm_warn_clr rvm_debug_clr rvm_notify_clr rvm_reset_clr rvm_error_color rvm_warn_color rvm_debug_color rvm_notify_color rvm_reset_color rvm_log_timestamp rvm_log_filesystem rvm_log_namelen rvm_show_log_lines_on_error
+__variables_definition:57> [[ -n '' ]]
+__rvm_teardown:61> return 0
+/Users/neumayr/.rvm/scripts/rvm:244> [[ 0 -eq 1 ]]
+/Users/neumayr/.rvm/scripts/rvm:266> unset rvm_prefix_needs_trailing_slash rvm_gems_cache_path rvm_gems_path rvm_project_rvmrc_default rvm_gemset_separator rvm_reload_flag
+zsh:1> /usr/local/Cellar/passenger/5.3.0/libexec/buildout/support-binaries/PassengerAgent spawn-env-setupper /tmp/passenger.spawn.6tRogB9RYa --after
PassengerAgent(15029,0x7fff966e9380) malloc: *** mach_vm_map(size=8388608) failed (error code=268435459)
PassengerAgent(15029,0x7fff966e9380) malloc: *** error: can't allocate region securely
PassengerAgent(15029,0x7fff966e9380) malloc: *** set a breakpoint in malloc_error_break to debug
Error: The application encountered the following error: cannot load such file -- bundler/dep_proxy (LoadError)
    /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:in `require'
    /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:135:in `rescue in require'
    /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:39:in `require'
    /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:888:in `block (2 levels) in expand_dependencies'
    /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:887:in `each'
    /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:887:in `block in expand_dependencies'
    /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:874:in `each'
    /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:874:in `expand_dependencies'
    /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:806:in `converge_locked_specs'
    /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:247:in `resolve'
    /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:170:in `specs'
    /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:237:in `specs_for'
    /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/definition.rb:226:in `requested_specs'
    /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/runtime.rb:108:in `block in definition_method'
    /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/runtime.rb:20:in `setup'
    /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler.rb:107:in `setup'
    /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/gems/2.5.0/gems/bundler-1.16.1/lib/bundler/setup.rb:20:in `<top (required)>'
    /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
    /Users/neumayr/.rvm/rubies/ruby-2.5.1/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
    /usr/local/Cellar/passenger/5.3.0/libexec/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:363:in `activate_gem'
    /usr/local/Cellar/passenger/5.3.0/libexec/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:221:in `block in run_load_path_setup_code'
    /usr/local/Cellar/passenger/5.3.0/libexec/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:527:in `running_bundler'
    /usr/local/Cellar/passenger/5.3.0/libexec/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:220:in `run_load_path_setup_code'
    /usr/local/Cellar/passenger/5.3.0/libexec/src/helper-scripts/rack-preloader.rb:91:in `preload_app'
    /usr/local/Cellar/passenger/5.3.0/libexec/src/helper-scripts/rack-preloader.rb:189:in `block in <module:App>'
    /usr/local/Cellar/passenger/5.3.0/libexec/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:380:in `run_block_and_record_step_progress'
    /usr/local/Cellar/passenger/5.3.0/libexec/src/helper-scripts/rack-preloader.rb:188:in `<module:App>'
    /usr/local/Cellar/passenger/5.3.0/libexec/src/helper-scripts/rack-preloader.rb:30:in `<module:PhusionPassenger>'
    /usr/local/Cellar/passenger/5.3.0/libexec/src/helper-scripts/rack-preloader.rb:29:in `<main>'

Workaround

My current workaround is to install bunder to each gemset manually.

$ rvm use 2.5.1@rails-demo
$ gem install bundler

Environment info

  • Mac OS X 10.13.4
$ rvm --version
rvm 1.29.3 (latest) by Michal Papis, Piotr Kuczynski, Wayne E. Seguin [https://rvm.io]
$ passenger --version
Phusion Passenger 5.3.0
$ nginx -v
nginx version: nginx/1.13.12
$ rvm info
ruby-2.5.1@rails-demo:

  system:
    uname:        "Darwin my-mac 17.5.0 Darwin Kernel Version 17.5.0: Fri Apr 13 19:32:32 PDT 2018; root:xnu-4570.51.2~1/RELEASE_X86_64 x86_64"
    name:         "OSX"
    version:      "10.13"
    architecture: "x86_64"
    bash:         "/bin/bash => GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin17)"
    zsh:          "/bin/zsh => zsh 5.3 (x86_64-apple-darwin17.0)"
    remote_path:  "osx/10.13/x86_64"

  rvm:
    version:      "1.29.3 (latest)"
    updated:      "6 minutes ago"
    path:         "/Users/neumayr/.rvm"
    autolibs:     "[enable] Allow RVM to use package manager if found, install missing dependencies, install package manager (only OS X)."

  ruby:
    interpreter:  "ruby"
    version:      "2.5.1p57"
    date:         "2018-03-29"
    platform:     "x86_64-darwin17"
    patchlevel:   "2018-03-29 revision 63029"
    full_version: "ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17]"

  homes:
    gem:          "/Users/neumayr/.rvm/gems/ruby-2.5.1@rails-demo"
    ruby:         "/Users/neumayr/.rvm/rubies/ruby-2.5.1"

  binaries:
    ruby:         "/Users/neumayr/.rvm/rubies/ruby-2.5.1/bin/ruby"
    irb:          "/Users/neumayr/.rvm/rubies/ruby-2.5.1/bin/irb"
    gem:          "/Users/neumayr/.rvm/rubies/ruby-2.5.1/bin/gem"
    rake:         "/Users/neumayr/.rvm/gems/ruby-2.5.1@rails-demo/bin/rake"

  environment:
    PATH:         "/Users/neumayr/.rvm/gems/ruby-2.5.1@rails-demo/bin:/Users/neumayr/.rvm/gems/ruby-2.5.1@global/bin:/Users/neumayr/.rvm/rubies/ruby-2.5.1/bin:/Users/neumayr/.rvm/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/opt/fzf/bin"
    GEM_HOME:     "/Users/neumayr/.rvm/gems/ruby-2.5.1@rails-demo"
    GEM_PATH:     "/Users/neumayr/.rvm/gems/ruby-2.5.1@rails-demo:/Users/neumayr/.rvm/gems/ruby-2.5.1@global"
    MY_RUBY_HOME: "/Users/neumayr/.rvm/rubies/ruby-2.5.1"
    IRBRC:        "/Users/neumayr/.rvm/rubies/ruby-2.5.1/.irbrc"
    RUBYOPT:      ""
    gemset:       "rails-demo"
@geocom
Copy link

geocom commented May 21, 2018

Same issue in Apache.
Thanks for the workaround, this one has been doing my head in.

@eit
Copy link

eit commented Jun 12, 2018

same issue in docker image passenger-ruby25.

@eit
Copy link

eit commented Jun 26, 2018

I add these to my Dockerfile and it works

RUN gem install bundler
RUN bundle install
RUN rm -f /etc/service/nginx/down

RUN rm config/credentials.yml.enc
RUN EDITOR="mate --wait" bundle exec rails credentials:edit
RUN bundle exec rails assets:precompile

RUN chown -R app:app tmp/cache
RUN chown -R app:app log
RUN chown -R app:app public

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants