Tag: pcap

Ruby 1.9.2和pcap gem? 编译错误

我在使用ruby 1.9.2安装pcap gem时遇到问题…它在1.8.7下工作正常。 有谁知道发生了什么? wuntee@wuntee:~$ rvm use system Now using system ruby. wuntee@wuntee:~$ ruby -v ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] wuntee@wuntee:~$ gem install pcap WARNING: Installing to ~/.gem since /Library/Ruby/Gems/1.8 and /usr/bin aren’t both writable. WARNING: You don’t have /Users/wuntee/.gem/ruby/1.8/bin in your PATH, gem executables will not run. Building native extensions. This could take […]