I am trying to read an Excel file in Rails using Roo.
file = Roo::Spreadsheet.open(path, extension: :xlsx)
On this line I'm getting this error ArgumentError: missing required workbook file from /home/riya/.rvm/gems/ruby-2.6.0/gems/roo-2.8.3/lib/roo/excelx/workbook.rb:23:in 'initialize'
I checked the workbook on this path and it's alright. Not getting what could be the error.