lib/tapioca/gemfile.rb in tapioca-0.2.7 vs lib/tapioca/gemfile.rb in tapioca-0.2.8
- old
+ new
@@ -86,10 +86,11 @@
attr_reader :full_gem_path
sig { params(spec: Spec).void }
def initialize(spec)
@spec = T.let(spec, Tapioca::Gemfile::Spec)
- @full_gem_path = T.let(@spec.full_gem_path.to_s, String)
+ real_gem_path = File.realpath(@spec.full_gem_path.to_s)
+ @full_gem_path = T.let(real_gem_path, String)
end
sig { params(gemfile_dir: String).returns(T::Boolean) }
def ignore?(gemfile_dir)
gem_ignored? || gem_in_app_dir?(gemfile_dir)