I always run into issues with ruby versioning and gems and was wondering if perhaps you could help me understand this issue.
I am using BT5RC3 from Blackhat.
I git pulled the repository and ruby shank.rb leaves me with this:
root@bt:~/shank# ruby shank.rb -x
shank.rb:22:in require': no such file to load -- packetfu (LoadError) from shank.rb:22:in
'
Oh yea, I say to myself, I gotta install packetfu:
root@bt:~/shank# gem install packetfu
Successfully installed packetfu-1.1.5
1 gem installed
Installing ri documentation for packetfu-1.1.5...
Installing RDoc documentation for packetfu-1.1.5...
I try again:
root@bt:~/shank# ruby shank.rb -x
shank.rb:22:in require': no such file to load -- packetfu (LoadError) from shank.rb:22:in
'
I noticed it said that ruby version 1.9 was required. Here is my ruby -v
root@bt:~/shank# ruby -v
ruby 1.9.2dev (2010-07-02) [i486-linux]
Are my gems getting put in another installation of ruby or something? Do you know why this is happening?
I always run into issues with ruby versioning and gems and was wondering if perhaps you could help me understand this issue.
I am using BT5RC3 from Blackhat.
I git pulled the repository and ruby shank.rb leaves me with this:
root@bt:~/shank# ruby shank.rb -x
'shank.rb:22:in
require': no such file to load -- packetfu (LoadError) from shank.rb:22:inOh yea, I say to myself, I gotta install packetfu:
root@bt:~/shank# gem install packetfu
Successfully installed packetfu-1.1.5
1 gem installed
Installing ri documentation for packetfu-1.1.5...
Installing RDoc documentation for packetfu-1.1.5...
I try again:
root@bt:~/shank# ruby shank.rb -x
'shank.rb:22:in
require': no such file to load -- packetfu (LoadError) from shank.rb:22:inI noticed it said that ruby version 1.9 was required. Here is my ruby -v
root@bt:~/shank# ruby -v
ruby 1.9.2dev (2010-07-02) [i486-linux]
Are my gems getting put in another installation of ruby or something? Do you know why this is happening?