uninitialized constant Twitter (NameError)

后端 未结 2 1849
梦谈多话
梦谈多话 2021-01-22 00:13

Hey guys i have a problem i am facing with the twitter gem. I have a file (twitter.rb) with this content

require \"rubygems\"
require \"twitter\"

puts Twitter.u         


        
2条回答
  •  情歌与酒
    2021-01-22 00:37

    Do not name your file as twitter.rb, also make sure there is no other file in the same directory with the name twitter.rb

提交回复
热议问题