added def to define_index in models/story.rb
rollback last commit
specify ruby version