aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/formula_installer.rb
AgeCommit message (Collapse)Author
2011-03-12Fix UnsatisfiedExternalDependencyErrorGeorge Kulakowski
The refactor branch doesn't catch the UEDE and print the error message containing information about which dependency and how to install it. This adds back that logic. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-12Fix 'brew install f' for already-installed brews.Adam Vandenberg
2011-03-12More modular cmd/install and FormulaInstallerMax Howell
2010-10-21fix jruby external depsAdam Vandenberg
2010-08-07ARGV - rename method that conflicts with optparseAdam Vandenberg
optparse adds an "options" method to ARGV, and so does Homebrew. Rename this method (and remove optparse blocking script) so that Homebrew plays nicer with external Ruby software. This fixes the issue where "gem install thin" would break "brew server", for instance.
2010-07-21Fix message and undent for external depsAdam Vandenberg
2010-07-18Make expand_deps a class functionMax Howell
2010-07-18Some String.dedent actionMax Howell
2010-04-09Support jruby external dependencies.Adam Vandenberg
* Add tests that run only if 'jruby' is installed. * Note that if your formula has :jruby deps, it should likely "depend_on 'jruby'" as well.
2010-03-19Fix external perl checker.Adam Vandenberg
2010-02-25Add support for external ruby deps, and fix external deps system.Andre Arko
Kernel#system special-cases the first argument, so you have to make the first argument the entire command to be invoked, and subsequent arguments the actual arguments to that command. In order to use the user's interpreter, the first argument must be "/usr/bin/env <name>". Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-01-17Don't require beer_eventsMax Howell
RubyCocoa is a large dependency, and any large system can cause unexpected errors. In this case the user's system was badly setup and RubyCocoa caused a dynamic loader issue. We don't use beer_events currently due to other bugs that occurred sporadically with its use. So requiring it is unnecessary. So lets save ourselves trouble. Fixes Homebrew/homebrew#487
2010-01-13Support Perl/CPAN external dependenciesMax Howell
WhoHas requires LWP::UserAgent.
2010-01-13Adds: depends_on 'simplejson' => :pythonMax Howell
So far we only added python, but we can add more. Fixes Homebrew/homebrew#401
2009-12-02Nice the install processMax Howell
Makes a big difference on OS X, you can still use the GUI and that.
2009-11-11Disable watch_out_for_spill temporarilyMax Howell
It's a great feature but it seems to conflict with our new system() replacement. Clearly the bug is still in our system() but what exactly it is is not clear and this bug sucks. See Homebrew/homebrew#124
2009-11-09Don't use Kernel.system muchMax Howell
It just seems to behave strangely with SIGINT. Eg. SIGINT causes tar to exit, but the SIGINT is ignored by our process. This is not the case when used with curl.
2009-11-08Use our own popen implementation in Formula.systemMax Howell
The rationale here is that the --verbose mode had a bug where it didn't escape its parameters properly. Which caused ocassionally cryptic issues.
2009-11-07brew install improvementsMax Howell
Couldn't make this atomic, apologies. Fixes a few things, like deps failing to build not aborting the install. --force now works properly again. Overall more robust code. I went back over it all and gave it a lot of thought. Cleaner separation of logic. Less code in brew, now the only code there is ARGV handling, and basic sanity checks. Not extending ARGV or ENV in global now as that would propagate to other tools or utilities you may write.