码迷,mamicode.com
首页 > 其他好文 > 详细

pry与ruby版本冲突

时间:2016-04-01 12:46:46      阅读:187      评论:0      收藏:0      [点我收藏+]

标签:

/home/zhenzhen/.rvm/rubies/ruby-1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:135:in `gem_original_require‘: /home/zhenzhen/.rvm/gems/ruby-1.8.7-p374/gems/pry-0.10.3/lib/pry.rb:39: syntax error, unexpected ‘:‘, expecting ‘)‘ (SyntaxError)
output.puts Pry.view_clip(value, id: true)
^
/home/zhenzhen/.rvm/gems/ruby-1.8.7-p374/gems/pry-0.10.3/lib/pry.rb:43: syntax error, unexpected kDO_BLOCK, expecting kEND
DEFAULT_EXCEPTION_HANDLER = proc do |output, exception, _|
^
/home/zhenzhen/.rvm/gems/ruby-1.8.7-p374/gems/pry-0.10.3/lib/pry.rb:43: syntax error, unexpected ‘|‘, expecting ‘=‘
/home/zhenzhen/.rvm/gems/ruby-1.8.7-p374/gems/pry-0.10.3/lib/pry.rb:84: syntax error, unexpected kDO_BLOCK, expecting ‘]‘
proc do |_, _, _pry_|
^
/home/zhenzhen/.rvm/gems/ruby-1.8.7-p374/gems/pry-0.10.3/lib/pry.rb:84: syntax error, unexpected ‘|‘, expecting ‘=‘
/home/zhenzhen/.rvm/gems/ruby-1.8.7-p374/gems/pry-0.10.3/lib/pry.rb:87: syntax error, unexpected ‘,‘, expecting $end
from /home/zhenzhen/.rvm/rubies/ruby-1.8.7-p374/lib/ruby/site_ruby/1.8/rubygems/core_ext/kernel_require.rb:135:in `require‘
from ./script/em_chat:9

pry0.10.12与ruby1.8.7产生冲突

改为pry的低版本如0.9.1

pry与ruby版本冲突

标签:

原文地址:http://www.cnblogs.com/chenzhenzhen/p/5344336.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!