lib/freighthop.rb in freighthop-0.0.3 vs lib/freighthop.rb in freighthop-0.0.4

- old
+ new

@@ -19,11 +19,11 @@ def guest_root Pathname("/srv/#{app_name}") end def app_name - @app_name ||= host_rails_root.basename.to_s + @app_name ||= host_root.basename.to_s end def hostname "#{app_name}.vagrant.dev" end @@ -41,11 +41,11 @@ end def mounts Freighthop::Config.fetch("freighthop::mounts").map do |host, guest| [ - File.expand_path(host_rails_root.join(host)), - File.expand_path(guest_rails_root.join(guest)), + File.expand_path(host_root.join(host)), + File.expand_path(guest_root.join(guest)), ] end end end end