ruby version added to gemfile
explorer nil check added