Skip to content

IRB error #1

parameme opened this Issue Mar 19, 2013 · 1 comment

2 participants


My IRB is currently borked due to an encoding issue....

/Users/lachlanpitts/.rbenv/versions/1.9.3-p374/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/lachlanpitts/.rbenv/versions/1.9.3-p374/bin/irb --prompt simple
/Users/lachlanpitts/.rbenv/versions/1.9.3-p374/lib/ruby/1.9.1/irb/init.rb:237:in `load': /Users/lachlanpitts/.irbrc:263: invalid multibyte char (US-ASCII) (SyntaxError)
/Users/lachlanpitts/.irbrc:263: invalid multibyte char (US-ASCII)
/Users/lachlanpitts/.irbrc:263: syntax error, unexpected $end, expecting '}'
  :PROMPT_I => "#{ANSI[:BLUE]} »#{ANSI[:RESET]} ",
    from /Users/lachlanpitts/.rbenv/versions/1.9.3-p374/lib/ruby/1.9.1/irb/init.rb:237:in `run_config'
    from /Users/lachlanpitts/.rbenv/versions/1.9.3-p374/lib/ruby/1.9.1/irb/init.rb:20:in `setup'
    from /Users/lachlanpitts/.rbenv/versions/1.9.3-p374/lib/ruby/1.9.1/irb.rb:53:in `start'
    from /Users/lachlanpitts/.rbenv/versions/1.9.3-p374/bin/irb:12:in `<top (required)>'
    from -e:1:in `load'
    from -e:1:in `<main>'

Perhaps we need to remove the --marker in the IRB configuration section of freshrc


@twe4ked twe4ked closed this in 346d92e Mar 19, 2013
twe4ked commented Mar 19, 2013

Thanks @parameme. Should be fixed now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.