Sha256: f1b89fe79d54b628520bb1f2c7dd11cc8077aeb4f4482c5db3e44cf145bb4cdb

Contents?: true

Size: 688 Bytes

Versions: 4

Compression:

Stored size: 688 Bytes

Contents

begin
    require "vagrant"
rescue LoadError
    raise "The Vagrant nfs_guest plugin must be run within Vagrant."
end

# This is a sanity check to make sure no one is attempting to install
# this into an early Vagrant version.
if Vagrant::VERSION < "1.4.0"
    raise "The Vagrant nfs_guest plugin is only compatible with Vagrant 1.4+"
end

require "vagrant-nfs_guest/plugin"
require 'vagrant-nfs_guest/errors'

require "pathname"

module VagrantPlugins
  module SyncedFolderNFSGuest
    def self.source_root
      @source_root ||= Pathname.new(File.expand_path("../../", __FILE__))
    end

    I18n.load_path << File.expand_path('locales/en.yml', source_root)
    I18n.reload!
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vagrant-nfs_guest-0.0.4 lib/vagrant-nfs_guest.rb
vagrant-nfs_guest-0.0.3 lib/vagrant-nfs_guest.rb
vagrant-nfs_guest-0.0.2 lib/vagrant-nfs_guest.rb
vagrant-nfs_guest-0.0.1 lib/vagrant-nfs_guest.rb