Crash when remapping domain name

Hey there,

While trying to remap upload URLs since we changed of domain as mentioned in this thread, I get the following error:

/var/www/discourse# script/discourse remap forum.ucoin.io forum.duniter.org

I get:

/usr/local/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- thor (LoadError)
        from /usr/local/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
        from script/discourse:3:in `<main>'

So I cannot perform the remap.

Am I missing something?

Edit: yes I am missing the fact I could run discourse remap forum.ucoin.io forum.duniter.org instead.

gem install thor solves this.

2 Likes