cloudfoundry / capi-workspace

Machine setup for CAPI developers
Apache License 2.0
8 stars 9 forks source link

workspace script should reload bash env/path after installing linuxbrew #21

Closed sethboyles closed 3 years ago

sethboyles commented 3 years ago
Cloning into '/home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core'...
remote: Enumerating objects: 114, done.
remote: Counting objects: 100% (114/114), done.
remote: Compressing objects: 100% (80/80), done.
remote: Total 1042060 (delta 62), reused 67 (delta 34), pack-reused 1041946
Receiving objects: 100% (1042060/1042060), 367.27 MiB | 7.09 MiB/s, done.
Resolving deltas: 100% (727280/727280), done.
Tapped 2 commands and 5396 formulae (5,698 files, 405.8MB).
Already up-to-date.
Warning: /home/linuxbrew/.linuxbrew/bin is not in your PATH.
==> Installation successful!
==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
  https://docs.brew.sh/Analytics
No analytics data has been sent yet (or will be during this `install` run).
==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
  https://github.com/Homebrew/brew#donations
==> Next steps:
- Run `brew help` to get started
- Further documentation:
    https://docs.brew.sh
- Install the Homebrew dependencies if you have sudo access:
    sudo apt-get install build-essential
    See https://docs.brew.sh/linux for more information
- Add Homebrew to your PATH in /home/lcarson/.profile:
    echo 'eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)' >> /home/lcarson/.profile
    eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)
- We recommend that you install GCC:
    brew install gcc
./install-scripts/brew.sh: line 16: brew: command not found
./install-scripts/brew.sh: line 17: /home/pivotal/.profile: Permission denied
All done! Disconnect and log back in to ensure you have everything.
cf-gitbot commented 3 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/175958643

The labels on this github issue will be updated when the story is started.