Environment for rake, fix smart_index
Merge pull request #1 from swapnilabnave/master

Environment for rake tasks and fix smart_index