fixed gemfile
hacks in global variable for page
manually adds @pages