0

我正在尝试从 ofx gem 中解析一个 OFX 文件,该文件在 Ubuntu 中运行良好,但在 Mac OS 上给我一个错误。

我正在使用 RVM。以下是详细信息:

红宝石-v
ruby 1.9.2p290(2011-07-09 修订版 32553)

导轨-v
2.3.11

宝石-v
1.6.2

*宝石清单*
nokogiri (1.5.0, 1.4.6)
无 (0.3.1)

-- 控制框架 ----------
c:0065 p:---- s:0320 b:0320 l:000319 d:000319 CFUNC :root
c:0064 p:0052 s:0317 b:0317 l:000316 d:000316 方法 /Users/abc/.rvm/gems/ruby-1.9.2-p290/gems/nokogiri-1.5.0/lib/nokogiri/xml /node.rb:100
c:0063 p:0030 s:0311 b:0309 l:000308 d:000308 方法 /Users/abc/.rvm/gems/ruby-1.9.2-p290/gems/ofx-0.3.1/lib/ofx/parser /ofx102.rb:50
c:0062 p:0025 s:0306 b:0306 l:000305 d:000305 方法 /Users/abc/.rvm/gems/ruby-1.9.2-p290/gems/ofx-0.3.1/lib/ofx/parser /ofx102.rb:26
c:0061 p:0302 s:0303 b:0303 l:000302 d:000302 方法 /Users/abc/Code/RubyUpgrade/app/models/check_clear.rb:38
c:0060 p:---- s:0297 b:0297 l:000296 d:000296 完成
c:0059 p:---- s:0295 b:0295 l:000294 d:000294 CFUNC :new
c:0058 p:0050 s:0289 b:0289 l:001898 d:000288 BLOCK /Users/abc/Code/RubyUpgrade/app/controllers/checks_controller.rb:116
c:0057 p:0182 s:0287 b:0287 l:000286 d:000286 方法 /Users/abc/.rvm/gems/ruby-1.9.2-p290/gems/activerecord-2.3.11/lib/active_record/connection_adapters /abstract/database_state
4

1 回答 1

0

Fix for me was to remove the RVM libiconv package as per instructions here:

https://rvm.io/packages/iconv/

于 2012-05-14T12:54:35.257 回答