{"action":"created","issue":{"url":"https://api.github.com/repos/ajgon/opsworks_ruby/issues/143","repository_url":"https://api.github.com/repos/ajgon/opsworks_ruby","labels_url":"https://api.github.com/repos/ajgon/opsworks_ruby/issues/143/labels{/name}","comments_url":"https://api.github.com/repos/ajgon/opsworks_ruby/issues/143/comments","events_url":"https://api.github.com/repos/ajgon/opsworks_ruby/issues/143/events","html_url":"https://github.com/ajgon/opsworks_ruby/issues/143","id":291200610,"number":143,"title":"Removing path for bundle and gem, forced everywhere, still gives me errors","user":{"login":"HelioCampos","id":1965427,"avatar_url":"https://avatars3.githubusercontent.com/u/1965427?v=4","gravatar_id":"","url":"https://api.github.com/users/HelioCampos","html_url":"https://github.com/HelioCampos","followers_url":"https://api.github.com/users/HelioCampos/followers","following_url":"https://api.github.com/users/HelioCampos/following{/other_user}","gists_url":"https://api.github.com/users/HelioCampos/gists{/gist_id}","starred_url":"https://api.github.com/users/HelioCampos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HelioCampos/subscriptions","organizations_url":"https://api.github.com/users/HelioCampos/orgs","repos_url":"https://api.github.com/users/HelioCampos/repos","events_url":"https://api.github.com/users/HelioCampos/events{/privacy}","received_events_url":"https://api.github.com/users/HelioCampos/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-01-24T13:02:50Z","updated_at":"2018-02-25T13:49:44Z","closed_at":"2018-02-25T13:49:44Z","author_association":"NONE","body":"Hi Guys,\r\n\r\nI see the path `/usr/local/bin/` forced on several places. Why is that?\r\n\r\nI'm using [ruby_rbenv](https://github.com/sous-chefs/ruby_rbenv) to install a ruby+gem+bundle locally for a specific user but these forced paths are forcing me to redact the cookbook to remove them and, in the process, creating new error like in this rails migration. Are they really necessary? Can't a file named .ruby-version be used on each project to choose the version of the ruby/bundle/gem?\r\nI tried to change the migration command to this:\r\n```\r\ncase $(sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:version 2>&1\") in\r\n   *\"ActiveRecord::NoDatabaseError\"*) sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:setup\";; \r\n   *) sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:migrate\";;\r\nesac;\r\n```\r\n1. I had to use sudo and ask it to reset the env variables (with -i) to the $PATH of the user work;\r\n2. Reseting the ENV vars made me change directory to the users' home so I had to use the cd $PWD to use the actual directory;\r\n\r\nBut I'm still getting the following error:\r\n```\r\n[2018-01-23T18:32:03+00:00] INFO: deploy[<REDACTED>] queueing checkdeploy hook /srv/www/<REDACTED>/releases/20180123183147/deploy/before_migrate.rb\r\n[2018-01-23T18:32:03+00:00] INFO: Processing execute[bundle_install] action run (/var/chef/runs/1a303e81-6771-4a6b-b729-2709c905217f/local-mode-cache/cache/cookbooks/opsworks_ruby/libraries/helpers.rb line 102)\r\n[2018-01-23T18:33:56+00:00] INFO: execute[bundle_install] ran successfully\r\n[2018-01-23T18:33:56+00:00] INFO: deploy[<REDACTED>] made pre-migration symlinks\r\n[2018-01-23T18:33:57+00:00] INFO: deploy[<REDACTED>] set user to deploy\r\n[2018-01-23T18:33:57+00:00] INFO: deploy[<REDACTED>] migrating deploy with environment <REDACTED>\r\n[2018-01-23T18:34:07+00:00] WARN: Error on deploying /srv/www/<REDACTED>/releases/20180123183147: Expected process to exit with [0], but received '1'\r\n---- Begin output of case $(sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:version 2>&1\") in *\"ActiveRecord::NoDatabaseError\"*) sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:setup\";; *) sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:migrate\";; esac; ----\r\nSTDOUT: \r\nSTDERR: rake aborted!\r\nNameError: uninitialized constant Bullet\r\n/srv/www/<REDACTED>/releases/20180123183147/config/environments/development.rb:45:in `block in <top (required)>'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/railtie.rb:210:in `instance_eval'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/railtie.rb:210:in `configure'\r\n/srv/www/<REDACTED>/releases/20180123183147/config/environments/development.rb:1:in `<top (required)>'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/engine.rb:598:in `block (2 levels) in <class:Engine>'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/engine.rb:597:in `each'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/engine.rb:597:in `block in <class:Engine>'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/initializable.rb:30:in `instance_exec'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/initializable.rb:30:in `run'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/initializable.rb:55:in `block in run_initializers'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/initializable.rb:44:in `each'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/initializable.rb:44:in `tsort_each_child'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/initializable.rb:54:in `run_initializers'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/application.rb:352:in `initialize!'\r\n/srv/www/<REDACTED>/releases/20180123183147/config/environment.rb:5:in `<top (required)>'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/application.rb:328:in `require_environment!'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/application.rb:457:in `block in run_tasks_blocks'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/rake-12.3.0/exe/rake:27:in `<top (required)>'\r\n/home/deploy/.rbenv/versions/2.2.5/bin/bundle:23:in `load'\r\n/home/deploy/.rbenv/versions/2.2.5/bin/bundle:23:in `<main>'\r\nTasks: TOP => db:migrate => environment\r\n(See full trace by running task with --trace)\r\n---- End output of case $(sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:version 2>&1\") in *\"ActiveRecord::NoDatabaseError\"*) sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:setup\";; *) sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:migrate\";; esac; ----\r\nRan case $(sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:version 2>&1\") in *\"ActiveRecord::NoDatabaseError\"*) sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:setup\";; *) sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:migrate\";; esac; returned 1\r\n[2018-01-23T18:34:07+00:00] INFO: Removing failed deploy /srv/www/<REDACTED>/releases/20180123183147\r\n \r\n================================================================================\r\nError executing action `deploy` on resource 'deploy[<REDACTED>]'\r\n================================================================================\r\n \r\nMixlib::ShellOut::ShellCommandFailed\r\n------------------------------------\r\nExpected process to exit with [0], but received '1'\r\n---- Begin output of case $(sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:version 2>&1\") in *\"ActiveRecord::NoDatabaseError\"*) sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:setup\";; *) sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:migrate\";; esac; ----\r\nSTDOUT: \r\nSTDERR: rake aborted!\r\nNameError: uninitialized constant Bullet\r\n/srv/www/<REDACTED>/releases/20180123183147/config/environments/development.rb:45:in `block in <top (required)>'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/railtie.rb:210:in `instance_eval'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/railtie.rb:210:in `configure'\r\n/srv/www/<REDACTED>/releases/20180123183147/config/environments/development.rb:1:in `<top (required)>'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/engine.rb:598:in `block (2 levels) in <class:Engine>'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/engine.rb:597:in `each'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/engine.rb:597:in `block in <class:Engine>'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/initializable.rb:30:in `instance_exec'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/initializable.rb:30:in `run'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/initializable.rb:55:in `block in run_initializers'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/initializable.rb:44:in `each'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/initializable.rb:44:in `tsort_each_child'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/initializable.rb:54:in `run_initializers'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/application.rb:352:in `initialize!'\r\n/srv/www/<REDACTED>/releases/20180123183147/config/environment.rb:5:in `<top (required)>'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/application.rb:328:in `require_environment!'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/application.rb:457:in `block in run_tasks_blocks'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/rake-12.3.0/exe/rake:27:in `<top (required)>'\r\n/home/deploy/.rbenv/versions/2.2.5/bin/bundle:23:in `load'\r\n/home/deploy/.rbenv/versions/2.2.5/bin/bundle:23:in `<main>'\r\nTasks: TOP => db:migrate => environment\r\n(See full trace by running task with --trace)\r\n---- End output of case $(sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:version 2>&1\") in *\"ActiveRecord::NoDatabaseError\"*) sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:setup\";; *) sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:migrate\";; esac; ----\r\nRan case $(sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:version 2>&1\") in *\"ActiveRecord::NoDatabaseError\"*) sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:setup\";; *) sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:migrate\";; esac; returned 1\r\n \r\nResource Declaration:\r\n---------------------\r\n# In /var/chef/runs/1a303e81-6771-4a6b-b729-2709c905217f/local-mode-cache/cache/cookbooks/opsworks_ruby/recipes/deploy.rb\r\n \r\n23:   deploy application['shortname'] do\r\n24:     deploy_to deploy_dir(application)\r\n25:     user node['deployer']['user'] || 'root'\r\n26:     group www_group\r\n27:     environment application['environment'].merge(framework.out[:deploy_environment] || {})\r\n28: \r\n29:     if globals(:rollback_on_error, application['shortname']).nil?\r\n30:       rollback_on_error node['defaults']['global']['rollback_on_error']\r\n31:     else\r\n32:       rollback_on_error globals(:rollback_on_error, application['shortname'])\r\n33:     end\r\n34: \r\n \r\nCompiled Resource:\r\n------------------\r\n# Declared in /var/chef/runs/1a303e81-6771-4a6b-b729-2709c905217f/local-mode-cache/cache/cookbooks/opsworks_ruby/recipes/deploy.rb:23:in `block in from_file'\r\n \r\ndeploy(\"<REDACTED>\") do\r\naction [:deploy]\r\nupdated true\r\nupdated_by_last_action true\r\nretries 0\r\nretry_delay 2\r\ndefault_guard_interpreter :default\r\ndeploy_to \"/srv/www/<REDACTED>\"\r\nenvironment {<REDACTED>}\r\nrepository_cache \"cached-copy\"\r\npurge_before_symlink [\"log\", \"tmp/cache\", \"tmp/pids\", \"public/system\", \"public/assets\"]\r\ncreate_dirs_before_symlink [\"tmp\", \"public\", \"config\", \"../../shared/cache\", \"../../shared/assets\"]\r\nsymlink_before_migrate {\"config/database.yml\"=>\"config/database.yml\"}\r\nsymlinks {\"system\"=>\"public/system\", \"assets\"=>\"public/assets\", \"cache\"=>\"tmp/cache\", \"pids\"=>\"tmp/pids\", \"log\"=>\"log\"}\r\nrevision \"staging-deploy\"\r\nmigrate true\r\nrollback_on_error true\r\nremote \"origin\"\r\nenable_submodules true\r\nscm_provider Chef::Provider::Git\r\nkeep_releases 5\r\nenable_checkout true\r\ncheckout_branch \"deploy\"\r\ndeclared_type :deploy\r\ncookbook_name \"opsworks_ruby\"\r\nrecipe_name \"deploy\"\r\nuser \"deploy\"\r\ngit_ssh_wrapper \"/tmp/ssh-git-wrapper.sh\"\r\nrepo \"git@github.com:<REDACTED>-sa/<REDACTED>.git\"\r\nmigration_command \"case $(sudo -i -u deploy bash -c \\\"cd $PWD; bundle exec rake db:version 2>&1\\\") in *\\\"ActiveRecord::NoDatabaseError\\\"*) sudo -i -u deploy bash -c \\\"cd $PWD; bundle exec rake db:setup\\\";; *) sudo -i -u deploy bash -c \\\"cd $PWD; bundle exec rake db:migrate\\\";; esac;\"\r\nbefore_migrate #<Proc:0x000000024cbf38@/var/chef/runs/1a303e81-6771-4a6b-b729-2709c905217f/local-mode-cache/cache/cookbooks/opsworks_ruby/recipes/deploy.rb:64>\r\nbefore_symlink #<Proc:0x000000024cb060@/var/chef/runs/1a303e81-6771-4a6b-b729-2709c905217f/local-mode-cache/cache/cookbooks/opsworks_ruby/recipes/deploy.rb:73>\r\nbefore_restart #<Proc:0x000000024ca9d0@/var/chef/runs/1a303e81-6771-4a6b-b729-2709c905217f/local-mode-cache/cache/cookbooks/opsworks_ruby/recipes/deploy.rb:83>\r\nafter_restart #<Proc:0x000000024ca390@/var/chef/runs/1a303e81-6771-4a6b-b729-2709c905217f/local-mode-cache/cache/cookbooks/opsworks_ruby/recipes/deploy.rb:91>\r\ntimeout 600\r\nshared_path \"/srv/www/<REDACTED>/shared\"\r\ndestination \"/srv/www/<REDACTED>/shared/cached-copy\"\r\ncurrent_path \"/srv/www/<REDACTED>/current\"\r\nend\r\n \r\nPlatform:\r\n---------\r\nx86_64-linux\r\n \r\n[2018-01-23T18:34:07+00:00] INFO: Running queued delayed notifications before re-raising exception\r\n[2018-01-23T18:34:07+00:00] INFO: template[nginx.conf] sending reload action to service[nginx] (delayed)\r\n[2018-01-23T18:34:07+00:00] INFO: Processing service[nginx] action reload (opsworks_ruby::deploy line 39)\r\n[2018-01-23T18:34:08+00:00] INFO: service[nginx] reloaded\r\n[2018-01-23T18:34:08+00:00] INFO: template[/etc/nginx/sites-available/<REDACTED>.conf] sending restart action to service[nginx] (delayed)\r\n[2018-01-23T18:34:08+00:00] INFO: Processing service[nginx] action restart (opsworks_ruby::deploy line 39)\r\n[2018-01-23T18:34:08+00:00] INFO: service[nginx] restarted\r\n[2018-01-23T18:34:08+00:00] ERROR: Running exception handlers\r\n[2018-01-23T18:34:08+00:00] ERROR: Exception handlers complete\r\n[2018-01-23T18:34:08+00:00] FATAL: Stacktrace dumped to /var/chef/runs/1a303e81-6771-4a6b-b729-2709c905217f/local-mode-cache/cache/chef-stacktrace.out\r\n[2018-01-23T18:34:08+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report\r\n[2018-01-23T18:34:08+00:00] ERROR: deploy[<REDACTED>] (opsworks_ruby::deploy line 23) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'\r\n---- Begin output of case $(sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:version 2>&1\") in *\"ActiveRecord::NoDatabaseError\"*) sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:setup\";; *) sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:migrate\";; esac; ----\r\nSTDOUT: \r\nSTDERR: rake aborted!\r\nNameError: uninitialized constant Bullet\r\n/srv/www/<REDACTED>/releases/20180123183147/config/environments/development.rb:45:in `block in <top (required)>'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/railtie.rb:210:in `instance_eval'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/railtie.rb:210:in `configure'\r\n/srv/www/<REDACTED>/releases/20180123183147/config/environments/development.rb:1:in `<top (required)>'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/engine.rb:598:in `block (2 levels) in <class:Engine>'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/engine.rb:597:in `each'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/engine.rb:597:in `block in <class:Engine>'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/initializable.rb:30:in `instance_exec'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/initializable.rb:30:in `run'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/initializable.rb:55:in `block in run_initializers'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/initializable.rb:44:in `each'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/initializable.rb:44:in `tsort_each_child'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/initializable.rb:54:in `run_initializers'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/application.rb:352:in `initialize!'\r\n/srv/www/<REDACTED>/releases/20180123183147/config/environment.rb:5:in `<top (required)>'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/application.rb:328:in `require_environment!'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/railties-4.2.10/lib/rails/application.rb:457:in `block in run_tasks_blocks'\r\n/srv/www/<REDACTED>/shared/vendor/bundle/ruby/2.2.0/gems/rake-12.3.0/exe/rake:27:in `<top (required)>'\r\n/home/deploy/.rbenv/versions/2.2.5/bin/bundle:23:in `load'\r\n/home/deploy/.rbenv/versions/2.2.5/bin/bundle:23:in `<main>'\r\nTasks: TOP => db:migrate => environment\r\n(See full trace by running task with --trace)\r\n---- End output of case $(sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:version 2>&1\") in *\"ActiveRecord::NoDatabaseError\"*) sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:setup\";; *) sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:migrate\";; esac; ----\r\nRan case $(sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:version 2>&1\") in *\"ActiveRecord::NoDatabaseError\"*) sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:setup\";; *) sudo -i -u deploy bash -c \"cd $PWD; bundle exec rake db:migrate\";; esac; returned 1\r\n[2018-01-23T18:34:08+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)\r\n```\r\nCan anyone help me to discover what am I doing wrong?\r\n\r\nbest regards,"},"comment":{"url":"https://api.github.com/repos/ajgon/opsworks_ruby/issues/comments/368310882","html_url":"https://github.com/ajgon/opsworks_ruby/issues/143#issuecomment-368310882","issue_url":"https://api.github.com/repos/ajgon/opsworks_ruby/issues/143","id":368310882,"user":{"login":"ajgon","id":150545,"avatar_url":"https://avatars3.githubusercontent.com/u/150545?v=4","gravatar_id":"","url":"https://api.github.com/users/ajgon","html_url":"https://github.com/ajgon","followers_url":"https://api.github.com/users/ajgon/followers","following_url":"https://api.github.com/users/ajgon/following{/other_user}","gists_url":"https://api.github.com/users/ajgon/gists{/gist_id}","starred_url":"https://api.github.com/users/ajgon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ajgon/subscriptions","organizations_url":"https://api.github.com/users/ajgon/orgs","repos_url":"https://api.github.com/users/ajgon/repos","events_url":"https://api.github.com/users/ajgon/events{/privacy}","received_events_url":"https://api.github.com/users/ajgon/received_events","type":"User","site_admin":false},"created_at":"2018-02-25T13:49:44Z","updated_at":"2018-02-25T13:49:44Z","author_association":"OWNER","body":"The idea here is to avoid using ruby versioning tools like `rvm` or `rbenv` at all. Since (by assumption), the AWS environment is not development, there should be always one ruby version installed (the one which is expected in final product). That's why [you have a config option to determine the ruby version](https://opsworks-ruby.readthedocs.io/en/latest/attributes.html#stack-attributes), but that's it."}}
{"actor":{"display_login":"ajgon"}}