```ruby
module AllSeeingPi
  class Camera
    def capture
      `./capture.sh`.strip
    end
  end
end
```

Use relative path for capture script.
user
```ruby
module AllSeeingPi
  class Camera
    attr_reader :script

    def initialize
      @script = File.expand_path('../../../capture.sh', __FILE__)
    end

    def capture
      `#{script}`.strip
    end
  end
end
```
assistant