JoshCheek / miniature-octo-ironman

It's small. It had 8 legs. It sells weapons of mass comprehension to the most eager learner!
4 stars 4 forks source link

Rake bootstrap shouldn't blow up if I already have the dependencies #36

Open JoshCheek opened 9 years ago

JoshCheek commented 9 years ago

screenshot 2014-10-16 13 16 48

tyrbo commented 9 years ago

Seems like we can probably use http://www.ruby-doc.org/stdlib-2.0.0/libdoc/mkmf/rdoc/MakeMakefile.html#method-i-find_executable from the stl to determine if phantomjs, cmake, or pkg-config are installed prior to running brew install.

I saw a way of handling it using brew, but someone else brought up a good point that not everyone installs things with homebrew.

JoshCheek commented 9 years ago

Well, the bootstrap script assumes they do. If they want to use something else, they'll have to translate it anyway, like we did on the server.