kandanapp / kandan

Kandan is an Open Source Alternative to HipChat
GNU Affero General Public License v3.0
2.72k stars 405 forks source link

Kandan error production start #373

Closed pasuder closed 9 years ago

pasuder commented 10 years ago

bundle exec thin start RAILS_ENV=production produces error:

/var/lib/gems/2.1.0/gems/thin-1.6.2/lib/thin/controllers/controller.rb:37:in `start': wrong number of arguments (1 for 0) (ArgumentError)
    from /var/lib/gems/2.1.0/gems/thin-1.6.2/lib/thin/runner.rb:199:in `run_command'
    from /var/lib/gems/2.1.0/gems/thin-1.6.2/lib/thin/runner.rb:155:in `run!'
    from /var/lib/gems/2.1.0/gems/thin-1.6.2/bin/thin:6:in `<top (required)>'
    from /usr/local/bin/thin:23:in `load'
    from /usr/local/bin/thin:23:in `<main>'
scouttyg commented 9 years ago

What version of the thin gem are you using?

pasuder commented 9 years ago

I looks that it was 1.6.2.

elliotslab commented 9 years ago

Don't know if this helps but I run with the command RAILS_ENV=production bundle exec thin start