This may very well be something that I’m doing wrong, but I have a dev setup of discourse on vagrant (that is running fine). I’m now trying to use the disqus.rb import script to bring in my disqus xml comments dump.
Here is what I get:
ruby disqus.rb --file=/vagrant/disqus-forumfixes.xml --post_as=eviltrout --dry_run
disqus.rb:155:in `block in normalize': undefined method `strip!' for nil:NilClass (NoMethodError)
from disqus.rb:148:in `each'
from disqus.rb:148:in `normalize'
from disqus.rb:13:in `initialize'
from disqus.rb:198:in `new'
from disqus.rb:198:in `<main>'
Thinking that the error could be sidestepped by adding something for --strip, I tried the following and got:
ruby disqus.rb --file=/vagrant/disqus-forumfixes.xml --post_as=eviltrout --dry_run --strip=‘juxtapose’
disqus.rb:154:in `block in normalize': undefined method `gsub!' for nil:NilClass (NoMethodError)
from disqus.rb:148:in `each'
from disqus.rb:148:in `normalize'
from disqus.rb:13:in `initialize'
from disqus.rb:198:in `new'
from disqus.rb:198:in `<main>'
Is there something obvious I’m missing? Any guidance on getting this script to run would be greatly appreciated.