homebrew configuration issues with python#2 - homebrew

Sorry, I have limited experience with homebrew. Homebrew was working perfectly for a long time but suddenly I was seeing some unexpected errors in my homebrew so I ran brew doctor and I am not sure what to do next. I tried reinstalling python#2 but that did not work either. How do I get things back on track?
bigmac:bin michael$ brew doctor
...
Warning: Some installed kegs have no formulae!
This means they were either deleted or installed with `brew diy`.
You should find replacements for the following formulae:
python#2
Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.
Unexpected header files:
/usr/local/include/node/libplatform/libplatform-export.h
/usr/local/include/node/libplatform/libplatform.h
/usr/local/include/node/libplatform/v8-tracing.h
/usr/local/include/node/node.h
/usr/local/include/node/node_api.h
/usr/local/include/node/node_api_types.h
/usr/local/include/node/node_buffer.h
/usr/local/include/node/node_object_wrap.h
/usr/local/include/node/node_version.h
/usr/local/include/node/openssl/aes.h
/usr/local/include/node/openssl/archs/BSD-x86_64/asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/BSD-x86_64/asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/BSD-x86_64/asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/BSD-x86_64/asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/BSD-x86_64/asm/include/progs.h
/usr/local/include/node/openssl/archs/BSD-x86_64/asm_avx2/crypto/buildinf.h
/usr/local/include/node/openssl/archs/BSD-x86_64/asm_avx2/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/BSD-x86_64/asm_avx2/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/BSD-x86_64/asm_avx2/include/progs.h
/usr/local/include/node/openssl/archs/BSD-x86_64/no-asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/BSD-x86_64/no-asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/BSD-x86_64/no-asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/BSD-x86_64/no-asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/BSD-x86_64/no-asm/include/progs.h
/usr/local/include/node/openssl/archs/VC-WIN32/asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/VC-WIN32/asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/VC-WIN32/asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/VC-WIN32/asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/VC-WIN32/asm/include/progs.h
/usr/local/include/node/openssl/archs/VC-WIN32/asm_avx2/crypto/buildinf.h
/usr/local/include/node/openssl/archs/VC-WIN32/asm_avx2/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/VC-WIN32/asm_avx2/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/VC-WIN32/asm_avx2/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/VC-WIN32/asm_avx2/include/progs.h
/usr/local/include/node/openssl/archs/VC-WIN32/no-asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/VC-WIN32/no-asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/VC-WIN32/no-asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/VC-WIN32/no-asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/VC-WIN32/no-asm/include/progs.h
/usr/local/include/node/openssl/archs/VC-WIN64-ARM/no-asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/VC-WIN64-ARM/no-asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/VC-WIN64-ARM/no-asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/VC-WIN64-ARM/no-asm/include/progs.h
/usr/local/include/node/openssl/archs/VC-WIN64A/asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/VC-WIN64A/asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/VC-WIN64A/asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/VC-WIN64A/asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/VC-WIN64A/asm/include/progs.h
/usr/local/include/node/openssl/archs/VC-WIN64A/asm_avx2/crypto/buildinf.h
/usr/local/include/node/openssl/archs/VC-WIN64A/asm_avx2/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/VC-WIN64A/asm_avx2/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/VC-WIN64A/asm_avx2/include/progs.h
/usr/local/include/node/openssl/archs/VC-WIN64A/no-asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/VC-WIN64A/no-asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/VC-WIN64A/no-asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/VC-WIN64A/no-asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/VC-WIN64A/no-asm/include/progs.h
/usr/local/include/node/openssl/archs/aix-gcc/asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/aix-gcc/asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/aix-gcc/asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/aix-gcc/asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/aix-gcc/asm/include/progs.h
/usr/local/include/node/openssl/archs/aix-gcc/asm_avx2/crypto/buildinf.h
/usr/local/include/node/openssl/archs/aix-gcc/asm_avx2/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/aix-gcc/asm_avx2/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/aix-gcc/asm_avx2/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/aix-gcc/asm_avx2/include/progs.h
/usr/local/include/node/openssl/archs/aix-gcc/no-asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/aix-gcc/no-asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/aix-gcc/no-asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/aix-gcc/no-asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/aix-gcc/no-asm/include/progs.h
/usr/local/include/node/openssl/archs/aix64-gcc/asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/aix64-gcc/asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/aix64-gcc/asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/aix64-gcc/asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/aix64-gcc/asm/include/progs.h
/usr/local/include/node/openssl/archs/aix64-gcc/asm_avx2/crypto/buildinf.h
/usr/local/include/node/openssl/archs/aix64-gcc/asm_avx2/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/aix64-gcc/asm_avx2/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/aix64-gcc/asm_avx2/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/aix64-gcc/asm_avx2/include/progs.h
/usr/local/include/node/openssl/archs/aix64-gcc/no-asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/aix64-gcc/no-asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/aix64-gcc/no-asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/aix64-gcc/no-asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/aix64-gcc/no-asm/include/progs.h
/usr/local/include/node/openssl/archs/darwin-i386-cc/asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/darwin-i386-cc/asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/darwin-i386-cc/asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/darwin-i386-cc/asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/darwin-i386-cc/asm/include/progs.h
/usr/local/include/node/openssl/archs/darwin-i386-cc/asm_avx2/crypto/buildinf.h
/usr/local/include/node/openssl/archs/darwin-i386-cc/asm_avx2/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/darwin-i386-cc/asm_avx2/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/darwin-i386-cc/asm_avx2/include/progs.h
/usr/local/include/node/openssl/archs/darwin-i386-cc/no-asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/darwin-i386-cc/no-asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/darwin-i386-cc/no-asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/darwin-i386-cc/no-asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/darwin-i386-cc/no-asm/include/progs.h
/usr/local/include/node/openssl/archs/darwin64-x86_64-cc/asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/darwin64-x86_64-cc/asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/darwin64-x86_64-cc/asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/darwin64-x86_64-cc/asm/include/progs.h
/usr/local/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/crypto/buildinf.h
/usr/local/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/darwin64-x86_64-cc/asm_avx2/include/progs.h
/usr/local/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/darwin64-x86_64-cc/no-asm/include/progs.h
/usr/local/include/node/openssl/archs/linux-aarch64/asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux-aarch64/asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux-aarch64/asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux-aarch64/asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux-aarch64/asm/include/progs.h
/usr/local/include/node/openssl/archs/linux-aarch64/asm_avx2/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux-aarch64/asm_avx2/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux-aarch64/asm_avx2/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux-aarch64/asm_avx2/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux-aarch64/asm_avx2/include/progs.h
/usr/local/include/node/openssl/archs/linux-aarch64/no-asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux-aarch64/no-asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux-aarch64/no-asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux-aarch64/no-asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux-aarch64/no-asm/include/progs.h
/usr/local/include/node/openssl/archs/linux-armv4/asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux-armv4/asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux-armv4/asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux-armv4/asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux-armv4/asm/include/progs.h
/usr/local/include/node/openssl/archs/linux-armv4/asm_avx2/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux-armv4/asm_avx2/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux-armv4/asm_avx2/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux-armv4/asm_avx2/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux-armv4/asm_avx2/include/progs.h
/usr/local/include/node/openssl/archs/linux-armv4/no-asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux-armv4/no-asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux-armv4/no-asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux-armv4/no-asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux-armv4/no-asm/include/progs.h
/usr/local/include/node/openssl/archs/linux-elf/asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux-elf/asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux-elf/asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux-elf/asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux-elf/asm/include/progs.h
/usr/local/include/node/openssl/archs/linux-elf/asm_avx2/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux-elf/asm_avx2/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux-elf/asm_avx2/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux-elf/asm_avx2/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux-elf/asm_avx2/include/progs.h
/usr/local/include/node/openssl/archs/linux-elf/no-asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux-elf/no-asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux-elf/no-asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux-elf/no-asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux-elf/no-asm/include/progs.h
/usr/local/include/node/openssl/archs/linux-ppc/asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux-ppc/asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux-ppc/asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux-ppc/asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux-ppc/asm/include/progs.h
/usr/local/include/node/openssl/archs/linux-ppc/asm_avx2/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux-ppc/asm_avx2/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux-ppc/asm_avx2/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux-ppc/asm_avx2/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux-ppc/asm_avx2/include/progs.h
/usr/local/include/node/openssl/archs/linux-ppc/no-asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux-ppc/no-asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux-ppc/no-asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux-ppc/no-asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux-ppc/no-asm/include/progs.h
/usr/local/include/node/openssl/archs/linux-ppc64/asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux-ppc64/asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux-ppc64/asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux-ppc64/asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux-ppc64/asm/include/progs.h
/usr/local/include/node/openssl/archs/linux-ppc64/asm_avx2/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux-ppc64/asm_avx2/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux-ppc64/asm_avx2/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux-ppc64/asm_avx2/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux-ppc64/asm_avx2/include/progs.h
/usr/local/include/node/openssl/archs/linux-ppc64/no-asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux-ppc64/no-asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux-ppc64/no-asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux-ppc64/no-asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux-ppc64/no-asm/include/progs.h
/usr/local/include/node/openssl/archs/linux-ppc64le/asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux-ppc64le/asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux-ppc64le/asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux-ppc64le/asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux-ppc64le/asm/include/progs.h
/usr/local/include/node/openssl/archs/linux-ppc64le/asm_avx2/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux-ppc64le/asm_avx2/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux-ppc64le/asm_avx2/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux-ppc64le/asm_avx2/include/progs.h
/usr/local/include/node/openssl/archs/linux-ppc64le/no-asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux-ppc64le/no-asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux-ppc64le/no-asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux-ppc64le/no-asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux-ppc64le/no-asm/include/progs.h
/usr/local/include/node/openssl/archs/linux-x32/asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux-x32/asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux-x32/asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux-x32/asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux-x32/asm/include/progs.h
/usr/local/include/node/openssl/archs/linux-x32/asm_avx2/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux-x32/asm_avx2/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux-x32/asm_avx2/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux-x32/asm_avx2/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux-x32/asm_avx2/include/progs.h
/usr/local/include/node/openssl/archs/linux-x32/no-asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux-x32/no-asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux-x32/no-asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux-x32/no-asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux-x32/no-asm/include/progs.h
/usr/local/include/node/openssl/archs/linux-x86_64/asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux-x86_64/asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux-x86_64/asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux-x86_64/asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux-x86_64/asm/include/progs.h
/usr/local/include/node/openssl/archs/linux-x86_64/asm_avx2/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux-x86_64/asm_avx2/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux-x86_64/asm_avx2/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux-x86_64/asm_avx2/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux-x86_64/asm_avx2/include/progs.h
/usr/local/include/node/openssl/archs/linux-x86_64/no-asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux-x86_64/no-asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux-x86_64/no-asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux-x86_64/no-asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux-x86_64/no-asm/include/progs.h
/usr/local/include/node/openssl/archs/linux32-s390x/asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux32-s390x/asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux32-s390x/asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux32-s390x/asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux32-s390x/asm/include/progs.h
/usr/local/include/node/openssl/archs/linux32-s390x/asm_avx2/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux32-s390x/asm_avx2/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux32-s390x/asm_avx2/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux32-s390x/asm_avx2/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux32-s390x/asm_avx2/include/progs.h
/usr/local/include/node/openssl/archs/linux32-s390x/no-asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux32-s390x/no-asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux32-s390x/no-asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux32-s390x/no-asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux32-s390x/no-asm/include/progs.h
/usr/local/include/node/openssl/archs/linux64-s390x/asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux64-s390x/asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux64-s390x/asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux64-s390x/asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux64-s390x/asm/include/progs.h
/usr/local/include/node/openssl/archs/linux64-s390x/asm_avx2/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux64-s390x/asm_avx2/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux64-s390x/asm_avx2/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux64-s390x/asm_avx2/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux64-s390x/asm_avx2/include/progs.h
/usr/local/include/node/openssl/archs/linux64-s390x/no-asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/linux64-s390x/no-asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/linux64-s390x/no-asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/linux64-s390x/no-asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/linux64-s390x/no-asm/include/progs.h
/usr/local/include/node/openssl/archs/solaris-x86-gcc/asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/solaris-x86-gcc/asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/solaris-x86-gcc/asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/solaris-x86-gcc/asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/solaris-x86-gcc/asm/include/progs.h
/usr/local/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/crypto/buildinf.h
/usr/local/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/solaris-x86-gcc/asm_avx2/include/progs.h
/usr/local/include/node/openssl/archs/solaris-x86-gcc/no-asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/solaris-x86-gcc/no-asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/solaris-x86-gcc/no-asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/solaris-x86-gcc/no-asm/include/progs.h
/usr/local/include/node/openssl/archs/solaris64-x86_64-gcc/asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/solaris64-x86_64-gcc/asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/solaris64-x86_64-gcc/asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/solaris64-x86_64-gcc/asm/include/progs.h
/usr/local/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/crypto/buildinf.h
/usr/local/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/solaris64-x86_64-gcc/asm_avx2/include/progs.h
/usr/local/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/crypto/buildinf.h
/usr/local/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/crypto/include/internal/bn_conf.h
/usr/local/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/crypto/include/internal/dso_conf.h
/usr/local/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/openssl/opensslconf.h
/usr/local/include/node/openssl/archs/solaris64-x86_64-gcc/no-asm/include/progs.h
/usr/local/include/node/openssl/asn1.h
/usr/local/include/node/openssl/asn1_mac.h
/usr/local/include/node/openssl/asn1err.h
/usr/local/include/node/openssl/asn1t.h
/usr/local/include/node/openssl/async.h
/usr/local/include/node/openssl/asyncerr.h
/usr/local/include/node/openssl/bio.h
/usr/local/include/node/openssl/bioerr.h
/usr/local/include/node/openssl/blowfish.h
/usr/local/include/node/openssl/bn.h
/usr/local/include/node/openssl/bn_conf.h
/usr/local/include/node/openssl/bn_conf_asm.h
/usr/local/include/node/openssl/bn_conf_no-asm.h
/usr/local/include/node/openssl/bnerr.h
/usr/local/include/node/openssl/buffer.h
/usr/local/include/node/openssl/buffererr.h
/usr/local/include/node/openssl/camellia.h
/usr/local/include/node/openssl/cast.h
/usr/local/include/node/openssl/cmac.h
/usr/local/include/node/openssl/cms.h
/usr/local/include/node/openssl/cmserr.h
/usr/local/include/node/openssl/comp.h
/usr/local/include/node/openssl/comperr.h
/usr/local/include/node/openssl/conf.h
/usr/local/include/node/openssl/conf_api.h
/usr/local/include/node/openssl/conferr.h
/usr/local/include/node/openssl/crypto.h
/usr/local/include/node/openssl/cryptoerr.h
/usr/local/include/node/openssl/ct.h
/usr/local/include/node/openssl/cterr.h
/usr/local/include/node/openssl/des.h
...
Warning: You have unlinked kegs in your Cellar.
Leaving kegs unlinked can lead to build-trouble and cause formulae that depend on
those kegs to fail to run properly once built. Run `brew link` on these:
git-ftp
Warning: Some taps are not on the default git origin branch and may not receive
updates. If this is a surprise to you, check out the default branch with:
git -C $(brew --repo homebrew/cask) checkout master
Warning: Homebrew's "sbin" was not found in your PATH but you have installed
formulae that put executables in /usr/local/sbin.
Consider setting your PATH for example like so:
echo 'export PATH="/usr/local/sbin:$PATH"' >> /Users/bierman/.bash_profile

