config
config copied to clipboard
Yosemite?
Do you know if this works on Yosemite? Have a fresh install and was super excited to see that you'd done this.
I got this:
Daniels-MacBook-Pro:.config danielbox$ curl https://jenius.github.io/config/install | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 164 100 164 0 0 429 0 --:--:-- --:--:-- --:--:-- 429
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 128 0 128 0 0 446 0 --:--:-- --:--:-- --:--:-- 447
100 18.7M 100 18.7M 0 0 4709k 0 0:00:04 0:00:04 --:--:-- 5697k
make: Nothing to be done for `install'.
This was after running the xcode-select --install
first..
Have you successfully run this since switching Xcode command line tools as a prerequisite?
this looks like be a Make
message, i don't believe this has anything to do with xcode
it also looks like you are in the /.config
directory and running the install script, which indicates that you may have run install script more than once?
i would try starting fresh...go to your home directory and remove the config folder by executing this in your terminal
-
cd && rm -rf ~/.config
run the install script now from your home directory
-
curl https://jenius.github.io/config/install | sh
let me know what that does...
Thanks for the reply @pruett ! Definitely would love to get this going. I actually tried running the script on 3 dif machines to no avail. Have you gotten it to run since the last update?
Here's the message I got after doing what you said:
Daniels-MacBook-Pro:~ danielbox$ curl https://jenius.github.io/config/install | sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 164 100 164 0 0 478 0 --:--:-- --:--:-- --:--:-- 479
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 128 0 128 0 0 388 0 --:--:-- --:--:-- --:--:-- 387
0 0 0 18.7M 0 0 5303k 0 --:--:-- 0:00:03 --:--:-- 7167k
make: Nothing to be done for `install'.
hmm, so same thing...
what happens when you run conf install dotfiles
for example, as directed in the readme?
i've used this repo as a template for creating my own system bootstrapper (https://github.com/pruett/bootstrap) it's a bit incomplete at the moment :disappointed: but i'm familiar with the internals, although i haven't used this exact repo on my machine...
you can try running the default make
task manually
-
cd ~/.config && make installz
try that and let me know if you still get the same thing...
Manual make
task worked! (conf install dotfiles
didn't work before)
not sure if its working or not.
-
conf install dotfiles
seemed to work:
➜ .config conf install dotfiles
This will overwrite existing settings. Are you sure? (y/n) y
creating .bashrc
ln -sf ~/.conf/dotfiles/.bashrc ~/.bashrc
creating .bash_profile
ln -sf ~/.conf/dotfiles/.bash_profile ~/.bash_profile
creating .profile
ln -sf ~/.conf/dotfiles/.profile ~/.profile
creating .hushlogin
ln -sf ~/.conf/dotfiles/.hushlogin ~/.hushlogin
creating .z
ln -sf ~/.conf/dotfiles/.z.sh ~/.z.sh
-
conf install osx
just crashes terminal -
conf install bins
throws this:
curl: (22) The requested URL returned error: 404 Not Found
brew update
make: brew: No such file or directory
make: *** [brew] Error 1
And thats where I'm at currently.
thanks for all the help!
cool, you should be good to go with the manual conf install <recipe>
that @jenius provides in his readme...the osx crashing is to be expected as far as i remember...i think it updates the terminal, so it has to close it upon finishing
the bins recipe shouldn't give you that error...
it depends on homebrew (http://brew.sh/) which looks like it has a different install path than the one in this repo, so to circumvent that error install homebrew manually (its a great CLI tool) by running the following command as noted on the site
-
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
after homebrew is done doing its thing, open a new tab in your terminal and continue installing through @jenius's readme instructions
- (homebrew finished installing)
- Cmd + T to open up new terminal window (to ensure bash reloads)
-
cd ~/.config
-
conf install bins
-
conf install <other recipes>
Awesome. So that pretty much got me where i needed to go. The ruby one didnt work but I dont need it at the moment. I never got the osx config to work either, but that was easy enough to do manually.
And yes, I definitely use homebrew a lot. One of my main goals with this was to get everything installed properly so i didn't have to do sudo when doing an npm install
.... and it worked!
I owe you one @pruett and of course @jenius. I would say we could close this issue but it definitely brings up some bugs that exist. I assume this setup is a beast to maintain, because you can really only test it on fresh installs, and packages are always changing.
Thanks as always.
anytime @dbox ... @jenius did a great job laying a framework for configuring a fresh osx install, but there does seem to be some updates needed.
Hey guys, sorry I missed out on this whole deal. Yeah so basically this is not finished. I would love to finish it someday, but it's quite a bit of work. Basically in order to test it you need a blank osx vm on the latest version that you need to snapshot, then run this over and over, clearing the snapshot each time and looking for any errors.
At the moment, there are some tasks that work and others that don't. I'm sure some are also slightly outdated since it's been a few months since my last test run. At the moment I am traveling and will be unable to work on this any further for a number of months. However if anyone else is interested in still working on it, I still think it would be super useful and will happily review and accept PRs, or make you a collab if you want!
@jenius - No problem. The fact that you even had this working at all is mind-blowing. I actually got it to work enough to be super beneficial for me.
Thanks again for all your contributions.
Awesome, glad it helped somewhat! My vision for it was to have it install a conf
command that you could use for everything. Like conf install ruby
would just drop ruby in. Then conf sync
would sync it up with the github repo, so if you made any changes or additions to the script it would keep everything up to date across computers. Very ambitious, but it could work with this foundation, just needs more work and testing.