Skip to content

Fails when installing as unprivileged user #1

@fnordfish

Description

@fnordfish

A resource like this will try to download the ruby source file into the current working directory. This obviously depends on how chef is used. When running chef-solo in a vagrant environment the current working directory will be /root by default.

ruby_install_ruby 'ruby 1.9.3-p392' do
  user 'vagrant'
  group 'vagrant'
  prefix_path '/home/vagrant/.rubies'
end

A naive workaround would be to call ruby-install with --src-dir=/tmp or to make this options accessible as resource parameter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions