modified the gemlearn.rb