updated Gemfiles and got loopworking in main.rb