Related

HEAD is now at 253c43d25 Merge pull request #13060 from Random

Press RETURN/ENTER to continue or any other key to abort:
/usr/bin/sudo/usr/sbin/chown
-R ahmedkahie: admin /opt/homebrew
Downloading and installing Homebrew..
HEAD is now at 253c43d25 Merge pull request #13060 from RandomDSdevel/revert-130
44-taps-rubocop-config
error: Not a valid ref: refs/remotes/origin/master
fatal: ambiguous argument
'refs/remotes/origin/master': unknown revision or path
not in the working tree
Use
to separate paths from revisions, like this:'git [‹revision>[‹file>.. ]
It seems like the installation is stuck but you just need to wait until you get this message:
fatal: Could not resolve HEAD to a revision
==> Installation successful!
Ignore the error as the installation should still be successful.

How do i remove Docker completely?

i installed docker follow this post
https://blog.ssdnodes.com/blog/getting-started-docker-vps/
sudo curl -sS https://get.docker.com/ | sh
this leak seem unsafe, i wanted to remove everything with docker and reinstall again in other method.
after remove all and check with
find / -name '*docker*'
the log
/proc/sys/net/ipv4/conf/docker0
/proc/sys/net/ipv4/neigh/docker0
/proc/sys/net/ipv6/conf/docker0
/proc/sys/net/ipv6/neigh/docker0
/proc/1/task/1/net/dev_snmp6/docker0
/proc/1/net/dev_snmp6/docker0
/proc/2/task/2/net/dev_snmp6/docker0
/proc/2/net/dev_snmp6/docker0
/proc/3/task/3/net/dev_snmp6/docker0
/proc/3/net/dev_snmp6/docker0
/proc/84/task/84/net/dev_snmp6/docker0
/proc/84/net/dev_snmp6/docker0
/proc/92/task/92/net/dev_snmp6/docker0
/proc/92/net/dev_snmp6/docker0
/proc/96/task/96/net/dev_snmp6/docker0
/proc/96/net/dev_snmp6/docker0
/proc/114/task/114/net/dev_snmp6/docker0
/proc/114/net/dev_snmp6/docker0
/proc/127/task/127/net/dev_snmp6/docker0
/proc/127/net/dev_snmp6/docker0
/proc/133/task/133/net/dev_snmp6/docker0
/proc/133/net/dev_snmp6/docker0
/proc/134/task/134/net/dev_snmp6/docker0
/proc/134/net/dev_snmp6/docker0
/proc/151/task/151/net/dev_snmp6/docker0
/proc/151/net/dev_snmp6/docker0
/proc/368/task/368/net/dev_snmp6/docker0
/proc/368/net/dev_snmp6/docker0
/proc/371/task/371/net/dev_snmp6/docker0
/proc/371/net/dev_snmp6/docker0
/proc/372/task/372/net/dev_snmp6/docker0
/proc/372/net/dev_snmp6/docker0
/proc/373/task/373/net/dev_snmp6/docker0
/proc/373/task/376/net/dev_snmp6/docker0
/proc/373/task/390/net/dev_snmp6/docker0
/proc/373/net/dev_snmp6/docker0
/proc/386/task/386/net/dev_snmp6/docker0
/proc/386/net/dev_snmp6/docker0
/proc/393/task/393/net/dev_snmp6/docker0
/proc/393/net/dev_snmp6/docker0
/proc/404/task/404/net/dev_snmp6/docker0
/proc/404/net/dev_snmp6/docker0
/proc/407/task/407/net/dev_snmp6/docker0
/proc/407/net/dev_snmp6/docker0
/proc/408/task/408/net/dev_snmp6/docker0
/proc/408/net/dev_snmp6/docker0
/proc/416/task/416/net/dev_snmp6/docker0
/proc/416/net/dev_snmp6/docker0
/proc/448/task/448/net/dev_snmp6/docker0
/proc/448/net/dev_snmp6/docker0
/proc/572/task/572/net/dev_snmp6/docker0
/proc/572/net/dev_snmp6/docker0
/proc/574/task/574/net/dev_snmp6/docker0
/proc/574/net/dev_snmp6/docker0
/proc/2523/task/2523/net/dev_snmp6/docker0
/proc/2523/net/dev_snmp6/docker0
/proc/2526/task/2526/net/dev_snmp6/docker0
/proc/2526/net/dev_snmp6/docker0
/proc/3110/task/3110/net/dev_snmp6/docker0
/proc/3110/net/dev_snmp6/docker0
/proc/3111/task/3111/net/dev_snmp6/docker0
/proc/3111/net/dev_snmp6/docker0
/proc/3114/task/3114/net/dev_snmp6/docker0
/proc/3114/net/dev_snmp6/docker0
/usr/bin/pm2-docker
/usr/libexec/docker
/usr/lib/node_modules/pm2/bin/pm2-docker
/usr/lib/node_modules/pm2/node_modules/systeminformation/lib/dockerSocket.js
/usr/lib/node_modules/pm2/node_modules/systeminformation/lib/docker.js
/usr/lib/node_modules/pm2/node_modules/#pm2/io/docker-compose.yml
/usr/lib/firewalld/services/docker-swarm.xml
/usr/lib/firewalld/services/docker-registry.xml
/sys/devices/virtual/net/docker0
/sys/class/net/docker0
/var/cache/yum/x86_64/7/docker-ce-stable
/var/lib/docker-engine
/var/lib/yum/repos/x86_64/7/docker-ce-stable
/etc/yum.repos.d/docker-ce.repo
/etc/systemd/system/docker.service.d
how do i remove docker completely ? is this file inside my host are safe ?
Quick summary of my comments so far, so you can accept it as an answer:
You downloaded the script from a trustworthy source (docker.com) and via HTTPS so there is extremely little risk of your system being compromised.
If your system was compromised, uninstalling docker would likely not solve the problem.
With those two caveats out of the way: The script you ran does a lot of magic to determine your operating system, and then delegates the actual installation to the appropriate package manager, meaning you can simply uninstall it through the usual package management tools of your Linux distribution.

