Ruby and Rails Error (Psych::SyntaxError) and -
after experiencing issues ruby.framework deleted , used pacifist reinstall , seemed solve previous issue. seem error when using ruby command.
/users/brandoncontreras/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/psych.rb:370:in `parse': (<unknown>): mapping values not allowed in context @ line 2 column 7 (psych::syntaxerror) /users/brandoncontreras/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/psych.rb:370:in `parse_stream' /users/brandoncontreras/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/psych.rb:318:in `parse' /users/brandoncontreras/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/psych.rb:245:in `load' /users/brandoncontreras/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/rubygems/config_file.rb:333:in `load_file' /users/brandoncontreras/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/rubygems/config_file.rb:198:in `initialize' /users/brandoncontreras/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/rubygems/gem_runner.rb:74:in `new' /users/brandoncontreras/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/rubygems/gem_runner.rb:74:in `do_configuration' /users/brandoncontreras/.rvm/rubies/ruby-2.1.3/lib/ruby/2.1.0/rubygems/gem_runner.rb:39:in `run' /users/brandoncontreras/.rvm/rubies/ruby-2.1.3/bin/gem:21:in `<main>'
it occurred after tried set ruby 2.1 default ruby version
brandons-mbp:~ brandoncontreras$ ruby -v ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-darwin13.0] brandons-mbp:~ brandoncontreras$
all other threads had solutions didn't fix problem. have xcode installed fresh command line developer tools install. been trying set environment on mac 10 days....
edit: tried looking see in config_file.rb
, added puts filename
...what looking for? , not have credentials file in .gem
folder
Comments
Post a Comment