I am trying to run bundle exec db:migrate but get stuck with a load error:
rake aborted!
LoadError: cannot load such file -- sinatra/activerecord/rake/activerecord_6
I'm pretty sure this has to be a configuration error as the actuall code is from a bootcamp and has worked under their enviroment.
I have tried tracing the file locations referred to in the rakefile, db migration script, and evniroment.rb to make sure that I havnt moved something important around.
this is the full error when trying to run bundle exec db:migrate
rake aborted!
LoadError: cannot load such file -- sinatra/activerecord/rake/activerecord_6
/home/ryan/.rvm/gems/ruby-2.6.3/gems/sinatra-activerecord-2.0.13/lib/sinatra/activerecord/rake.rb:2:in `require'
/home/ryan/.rvm/gems/ruby-2.6.3/gems/sinatra-activerecord-2.0.13/lib/sinatra/activerecord/rake.rb:2:in `<top (required)>'
/home/ryan/projects/finstagram2/finstagram-master/Rakefile:2:in `require'
/home/ryan/projects/finstagram2/finstagram-master/Rakefile:2:in `<top (required)>'
/home/ryan/.rvm/gems/ruby-2.6.3/gems/rake-12.3.3/exe/rake:27:in `<top (required)>'
/home/ryan/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `eval'
/home/ryan/.rvm/gems/ruby-2.6.3/bin/ruby_executable_hooks:24:in `<main>'
(See full trace by running task with --trace)