yeah ... we should be installing the gem :)

This commit is contained in:
Sam 2013-08-26 13:52:15 +10:00
parent 818bf1355d
commit afd1a3ac7b
2 changed files with 1 additions and 2 deletions

View File

@ -454,7 +454,6 @@ class UsersController < ApplicationController
authenticator.after_create_account(user, auth)
end
def register_nickname(user)
if user.valid? && SiteSetting.call_discourse_hub?
DiscourseHub.register_nickname(user.username, user.email)

View File

@ -176,7 +176,7 @@ class Plugin::Instance
unless File.exists? spec_file
command = "gem install #{name} -v #{version} -i #{gems_path} --no-rdoc --no-ri"
puts command
puts `command`
puts `#{command}`
end
if File.exists? spec_file
spec = Gem::Specification.load spec_file