diff options
author | Emilio Tagua <miloops@gmail.com> | 2009-06-10 19:54:27 -0300 |
---|---|---|
committer | Emilio Tagua <miloops@gmail.com> | 2009-06-10 19:54:27 -0300 |
commit | 247ac954132222fdd399cddc264bc1d4029f750c (patch) | |
tree | 680a07197aa207279a3455327c62843b256fe88a /railties/lib/rails | |
parent | d7b98b3ca855418f88a9e979d32c1710040b3038 (diff) | |
parent | 47ff57f6d14fe161900bf85e2d2cf6d7e21a1eb8 (diff) | |
download | rails-247ac954132222fdd399cddc264bc1d4029f750c.tar.gz rails-247ac954132222fdd399cddc264bc1d4029f750c.tar.bz2 rails-247ac954132222fdd399cddc264bc1d4029f750c.zip |
Merge commit 'rails/master'
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/gem_dependency.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/gem_dependency.rb b/railties/lib/rails/gem_dependency.rb index 3a82202bd0..3cc75494e4 100644 --- a/railties/lib/rails/gem_dependency.rb +++ b/railties/lib/rails/gem_dependency.rb @@ -34,7 +34,7 @@ module Rails name = directory_name_parts[0..-2].join('-') version = directory_name_parts.last result = self.new(name, :version => version) - spec_filename = File.join(unpacked_path, directory_name, '.specification') + spec_filename = File.join(directory_name, '.specification') if load_spec raise "Missing specification file in #{File.dirname(spec_filename)}. Perhaps you need to do a 'rake gems:refresh_specs'?" unless File.exists?(spec_filename) spec = YAML::load_file(spec_filename) |