rikai / Showbot

🤖 An omnipresent multi-platform bot who's goal in life is become Skynet 🤖
MIT License
40 stars 18 forks source link

Setting up Showbot in a new environment throws locale error #94

Closed thefirstofthe300 closed 7 years ago

thefirstofthe300 commented 7 years ago

Run from a freshly cloned and installed environement following the steps outlined in the README:

thefirstofthe300:~/workspace (devel) $ foreman run rake db:migrate rake aborted! I18n::InvalidLocale: nil is not a valid locale /usr/local/rvm/gems/ruby-2.1.2/gems/i18n-0.7.0/lib/i18n.rb:284:in enforce_available_locales!' /usr/local/rvm/gems/ruby-2.1.2/gems/i18n-0.7.0/lib/i18n/config.rb:34:indefault_locale=' /home/ubuntu/workspace/environment.rb:21:in block in <top (required)>' /usr/local/rvm/gems/ruby-2.1.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1411:inconfigure' /usr/local/rvm/gems/ruby-2.1.2/gems/sinatra-1.4.7/lib/sinatra/base.rb:1981:in block (2 levels) in delegate' /home/ubuntu/workspace/environment.rb:15:in<top (required)>' /home/ubuntu/workspace/Rakefile:63:in require' /home/ubuntu/workspace/Rakefile:63:inblock in <top (required)>' /usr/local/rvm/gems/ruby-2.1.2/gems/rake-11.3.0/exe/rake:27:in <top (required)>' /usr/local/rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:ineval' /usr/local/rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in `

' Tasks: TOP => db:migrate => environment (See full trace by running task with --trace)

rikai commented 7 years ago

https://github.com/rikai/Showbot/blob/master/.env.example#L4-L6

Do you not have a .env?

rikai commented 7 years ago

This is documented here

thefirstofthe300 commented 7 years ago

Ignore the dummy in the corner...