mercredi 25 février 2015

YML error while changing pod name in diaspora


Vote count:

0




i had diaspora working on my Ubuntu 14.04 PC in development mode.But I want to change my pod name somebody on StackOverflow told me to do this.



1. Open up `config/diaspora.yml`
2. Search for the key pod_name in the settings section
3. Change value to whatever you want and save the file
4. Restart diaspora*


But,it does not seem to work because after falling all these steps i got this error.



ahmed@ahmed-desktop:~/diaspora$ rails s
/home/ahmed/.rvm/rubies/ruby-2.0.0-p598/lib/ruby/2.0.0/psych.rb:205:in `parse': (/home/ahmed/diaspora/config/diaspora.yml): did not find expected key while parsing a block mapping at line 30 column 3 (Psych::SyntaxError)
from /home/ahmed/.rvm/rubies/ruby-2.0.0-p598/lib/ruby/2.0.0/psych.rb:205:in `parse_stream'
from /home/ahmed/.rvm/rubies/ruby-2.0.0-p598/lib/ruby/2.0.0/psych.rb:153:in `parse'
from /home/ahmed/.rvm/rubies/ruby-2.0.0-p598/lib/ruby/2.0.0/psych.rb:129:in `load'
from /home/ahmed/.rvm/rubies/ruby-2.0.0-p598/lib/ruby/2.0.0/psych.rb:299:in `block in load_file'
from /home/ahmed/.rvm/rubies/ruby-2.0.0-p598/lib/ruby/2.0.0/psych.rb:299:in `open'
from /home/ahmed/.rvm/rubies/ruby-2.0.0-p598/lib/ruby/2.0.0/psych.rb:299:in `load_file'
from /home/ahmed/.rvm/gems/ruby-2.0.0-p598/gems/configurate-0.2.0/lib/configurate/provider/yaml.rb:18:in `initialize'
from /home/ahmed/.rvm/gems/ruby-2.0.0-p598/gems/configurate-0.2.0/lib/configurate/lookup_chain.rb:21:in `new'
from /home/ahmed/.rvm/gems/ruby-2.0.0-p598/gems/configurate-0.2.0/lib/configurate/lookup_chain.rb:21:in `add_provider'
from /home/ahmed/diaspora/config/load_config.rb:28:in `block in <top (required)>'
from /home/ahmed/.rvm/gems/ruby-2.0.0-p598/gems/configurate-0.2.0/lib/configurate.rb:71:in `instance_eval'
from /home/ahmed/.rvm/gems/ruby-2.0.0-p598/gems/configurate-0.2.0/lib/configurate.rb:71:in `create'
from /home/ahmed/diaspora/config/load_config.rb:18:in `<top (required)>'
from /home/ahmed/diaspora/config/boot.rb:9:in `require_relative'
from /home/ahmed/diaspora/config/boot.rb:9:in `<top (required)>'
from /home/ahmed/diaspora/bin/rails:7:in `require_relative'
from /home/ahmed/diaspora/bin/rails:7:in `<top (required)>'
from /home/ahmed/.rvm/gems/ruby-2.0.0-p598/gems/spring-1.3.1/lib/spring/client/rails.rb:27:in `load'
from /home/ahmed/.rvm/gems/ruby-2.0.0-p598/gems/spring-1.3.1/lib/spring/client/rails.rb:27:in `call'
from /home/ahmed/.rvm/gems/ruby-2.0.0-p598/gems/spring-1.3.1/lib/spring/client/command.rb:7:in `call'
from /home/ahmed/.rvm/gems/ruby-2.0.0-p598/gems/spring-1.3.1/lib/spring/client.rb:26:in `run'
from /home/ahmed/.rvm/gems/ruby-2.0.0-p598/gems/spring-1.3.1/bin/spring:48:in `<top (required)>'
from /home/ahmed/.rvm/gems/ruby-2.0.0-p598/gems/spring-1.3.1/lib/spring/binstub.rb:11:in `load'
from /home/ahmed/.rvm/gems/ruby-2.0.0-p598/gems/spring-1.3.1/lib/spring/binstub.rb:11:in `<top (required)>'
from /home/ahmed/diaspora/bin/spring:16:in `require'
from /home/ahmed/diaspora/bin/spring:16:in `<top (required)>'
from bin/rails:3:in `load'
from bin/rails:3:in `<main>


asked 38 secs ago







YML error while changing pod name in diaspora

Aucun commentaire:

Enregistrer un commentaire