updated gemfile and added command for table creation in script

After cloning the project . Ruby script does not run because of missing gems and missing table . Atleast this has been fixed.