lib/pbmenv/version_pathname.rb in pbmenv-0.1.12 vs lib/pbmenv/version_pathname.rb in pbmenv-0.1.13
- old
+ new
@@ -5,15 +5,15 @@
def initialize(version)
self.version = version
end
def version_path
- File.join(PBM_DIR, "v#{version}")
+ File.join(Pbmenv.pbm_dir, "v#{version}")
end
def version_path_without_v
- File.join(PBM_DIR, "#{version}")
+ File.join(Pbmenv.pbm_dir, "#{version}")
end
def app_rb_path
File.join(version_path, "app.rb")
end
@@ -63,13 +63,13 @@
def self.device_id_path_in_shared
File.join(shared, "device_id")
end
def self.current
- File.join(PBM_DIR, "current")
+ File.join(Pbmenv.pbm_dir, "current")
end
def self.shared
- File.join(PBM_DIR, "shared")
+ File.join(Pbmenv.pbm_dir, "shared")
end
end
end