Nvidia Driver Won't Load on Ubuntu 16.04.4 LTS

I am trying to install NVIDIA Driver for Titan Xp. I type the following for installation:
sudo apt-get install nvidia-418
The installation runs with no errors. However, after rebooting the driver is not loaded. Here is the error that nvidia-smi command gives:
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
Here is the complete installation log (in the terminal):
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
cuda-command-line-tools-10-1 cuda-command-line-tools-8-0 cuda-command-line-tools-9-0 cuda-command-line-tools-9-2 cuda-compiler-10-1 cuda-compiler-9-2
cuda-core-8-0 cuda-core-9-0 cuda-cublas-8-0 cuda-cublas-9-0 cuda-cublas-9-2 cuda-cublas-dev-8-0 cuda-cublas-dev-9-0 cuda-cublas-dev-9-2 cuda-cudart-10-1
cuda-cudart-8-0 cuda-cudart-9-0 cuda-cudart-9-2 cuda-cudart-dev-10-1 cuda-cudart-dev-8-0 cuda-cudart-dev-9-0 cuda-cudart-dev-9-2 cuda-cufft-10-1
cuda-cufft-8-0 cuda-cufft-9-0 cuda-cufft-9-2 cuda-cufft-dev-10-1 cuda-cufft-dev-8-0 cuda-cufft-dev-9-0 cuda-cufft-dev-9-2 cuda-cuobjdump-10-1
cuda-cuobjdump-9-2 cuda-cupti-10-1 cuda-cupti-9-2 cuda-curand-10-1 cuda-curand-8-0 cuda-curand-9-0 cuda-curand-9-2 cuda-curand-dev-10-1 cuda-curand-dev-8-0
cuda-curand-dev-9-0 cuda-curand-dev-9-2 cuda-cusolver-10-1 cuda-cusolver-8-0 cuda-cusolver-9-0 cuda-cusolver-9-2 cuda-cusolver-dev-10-1 cuda-cusolver-dev-8-0
cuda-cusolver-dev-9-0 cuda-cusolver-dev-9-2 cuda-cusparse-10-1 cuda-cusparse-8-0 cuda-cusparse-9-0 cuda-cusparse-9-2 cuda-cusparse-dev-10-1
cuda-cusparse-dev-8-0 cuda-cusparse-dev-9-0 cuda-cusparse-dev-9-2 cuda-documentation-10-1 cuda-documentation-8-0 cuda-documentation-9-0 cuda-documentation-9-2
cuda-driver-dev-10-1 cuda-driver-dev-8-0 cuda-driver-dev-9-0 cuda-driver-dev-9-2 cuda-gdb-10-1 cuda-gdb-9-2 cuda-gpu-library-advisor-10-1
cuda-gpu-library-advisor-9-2 cuda-libraries-10-1 cuda-libraries-9-0 cuda-libraries-9-2 cuda-libraries-dev-10-1 cuda-libraries-dev-9-0 cuda-libraries-dev-9-2
cuda-license-10-1 cuda-license-8-0 cuda-license-9-0 cuda-license-9-2 cuda-memcheck-10-1 cuda-memcheck-9-2 cuda-misc-headers-10-1 cuda-misc-headers-8-0
cuda-misc-headers-9-0 cuda-misc-headers-9-2 cuda-npp-10-1 cuda-npp-8-0 cuda-npp-9-0 cuda-npp-9-2 cuda-npp-dev-10-1 cuda-npp-dev-8-0 cuda-npp-dev-9-0
cuda-npp-dev-9-2 cuda-nsight-10-1 cuda-nsight-9-2 cuda-nsight-compute-10-1 cuda-nsight-systems-10-1 cuda-nvcc-10-1 cuda-nvcc-9-2 cuda-nvdisasm-10-1
cuda-nvdisasm-9-2 cuda-nvgraph-10-1 cuda-nvgraph-8-0 cuda-nvgraph-9-0 cuda-nvgraph-9-2 cuda-nvgraph-dev-10-1 cuda-nvgraph-dev-8-0 cuda-nvgraph-dev-9-0
cuda-nvgraph-dev-9-2 cuda-nvjpeg-10-1 cuda-nvjpeg-dev-10-1 cuda-nvml-dev-10-1 cuda-nvml-dev-8-0 cuda-nvml-dev-9-0 cuda-nvml-dev-9-2 cuda-nvprof-10-1
cuda-nvprof-9-2 cuda-nvprune-10-1 cuda-nvprune-9-2 cuda-nvrtc-10-1 cuda-nvrtc-8-0 cuda-nvrtc-9-0 cuda-nvrtc-9-2 cuda-nvrtc-dev-10-1 cuda-nvrtc-dev-8-0
cuda-nvrtc-dev-9-0 cuda-nvrtc-dev-9-2 cuda-nvtx-10-1 cuda-nvtx-9-2 cuda-nvvp-10-1 cuda-nvvp-9-2 cuda-samples-10-1 cuda-samples-8-0 cuda-samples-9-0
cuda-samples-9-2 cuda-sanitizer-api-10-1 cuda-toolkit-10-1 cuda-toolkit-9-0 cuda-toolkit-9-2 cuda-tools-10-1 cuda-tools-9-2 cuda-visual-tools-10-1
cuda-visual-tools-9-0 cuda-visual-tools-9-2 fonts-font-awesome fonts-lato fonts-mathjax freeglut3 freeglut3-dev ipython-notebook-common libcublas-dev
libcublas10 libcublas7.5 libcudart7.5 libcufft7.5 libcufftw7.5 libcurand7.5 libcurl4-openssl-dev libcusolver7.5 libcusparse7.5 libjs-highlight
libjs-highlight.js libjs-marked libjs-mathjax libjs-underscore libnppc7.5 libnppi7.5 libnpps7.5 libnvblas7.5 libnvrtc7.5 libnvtoolsext1 libnvvm3
libpython-all-dev libpython3-dev libpython3.5-dev libssl-doc libthrust-dev libvdpau-dev libvncserver1 libxmu-dev libxmu-headers libxt-dev
linux-headers-4.15.0-47 linux-headers-4.15.0-47-generic linux-headers-4.15.0-50 linux-headers-4.15.0-50-generic linux-headers-4.15.0-51
linux-headers-4.15.0-51-generic linux-headers-4.15.0-52 linux-headers-4.15.0-52-generic linux-image-4.15.0-47-generic linux-image-4.15.0-50-generic
linux-image-4.15.0-51-generic linux-image-4.15.0-52-generic linux-modules-4.15.0-47-generic linux-modules-4.15.0-50-generic linux-modules-4.15.0-51-generic
linux-modules-4.15.0-52-generic linux-modules-extra-4.15.0-47-generic linux-modules-extra-4.15.0-50-generic linux-modules-extra-4.15.0-51-generic
linux-modules-extra-4.15.0-52-generic nsight-compute-2019.4.0 nsight-systems-2019.3.7 python-all python-all-dev python-jinja2 python-markupsafe python-pymysql
python-wheel python3-wheel python3.5-dev ruby-did-you-mean ruby-minitest ruby-net-telnet ruby-power-assert ruby-test-unit x11vnc-data
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libcuda1-418 nvidia-opencl-icd-418 nvidia-prime
The following packages will be REMOVED:
libcuda1-304 nvidia-304 nvidia-current nvidia-opencl-icd-304
The following NEW packages will be installed:
libcuda1-418 nvidia-418 nvidia-opencl-icd-418 nvidia-prime
0 upgraded, 4 newly installed, 4 to remove and 194 not upgraded.
Need to get 0 B/112 MB of archives.
After this operation, 314 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 940544 files and directories currently installed.)
Removing libcuda1-304 (304.137-0ubuntu0~gpu16.04.1) ...
Removing nvidia-current (304.137-0ubuntu0~gpu16.04.1) ...
Removing nvidia-304 (304.137-0ubuntu0~gpu16.04.1) ...
Removing all DKMS Modules
Done.
update-alternatives: using /usr/lib/x86_64-linux-gnu/mesa/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode
INFO:Disable nvidia-304
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
update-initramfs: deferring update (trigger activated)
Removing nvidia-opencl-icd-304 (304.137-0ubuntu0~gpu16.04.1) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for initramfs-tools (0.122ubuntu8.14) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-70-generic
Selecting previously unselected package nvidia-418.
(Reading database ... 940327 files and directories currently installed.)
Preparing to unpack .../nvidia-418_418.87.01-0ubuntu1_amd64.deb ...
Unpacking nvidia-418 (418.87.01-0ubuntu1) ...
Selecting previously unselected package libcuda1-418.
Preparing to unpack .../libcuda1-418_418.87.01-0ubuntu1_amd64.deb ...
Unpacking libcuda1-418 (418.87.01-0ubuntu1) ...
Selecting previously unselected package nvidia-opencl-icd-418.
Preparing to unpack .../nvidia-opencl-icd-418_418.87.01-0ubuntu1_amd64.deb ...
Unpacking nvidia-opencl-icd-418 (418.87.01-0ubuntu1) ...
Selecting previously unselected package nvidia-prime.
Preparing to unpack .../nvidia-prime_0.8.2_amd64.deb ...
Unpacking nvidia-prime (0.8.2) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Setting up nvidia-418 (418.87.01-0ubuntu1) ...
update-alternatives: using /usr/lib/nvidia-418/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_GL.conf (x86_64-linux-gnu_gl_conf) in auto mode
update-alternatives: warning: skip creation of /usr/share/grub-gfxpayload-lists/blacklist/10_proprietary-graphics-drivers because associated file /usr/share/nvidia-418/nvidia-418.grub-gfxpayload (of link group x86_64-linux-gnu_gl_conf) doesn't exist
update-alternatives: using /usr/lib/nvidia-418/ld.so.conf to provide /etc/ld.so.conf.d/x86_64-linux-gnu_EGL.conf (x86_64-linux-gnu_egl_conf) in auto mode
update-alternatives: using /usr/lib/nvidia-418/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_GL.conf (i386-linux-gnu_gl_conf) in auto mode
update-alternatives: using /usr/lib/nvidia-418/alt_ld.so.conf to provide /etc/ld.so.conf.d/i386-linux-gnu_EGL.conf (i386-linux-gnu_egl_conf) in auto mode
update-alternatives: using /usr/share/nvidia-418/glamor.conf to provide /usr/share/X11/xorg.conf.d/glamoregl.conf (glamor_conf) in auto mode
update-initramfs: deferring update (trigger activated)
A modprobe blacklist file has been created at /etc/modprobe.d to prevent Nouveau from loading. This can be reverted by deleting /etc/modprobe.d/nvidia-graphics-drivers.conf.
A new initrd image has also been created. To revert, please replace /boot/initrd-4.15.0-70-generic with /boot/initrd-$(uname -r)-backup.
*****************************************************************************
*** Reboot your computer and verify that the NVIDIA graphics driver can ***
*** be loaded. ***
*****************************************************************************
INFO:Enable nvidia-418
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/dell_latitude
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/lenovo_thinkpad
DEBUG:Parsing /usr/share/ubuntu-drivers-common/quirks/put_your_quirks_here
Adding system user `nvidia-persistenced' (UID 121) ...
Adding new group `nvidia-persistenced' (GID 129) ...
Adding new user `nvidia-persistenced' (UID 121) with group `nvidia-persistenced' ...
Not creating home directory `/'.
Loading new nvidia-418-418.87.01 DKMS files...
First Installation: checking all kernels...
Building only for 4.15.0-70-generic
Building for architecture x86_64
Building initial module for 4.15.0-70-generic
Done.
nvidia_418:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.15.0-70-generic/updates/dkms/
nvidia_418_modeset.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.15.0-70-generic/updates/dkms/
nvidia_418_drm.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.15.0-70-generic/updates/dkms/
nvidia_418_uvm.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.15.0-70-generic/updates/dkms/
depmod.........
DKMS: install completed.
Setting up libcuda1-418 (418.87.01-0ubuntu1) ...
Setting up nvidia-opencl-icd-418 (418.87.01-0ubuntu1) ...
Setting up nvidia-prime (0.8.2) ...
Processing triggers for libc-bin (2.23-0ubuntu10) ...
Processing triggers for initramfs-tools (0.122ubuntu8.14) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-70-generic
Processing triggers for ureadahead (0.100.0-19) ...
I would really appreciate your help!

Homebrew: Can't start elastic search

I'm in a big trouble, I can't start Elasticsearch and I need it for run my rails locally, please tell me what's going on. I installed Elasticsearch in the normal fashion then I did the following:
elasticsearch --config=/usr/local/opt/elasticsearch/config/elasticsearch.yml
But it shows the following error: [2015-11-01 20:36:50,574][INFO ][bootstrap] es.config is no longer supported. elasticsearch.yml must be placed in the config directory and cannot be renamed.
I tried several alternative ways of run it, like:
elasticsearch -f -D
But then I get the following error, and I can't find any useful for solve it, it seems to be related with file perms but not sure:
java.io.IOException: Resource not found: "org/joda/time/tz/data/ZoneInfoMap" ClassLoader: sun.misc.Launcher$AppClassLoader#33909752
at org.joda.time.tz.ZoneInfoProvider.openResource(ZoneInfoProvider.java:210)
at org.joda.time.tz.ZoneInfoProvider.<init>(ZoneInfoProvider.java:127)
at org.joda.time.tz.ZoneInfoProvider.<init>(ZoneInfoProvider.java:86)
at org.joda.time.DateTimeZone.getDefaultProvider(DateTimeZone.java:514)
at org.joda.time.DateTimeZone.getProvider(DateTimeZone.java:413)
at org.joda.time.DateTimeZone.forID(DateTimeZone.java:216)
at org.joda.time.DateTimeZone.getDefault(DateTimeZone.java:151)
at org.joda.time.chrono.ISOChronology.getInstance(ISOChronology.java:79)
at org.joda.time.DateTimeUtils.getChronology(DateTimeUtils.java:266)
at org.joda.time.format.DateTimeFormatter.selectChronology(DateTimeFormatter.java:968)
at org.joda.time.format.DateTimeFormatter.printTo(DateTimeFormatter.java:672)
at org.joda.time.format.DateTimeFormatter.printTo(DateTimeFormatter.java:560)
at org.joda.time.format.DateTimeFormatter.print(DateTimeFormatter.java:644)
at org.elasticsearch.Build.<clinit>(Build.java:51)
at org.elasticsearch.node.Node.<init>(Node.java:135)
at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:145)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:170)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:270)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)
[2015-11-01 20:40:57,602][INFO ][node ] [Centurius] version[2.0.0], pid[22063], build[de54438/2015-10-22T08:09:48Z]
[2015-11-01 20:40:57,605][INFO ][node ] [Centurius] initializing ...
Exception in thread "main" java.lang.IllegalStateException: failed to load bundle [] due to jar hell
Likely root cause: java.security.AccessControlException: access denied ("java.io.FilePermission" "/usr/local/Cellar/elasticsearch/2.0.0/libexec/antlr-runtime-3.5.jar" "read")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
at java.security.AccessController.checkPermission(AccessController.java:884)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.lang.SecurityManager.checkRead(SecurityManager.java:888)
at java.util.zip.ZipFile.<init>(ZipFile.java:210)
at java.util.zip.ZipFile.<init>(ZipFile.java:149)
at java.util.jar.JarFile.<init>(JarFile.java:166)
at java.util.jar.JarFile.<init>(JarFile.java:103)
at org.elasticsearch.bootstrap.JarHell.checkJarHell(JarHell.java:173)
at org.elasticsearch.plugins.PluginsService.loadBundles(PluginsService.java:340)
at org.elasticsearch.plugins.PluginsService.<init>(PluginsService.java:113)
at org.elasticsearch.node.Node.<init>(Node.java:144)
at org.elasticsearch.node.NodeBuilder.build(NodeBuilder.java:145)
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:170)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:270)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:35)
Refer to the log for complete error details.
Thanks for your help.
There are some changes with libexec with Elasticsearch/homebrew installation and that is why it is failing to start. There is a PR #45644 currently being worked on. Till the PR gets accepted, you can use the same formula to fix the installation of Elasticsearch.
First uninstall the earlier/older version. Then edit the formula of Elasticsearch:
$ brew edit elasticsearch
And use the formula from the PR.
Then do brew install elasticsearch, it should work fine.
To start Elasticsearch, just do:
$ elasticsearch
config option is no longer valid. For custom config, use path.config:
$ elasticsearch --path.conf=/usr/local/opt/elasticsearch/config

Error while installing Rails on Mac

After I install Rails and I run rails server for a cloned repository that runs on RoR I see:
Rails is not currently installed on this system. To get the latest version, simply type:
$ sudo gem install rails
You can then rerun your "rails" command.
Right before this I installed Rails which according to terminal was correctly installed.
The command I had run was sudo gem install rails -V. To which I get:
HEAD https://rubygems.org/latest_specs.4.8.gz
302 Moved Temporarily
HEAD https://s3.amazonaws.com/production.s3.rubygems.org/latest_specs.4.8.gz
200 OK
GET https://rubygems.org/latest_specs.4.8.gz
302 Moved Temporarily
GET https://s3.amazonaws.com/production.s3.rubygems.org/latest_specs.4.8.gz
200 OK
HEAD https://rubygems.org/specs.4.8.gz
302 Moved Temporarily
HEAD https://s3.amazonaws.com/production.s3.rubygems.org/specs.4.8.gz
200 OK
GET https://rubygems.org/specs.4.8.gz
302 Moved Temporarily
GET https://s3.amazonaws.com/production.s3.rubygems.org/specs.4.8.gz
200 OK
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/README.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/akshaysurve.jpg
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/belongs_to.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/book_icon.gif
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/bullet.gif
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/chapters_icon.gif
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/check_bullet.gif
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/credits_pic_blank.gif
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/csrf.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/edge_badge.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/favicon.ico
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/feature_tile.gif
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/footer_tile.gif
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/fxn.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/getting_started/challenge.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/getting_started/confirm_dialog.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/getting_started/forbidden_attributes_for_new_post.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/getting_started/form_with_errors.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/getting_started/index_action_with_edit_link.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/getting_started/new_post.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/getting_started/post_with_comments.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/getting_started/rails_welcome.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/getting_started/routing_error_no_controller.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/getting_started/routing_error_no_route_matches.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/getting_started/show_action_for_posts.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/getting_started/template_is_missing_posts_new.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/getting_started/undefined_method_post_path.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/getting_started/unknown_action_create_for_posts.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/getting_started/unknown_action_new_for_posts.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/grey_bullet.gif
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/habtm.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/has_many.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/has_many_through.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/has_one.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/has_one_through.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/header_backdrop.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/header_tile.gif
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/i18n/demo_html_safe.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/i18n/demo_localized_pirate.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/i18n/demo_translated_en.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/i18n/demo_translated_pirate.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/i18n/demo_translation_missing.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/i18n/demo_untranslated.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/icons/callouts/1.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/icons/callouts/10.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/icons/callouts/11.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/icons/callouts/12.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/icons/callouts/13.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/icons/callouts/14.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/icons/callouts/15.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/icons/callouts/2.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/icons/callouts/3.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/icons/callouts/4.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/icons/callouts/5.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/icons/callouts/6.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/icons/callouts/7.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/icons/callouts/8.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/icons/callouts/9.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/icons/caution.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/icons/example.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/icons/home.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/icons/important.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/icons/next.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/icons/note.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/icons/prev.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/icons/README
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/icons/tip.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/icons/up.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/icons/warning.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/jaimeiniesta.jpg
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/nav_arrow.gif
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/oscardelben.jpg
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/polymorphic.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/radar.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/rails4_features.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/rails_guides_kindle_cover.jpg
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/rails_guides_logo.gif
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/rails_logo_remix.gif
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/session_fixation.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/tab_grey.gif
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/tab_info.gif
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/tab_note.gif
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/tab_red.gif
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/tab_yellow.gif
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/tab_yellow.png
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/images/vijaydev.jpg
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/guides.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/jquery.min.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/responsive-tables.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/syntaxhighlighter/shBrushAppleScript.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/syntaxhighlighter/shBrushAS3.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/syntaxhighlighter/shBrushBash.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/syntaxhighlighter/shBrushColdFusion.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/syntaxhighlighter/shBrushCpp.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/syntaxhighlighter/shBrushCSharp.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/syntaxhighlighter/shBrushCss.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/syntaxhighlighter/shBrushDelphi.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/syntaxhighlighter/shBrushDiff.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/syntaxhighlighter/shBrushErlang.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/syntaxhighlighter/shBrushGroovy.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/syntaxhighlighter/shBrushJava.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/syntaxhighlighter/shBrushJavaFX.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/syntaxhighlighter/shBrushJScript.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/syntaxhighlighter/shBrushPerl.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/syntaxhighlighter/shBrushPhp.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/syntaxhighlighter/shBrushPlain.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/syntaxhighlighter/shBrushPowerShell.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/syntaxhighlighter/shBrushPython.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/syntaxhighlighter/shBrushRuby.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/syntaxhighlighter/shBrushSass.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/syntaxhighlighter/shBrushScala.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/syntaxhighlighter/shBrushSql.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/syntaxhighlighter/shBrushVb.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/syntaxhighlighter/shBrushXml.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/javascripts/syntaxhighlighter/shCore.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/stylesheets/fixes.css
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/stylesheets/kindle.css
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/stylesheets/main.css
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/stylesheets/print.css
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/stylesheets/reset.css
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/stylesheets/responsive-tables.css
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/stylesheets/style.css
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/stylesheets/syntaxhighlighter/shCore.css
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/stylesheets/syntaxhighlighter/shCoreDefault.css
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/stylesheets/syntaxhighlighter/shCoreDjango.css
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/stylesheets/syntaxhighlighter/shCoreEclipse.css
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/stylesheets/syntaxhighlighter/shCoreEmacs.css
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/stylesheets/syntaxhighlighter/shCoreFadeToGrey.css
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/stylesheets/syntaxhighlighter/shCoreMDUltra.css
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/stylesheets/syntaxhighlighter/shCoreMidnight.css
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/stylesheets/syntaxhighlighter/shCoreRDark.css
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/stylesheets/syntaxhighlighter/shThemeDefault.css
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/stylesheets/syntaxhighlighter/shThemeDjango.css
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/stylesheets/syntaxhighlighter/shThemeEclipse.css
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/stylesheets/syntaxhighlighter/shThemeEmacs.css
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/stylesheets/syntaxhighlighter/shThemeFadeToGrey.css
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/stylesheets/syntaxhighlighter/shThemeMDUltra.css
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/stylesheets/syntaxhighlighter/shThemeMidnight.css
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/stylesheets/syntaxhighlighter/shThemeRailsGuides.css
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/assets/stylesheets/syntaxhighlighter/shThemeRDark.css
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/bug_report_templates/action_controller_gem.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/bug_report_templates/action_controller_master.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/bug_report_templates/active_record_gem.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/bug_report_templates/active_record_master.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/CHANGELOG.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/app/assets/javascripts/application.js
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/app/assets/javascripts/comments.js.coffee
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/app/assets/javascripts/posts.js.coffee
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/app/assets/javascripts/welcome.js.coffee
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/app/assets/stylesheets/application.css
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/app/assets/stylesheets/comments.css.scss
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/app/assets/stylesheets/posts.css.scss
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/app/assets/stylesheets/welcome.css.scss
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/app/controllers/application_controller.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/app/controllers/comments_controller.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/app/controllers/posts_controller.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/app/controllers/welcome_controller.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/app/helpers/application_helper.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/app/helpers/comments_helper.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/app/helpers/posts_helper.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/app/helpers/welcome_helper.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/app/models/comment.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/app/models/post.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/app/views/comments/_comment.html.erb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/app/views/comments/_form.html.erb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/app/views/layouts/application.html.erb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/app/views/posts/_form.html.erb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/app/views/posts/edit.html.erb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/app/views/posts/index.html.erb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/app/views/posts/new.html.erb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/app/views/posts/show.html.erb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/app/views/welcome/index.html.erb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/bin/bundle
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/bin/rails
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/bin/rake
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/config/application.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/config/boot.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/config/database.yml
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/config/environment.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/config/environments/development.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/config/environments/production.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/config/environments/test.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/config/initializers/backtrace_silencers.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/config/initializers/filter_parameter_logging.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/config/initializers/inflections.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/config/initializers/locale.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/config/initializers/mime_types.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/config/initializers/secret_token.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/config/initializers/session_store.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/config/initializers/wrap_parameters.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/config/locales/en.yml
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/config/routes.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/config.ru
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/db/migrate/20130122042648_create_posts.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/db/migrate/20130122045842_create_comments.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/db/schema.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/db/seeds.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/Gemfile
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/Gemfile.lock
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/public/404.html
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/public/422.html
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/public/500.html
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/public/favicon.ico
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/public/robots.txt
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/Rakefile
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/README.rdoc
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/test/controllers/comments_controller_test.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/test/controllers/posts_controller_test.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/test/controllers/welcome_controller_test.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/test/fixtures/comments.yml
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/test/fixtures/posts.yml
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/test/helpers/comments_helper_test.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/test/helpers/posts_helper_test.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/test/helpers/welcome_helper_test.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/test/models/comment_test.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/test/models/post_test.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/code/getting_started/test/test_helper.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/rails_guides/generator.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/rails_guides/helpers.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/rails_guides/indexer.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/rails_guides/kindle.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/rails_guides/levenshtein.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/rails_guides/markdown/renderer.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/rails_guides/markdown.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/rails_guides.rb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/Rakefile
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/2_2_release_notes.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/2_3_release_notes.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/3_0_release_notes.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/3_1_release_notes.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/3_2_release_notes.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/4_0_release_notes.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/_license.html.erb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/_welcome.html.erb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/action_controller_overview.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/action_mailer_basics.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/action_view_overview.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/active_model_basics.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/active_record_basics.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/active_record_callbacks.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/active_record_querying.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/active_record_validations.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/active_support_core_extensions.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/active_support_instrumentation.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/api_documentation_guidelines.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/asset_pipeline.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/association_basics.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/caching_with_rails.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/command_line.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/configuring.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/contributing_to_ruby_on_rails.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/credits.html.erb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/debugging_rails_applications.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/development_dependencies_install.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/documents.yaml
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/engines.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/form_helpers.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/generators.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/getting_started.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/i18n.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/index.html.erb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/initialization.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/kindle/copyright.html.erb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/kindle/KINDLE.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/kindle/layout.html.erb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/kindle/rails_guides.opf.erb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/kindle/toc.html.erb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/kindle/toc.ncx.erb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/kindle/welcome.html.erb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/layout.html.erb
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/layouts_and_rendering.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/maintenance_policy.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/migrations.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/nested_model_forms.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/plugins.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/rails_application_templates.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/rails_on_rack.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/routing.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/ruby_on_rails_guides_guidelines.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/security.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/testing.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/upgrading_ruby_on_rails.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/source/working_with_javascript_in_rails.md
/usr/local/lib/ruby/gems/2.0.0/gems/rails-4.0.1/guides/w3c_validator.rb
Successfully installed rails-4.0.1
Parsing documentation for rails-4.0.1
Parsing sources...
100% [260/260] guides/w3c_validator.rb
Done installing documentation for rails after 2 seconds
1 gem installed
Where am I wrong? I have Ruby 2.0.0 installed on my machine.
Can you let us know what this returns?
which rails
You should see something like this:
/Users/<user>/.rvm/gems/ruby-2.0.0-p247/bin
I am assuming you just need to update your PATH with the path to rails.
Make sure that you have something like this at the end of your login script (bash_login, etc):
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
This will ensure rvm is in your path.
Do you have to use sudo to install rails? If not, I would try installing without sudo.
Ok, I sorted it out myself, though the tough way as the railsinstaller doesn't work with Mavericks. Firstly, I uninstalled both rvm and homebrew doing that I accidentally deleted the ruby folder from my /User/bin folder too which deleted the default ruby package.
Now, I downloaded the source code from ruby-lang decompressed it and did a
./configure
make test
make install
which installed the package correctly. Since it was rvm, homebrew and macport clashing, I moved out the macport and used brew to upgrade my ruby install and finally download rails via
gem install rails
Install xcode before installing rails on your mac.

Resources