add ruby version check and dependency check
update gemspec and rakefile