lib/entangler/executor/validation/master.rb in entangler-1.3.3 vs lib/entangler/executor/validation/master.rb in entangler-1.4.0

- old
+ new

@@ -49,20 +49,20 @@ def validate_remote_entangler_version return unless @opts[:remote_mode] res = `#{generate_ssh_command('entangler --version', source_rvm: true)}` if res.empty? - msg = 'Entangler is not installed on the remote server.' \ - ' Install Entangler on the remote server (SSH in, then `gem install entangler`), then try again.' + msg = 'Entangler is not installed on the remote server. ' \ + 'Install Entangler on the remote server (SSH in, then `gem install entangler`), then try again.' raise Entangler::NotInstalledOnRemoteError, msg end remote_version = Gem::Version.new(res.strip) local_version = Gem::Version.new(Entangler::VERSION) return unless major_version_mismatch?(local_version, remote_version) - msg = 'Entangler version too far apart, please update either local or remote Entangler.' \ - " Local version is #{local_version} and remote version is #{remote_version}." + msg = 'Entangler version too far apart, please update either local or remote Entangler. ' \ + "Local version is #{local_version} and remote version is #{remote_version}." raise Entangler::VersionMismatchError, msg end def major_version_mismatch?(version1, version2) version1.segments[0] != version2.segments[0] ||