public
Description: A bleeding-edge package manager.
Homepage: http://roastbeef.rubyforge.org
Clone URL: git://github.com/technomancy/roast-beef.git
roast beef-ish text
technomancy (author)
Fri Mar 14 23:09:53 -0700 2008
commit  0065f377f9b7d4810e254b36da335029b17f0a9e
tree    9095a60c538833fddd429285f6069b44c8c8d9d8
parent  8af922917aa2428c40a58ccc30e4c5df1228f645
...
8
9
10
11
 
 
12
13
14
 
15
 
16
17
18
19
20
21
22
23
 
 
 
24
25
26
...
8
9
10
 
11
12
13
 
 
14
15
16
17
18
19
20
21
 
 
 
22
23
24
25
26
27
0
@@ -8,19 +8,20 @@ module RoastBeef
0
     # get the depedencies for whatever package manager we are using
0
     def self.install_dependencies(prereqs)
0
       if @manager.nil? and prereqs['manual'].nil?
0
- puts "Warning: no package manager found; dependencies may not be met."
0
+ puts "hang on man: we aren't using a supported package manager.
0
+you will probably have dependency issues."
0
       else
0
- system prereqs[@manager || 'manual'].to_s
0
- system prereqs['all'] if prereqs['all']
0
+ system prereqs[@manager || 'manual']
0
       end
0
+ system prereqs['all'] if prereqs['all']
0
     end
0
 
0
     # dry-run setup to install compiler, scms, etc
0
     def self.setup
0
       system({ 'apt-get' => "sudo apt-get install cvs subversion git-core bzr build-essential autoconf ruby1.8-dev",
0
- 'macports' => "echo 'Hey, try installing the dev tools or something. Also CVS, SVN, Git, Bazaar, and stuff.'"
0
- }[@manager] || "echo 'No package manager detected.
0
-Dependency resolution must be done manually.'")
0
+ 'macports' => "echo 'uh... try installing the dev tools or something. also CVS, SVN, Git, Bazaar, and, you know, other stuff.'"
0
+ }[@manager] || "echo 'hang on man: we aren't using a supported package manager.
0
+you will probably have dependency issues.'")
0
     end
0
   end
0
   # for mac ports dependencies: port install $(port deps $PACKAGE | tail +2)

Comments

    No one has commented yet.