Exception: Rodiff::Executable::ExecutableNotFound
- Inherits:
-
Rodiff::Error
- Object
- StandardError
- Rodiff::Error
- Rodiff::Executable::ExecutableNotFound
- Defined in:
- lib/rodiff/executable.rb
Instance Method Summary collapse
-
#initialize(platform, exe_path) ⇒ ExecutableNotFound
constructor
A new instance of ExecutableNotFound.
Constructor Details
#initialize(platform, exe_path) ⇒ ExecutableNotFound
Returns a new instance of ExecutableNotFound.
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/rodiff/executable.rb', line 23 def initialize(platform, exe_path) super( <<~MSG Cannot find the odiff executable for #{platform} in #{exe_path} If you're using bundler, please make sure you're on the latest bundler version: gem install bundler bundle update --bundler Then make sure your lock file includes this platform by running: bundle lock --add-platform #{platform} bundle install See `bundle lock --help` output for details. If you're still seeing this message after taking those steps, try running `bundle config` and ensure `force_ruby_platform` isn't set to `true`. See https://github.com/ryancyq/rodiff#check-bundle_force_ruby_platform for more details. MSG ) end |