GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Rubygem
Description: Merb Core: All you need. None you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-core.git
Renamed install_from_source => install_gem_from_source (as it was before)
fabien (author)
Fri Oct 10 10:29:26 -0700 2008
commit  0a55cb2ea134970d216a503606885f29724a57d9
tree    20523df3be3f58094496fe7de5938d220e654746
parent  77d9ce0c4f138a7bcae3e42d87093c5dde63c59a
...
118
119
120
121
122
123
124
 
 
 
 
125
126
127
...
118
119
120
 
 
 
 
121
122
123
124
125
126
127
0
@@ -118,10 +118,10 @@ module GemManagement
0
   # Install a gem from source - builds and packages it first then installs.
0
   #
0
   # Examples:
0
- # install_from_source(source_dir, :install_dir => ...)
0
- # install_from_source(source_dir, gem_name)
0
- # install_from_source(source_dir, :skip => [...])
0
- def install_from_source(source_dir, *args)
0
+ # install_gem_from_source(source_dir, :install_dir => ...)
0
+ # install_gem_from_source(source_dir, gem_name)
0
+ # install_gem_from_source(source_dir, :skip => [...])
0
+ def install_gem_from_source(source_dir, *args)
0
     Dir.chdir(source_dir) do
0
       options = args.last.is_a?(Hash) ? args.pop : {}
0
       gem_name = args[0] || File.basename(source_dir)
...
9
10
11
12
 
13
14
15
...
9
10
11
 
12
13
14
15
0
@@ -9,7 +9,7 @@ module Merb
0
       defaults = { :cache => false }
0
       defaults[:install_dir] = ENV['GEM_DIR'] if ENV['GEM_DIR']
0
       opts = defaults.merge(options)
0
- install_from_source(Dir.pwd, name, opts)
0
+ install_gem_from_source(Dir.pwd, name, opts)
0
       ensure_wrapper(opts[:install_dir] || Gem.default_dir, name)
0
     end
0
     

Comments

    No one has commented yet.