Skip to content

Initial chef run (e.g., via vagrant up) fails due incorrect Ruby version #1

@joe4dev

Description

@joe4dev

Initially running chef (e.g., via vagrant up) produces the following error during the chef run:
Your Ruby version is 2.1.4, but your Gemfile specified 2.2.2

Cause: The environment variable for the freshly installed Ruby version isn't yet set for the current shell

Workaround: Reprovision with vagrant provision

Solution: Find a way to properly set the environment variable for the current chef run

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