updated code with extensions,Gemfile need to change with extensions links