Sinatra index views pathing wrong

Hi, I am having problems with booting my application when i run Ruby app.rb i get an error saying no such file or directory.
The file should be Project_Spending_Tracker/views/index.erb from the root.

get “/” do
erb :index
end

everything was going smoothly and i have looked at many different options, any help woutl be great.

your error log show it check the file in
'Project_Spending_Tracker/controllers/views/index.erb ’
not in
Project_Spending_Tracker/views/index.erb
maybe you should check your code in app.rb line 13

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs