public
Description: A quick and dirty dependency finder for your Ruby projects
Homepage: http://rubyforge.org/projects/depth-charge/
Clone URL: git://github.com/bscofield/depth-charge.git
Search Repo:
fix bug where ~ not recognized
bscofield (author)
Fri Feb 29 07:18:36 -0800 2008
commit  bc2b0c3cd0732f9d7cf29467285f8c3a7a35eb71
tree    6c4a473bac82bf22e4d23ceb9c8149c26ddfa31f
parent  847e37e307a3cc0adcd68c5bf13790c5737c8af4
...
1
2
3
4
 
 
 
5
6
7
...
1
2
3
 
4
5
6
7
8
9
0
@@ -1,7 +1,9 @@
0
 $:.unshift File.dirname(__FILE__)
0
 
0
 module DepthCharge
0
- USER_HOME = File.expand_path('~') unless const_defined?(:USER_HOME)
0
+ unless const_defined?(:USER_HOME)
0
+ USER_HOME = File.expand_path('~') rescue File.expand_path('.')
0
+ end
0
 
0
   class << self
0
     def gem_list(scope = 'local')

Comments

    No one has commented yet.