Sha256: 85cab069bbce8a67d0ffe7fae76eaf4e75d96c4c6b9b0f3aad122e5cb550004a
Contents?: true
Size: 873 Bytes
Versions: 3
Compression:
Stored size: 873 Bytes
Contents
begin require "vagrant" rescue LoadError raise "The Vagrant sshfs plugin must be run within Vagrant" end # Only load the gem on Windows since it replaces some methods in Ruby's # Process class. Also load it here before Process.uid is called the first # time by Vagrant. The Process.create() function actually gets used in # lib/vagrant-sshfs/cap/guest/linux/sshfs_forward_mount.rb if Vagrant::Util::Platform.windows? require 'win32/process' end require "vagrant-sshfs/errors" require "vagrant-sshfs/version" require "vagrant-sshfs/plugin" module VagrantPlugins module SyncedFolderSSHFS # Returns the path to the source of this plugin def self.source_root @source_root ||= Pathname.new(File.expand_path('../../', __FILE__)) end I18n.load_path << File.expand_path('locales/synced_folder_sshfs.yml', source_root) I18n.reload! end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
vagrant-sshfs-1.3.0 | lib/vagrant-sshfs.rb |
vagrant-sshfs-1.2.1 | lib/vagrant-sshfs.rb |
vagrant-sshfs-1.2.0 | lib/vagrant-sshfs.rb |