boxen / our-boxen

Copy me for your team.
https://github.com/boxen/our-boxen/
MIT License
2.58k stars 882 forks source link

Install after a boxen nuke not working #783

Closed elsom25 closed 8 years ago

elsom25 commented 9 years ago

Performed a nuke, which led to a few issues (#782). Resolved those, but now:

cd /opt/boxen/repo/
./script/boxen
--> Preparing to auto-update...
--> Complete! Nothing new from upstream.
script/bootstrap: line 93: bundle: command not found
find: bin: No such file or directory
Could not find rake-10.3.2 in any of the sources
Run `bundle install` to install missing gems.

To note, this was all post updating to Osx 10.11.

elsom25 commented 9 years ago

And weird solution part 2, in case anyone else stumbles on this particular weirdness.

I had to add /Library/Ruby/Gems/2.0.0/gems/bundler-1.5.3/bin to my path in order for my console to find bundle, which was sufficient to let me run ./script/boxen

richardtoner commented 9 years ago

There was me beginning to think that an OS X upgrade was completely trouble free for the first time! I had to go and ruin that warm fuzzy feeling by attempting to install a few new apps with my broken Boxen :disappointed:

I decided to nuke it and start again. I then ran into the same issue as @elsom25 when attempting to run the Boxen script.

It seems the addition of /Library/Ruby/Gems/2.0.0/gems/bundler-1.5.3/bin to my PATH fixed the issue, so thanks to @elsom25 for sharing that! However, I would not class that as a perfect solution as it requires an additional undocumented step aside from the README.

I would think it is worth reopening this issue so that a more elegant solution can be sought out.

seanknox commented 8 years ago

Upgraded to Xcode 7 on 10.10 Yosemite and encountered the same issue; path fix mentioned by @elsom25 did the trick.

cc @tarebyte @mikemcquaid

MikeMcQuaid commented 8 years ago

@seanknox FYI I'm not longer actively maintaining Boxen any more. The solution here is probably to extend https://github.com/boxen/our-boxen/pull/759 somehow

jacobbednarz commented 8 years ago

@seanknox can you see if #804 will solve this for you?

seanknox commented 8 years ago

@jacobbednarz I'm no longer using Boxen as well. Thanks for checking in!

jacobbednarz commented 8 years ago

Thanks, closing.