fixed error for rubygems in Gemfile and bug in qed --help

before reactivaing the self.settings method and storing settings in an ivar
```
qed --help
```

insulted the user with something like  undefined local variable or method `settings'