Skip to content

Conversation

LucilleH
Copy link
Collaborator

@LucilleH LucilleH commented Oct 5, 2022

Summary

Unblock shell when build fails. We are seeing

Error: Multiple buildable plans found: [{...}]

on devbox shell

How was it tested?

devbox shell

@LucilleH LucilleH requested a review from savil October 5, 2022 23:34
Copy link
Contributor

@loreto loreto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. You tested against axiom too?

@LucilleH
Copy link
Collaborator Author

LucilleH commented Oct 5, 2022

LGTM. You tested against axiom too?

Yes

@LucilleH LucilleH added the bug Something isn't working label Oct 5, 2022
@LucilleH LucilleH merged commit e9a38d2 into main Oct 5, 2022
@LucilleH LucilleH deleted the lucille--fix-shell branch October 5, 2022 23:38
@lucasrla
Copy link

lucasrla commented Oct 6, 2022

Hi, I have a project with both ruby and nodejs and I'm unable to devbox shell into it (version 0.0.8). It seems that the planner isn't accepting multiple languages in a project anymore...

Here's how to reproduce it:

devbox init

devbox add ruby nodejs yarn

devbox shell

Error: Multiple buildable plans found: [{
  "dev_packages": [
    "nodejs"
  ],
  "runtime_packages": [
    "nodejs"
  ],
  ...
} {
  "shell_init_hook": "echo \"It looks like you are developing a Ruby project.\nTo keep dependencies isolated, it is recommended that you install them in deployment mode, by running:\n \u003e bundler config set --local deployment 'true'\n \u003e bundler install\nAnd then run your ruby app with bundler. For example:\n \u003e bundler exec ruby app.rb\";",
  "dev_packages": [
    "ruby_3_1",
    "gcc",
    "gnumake"
  ],
...

Will this fix my issue?

Thanks

@loreto
Copy link
Contributor

loreto commented Oct 6, 2022

@lucasrla: Yes, and we're releasing it as a hotfix in a few minutes.

@savil
Copy link
Collaborator

savil commented Oct 6, 2022

@lucasrla yes, it should unblock you. We're pushing a hot-fix release with this commit asap.

@loreto
Copy link
Contributor

loreto commented Oct 6, 2022

@lucasrla This should be live now.

@lucasrla
Copy link

lucasrla commented Oct 6, 2022

Thanks! 0.0.9 works fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

4 participants