Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error al iniciar el servidor en local. #243

Open
tebayoso opened this issue Jul 10, 2013 · 2 comments
Open

Error al iniciar el servidor en local. #243

tebayoso opened this issue Jul 10, 2013 · 2 comments

Comments

@tebayoso
Copy link

Al tratar de inicializar el servidor, tanto por Rails Server como por bundle exec thin start -p 8080 me lanza el siguiente error:

missing env vars: please set FACEBOOK_APP_ID and FACEBOOK_SECRET with your app credentials

He comprobado el fichero app_config.yml donde están definidas estas variables y aparecen vacías.

@joker-x
Copy link
Contributor

joker-x commented Aug 15, 2013

Me funciona con este app_config.yml

defaults: &defaults
  social_council_email: ''
  gw_domain: ''
  twitter_consumer_key: ''
  twitter_consumer_secret: ''
  twitter_oauth_token: ''
  twitter_oauth_token_secret: ''
  facebook_token: ''
  facebook_page_token: ''
  facebook_app_id: ''
  facebook_app_secret: ''
  our_fax_number: ''
  our_fax_password: ''
  fax_email_address: ''
  fax_email_port: 995
  fax_email_user_name: ''
  fax_email_password: ''
  FACEBOOK_APP_ID: ''
  FACEBOOK_SECRET: ''

development:
  <<: *defaults
  domain: "http://localhost:8888"
  host: "localhost:8888"

test:
  <<: *defaults
  domain: "http://localhost:8888"
  host: "localhost:8888"

production:
  <<: *defaults
  domain: "https://oiga.me"
  host: "oiga.me"

Lo arranco con:

joker@ksa:~/webs/tech/oigame$ bundle exec thin start -p 8888
>> Using rack adapter
/var/lib/gems/1.9.1/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251:in `block in require': iconv will be deprecated in the future, use String#encode instead.
>> Thin web server (v1.5.1 codename Straight Razor)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:8888, CTRL+C to stop

Por si te sirve de ayuda ;)

@tebayoso
Copy link
Author

tebayoso commented Sep 8, 2013

Lo que he hecho es comentar el /config/initializers/facebook.rb en la linea del abort.
Que era la que daba problemas.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants