Tuesday, March 29, 2011

Error solved at 00:17

Tuesday, March 29, 2011
jr@Ellen:~/Desktop/Finalized$ ruby finish.rb -f ~/Desktop/Malwarefortest/test3.\{OVL\}\{PE\}
./ssdeep.rb:8: uninitialized constant Ssdeep (NameError)
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_require'
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
from finish.rb:6


I renamed my older file in the same directory with "finish.rb" from "ssdeep.rb" to "newly.rb". :)

Or i could have just dumped that "ssdeep.rb" to trash. :D

Saturday, March 12, 2011

Errors with 'require' in Ruby - Ubuntu 10.04

Saturday, March 12, 2011
I encountered some errors when running my code, just out of the blue; so i googled but didn't manage to find answers for the problem.

./curb.rb:17:in `gets': No such file or directory - 6fd9c1c6b63137c7d93139472696b2e3 (Errno::ENOENT)
from ./curb.rb:17
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in `gem_original_require'
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:29:in `require'
from main.rb:18

I had a hunch though, that it might have something to do with my gem, that i tried my luck updating it using the command;

$ sudo gem update -- system

And here is the list of newly updated gems;

$ gem list

*** LOCAL GEMS ***

aaronh-chronic (0.3.9)
abstract (1.0.0)
actionmailer (3.0.5, 2.3.5, 2.3.4)
actionpack (3.0.5, 2.3.5, 2.3.4)
activemodel (3.0.5)
activerecord (3.0.5, 2.3.5, 2.3.4)
activeresource (3.0.5, 2.3.5, 2.3.4)
activesupport (3.0.5, 2.3.5, 2.3.4)
arel (2.0.9)
builder (2.1.2)
bundler (1.0.10)
chronic (0.3.0, 0.2.3)
columnize (0.3.2, 0.3.1)
curb (0.7.12, 0.6.6.0)
erubis (2.6.6)
gemcutter (0.7.0, 0.3.0)
haml (3.0.25, 2.2.17)
hoe (2.9.1, 2.5.0)
hpricot (0.8.4)
i18n (0.5.0)
json_pure (1.5.1, 1.2.0)
linecache (0.43)
mail (2.2.15)
mime-types (1.16)
mysql (2.8.1)
parseconfig (0.5.2)
polyglot (0.3.1)
rack (1.2.1, 1.0.1)
rack-mount (0.6.13)
rack-test (0.5.7)
rails (3.0.5, 2.3.5, 2.3.4)
railties (3.0.5)
rake (0.8.7)
RedCloth (4.2.7, 4.2.2)
ruby-debug (0.10.4, 0.10.3)
ruby-debug-base (0.10.4, 0.10.3)
rubyforge (2.0.4, 2.0.3)
rubygems-update (1.6.2, 1.5.0)
sprockets (1.0.2)
system_timer (1.0)
thor (0.14.6)
tlsmail (0.0.1)
treetop (1.4.9)
tzinfo (0.3.24)
whenever (0.6.6, 0.4.1)


And taraaa... Everything works fine now~ :)
 
@Chiq & Stuff © 2008. Design by Pocket