LoadError: no such file to load -- typhoeus

1,364 views
Skip to first unread message

ethicalhack3r

unread,
Jun 12, 2011, 4:26:10 AM6/12/11
to Typhoeus
Hi,

I have had the same error across multiple boxes while trying to get
typhoeus up and running.

irb(main):002:0> require 'typhoeus'
LoadError: no such file to load -- typhoeus
from (irb):2:in `require'
from (irb):2
from /usr/bin/irb:12:in `<main>'

root@bt:~# gem list

*** LOCAL GEMS ***

abstract (1.0.0)
actionmailer (3.0.6)
actionpack (3.0.6)
activemodel (3.0.6)
activerecord (3.0.6)
activeresource (3.0.6)
activesupport (3.0.6)
arel (2.0.9)
builder (2.1.2)
bundler (1.0.13)
diff-lcs (1.1.2)
erubis (2.6.6)
factory_girl (1.3.3)
i18n (0.5.0)
mail (2.2.19)
mime-types (1.16)
mysql (2.8.1)
nokogiri (1.4.4)
polyglot (0.3.1)
rack (1.2.2)
rack-mount (0.6.14)
rack-test (0.5.7)
rails (3.0.6)
railties (3.0.6)
rake (0.8.7)
RedCloth (4.2.5)
rspec (2.5.0)
rspec-core (2.5.2)
rspec-expectations (2.5.0)
rspec-mocks (2.5.0)
rspec-rails (2.5.0)
sqlite3-ruby (1.2.5)
thor (0.14.6)
treetop (1.4.9)
typhoeus (0.2.4)
tzinfo (0.3.27)

root@bt:~# sudo apt-get install libcurl4-gnutls-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libcurl4-gnutls-dev is already the newest version.
The following packages were automatically installed and are no longer
required:
libdmraid1.0.0.rc16 sqlite python-pyicu libdebian-installer4
cryptsetup
libecryptfs0 reiserfsprogs rdate bogl-bterm ecryptfs-utils
libdebconfclient0
dmraid
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

root@bt:~# uname -a
Linux bt 2.6.38 #1 SMP Thu Mar 17 20:52:18 EDT 2011 i686 GNU/Linux

bal...@gmail.com

unread,
Jun 12, 2011, 3:19:56 PM6/12/11
to typh...@googlegroups.com
Hi! You are missing a require clause:


irb(main):002:0> require 'typhoeus'
LoadError: no such file to load -- typhoeus
from (irb):2:in `require'
from (irb):2
from :0
irb(main):003:0> require 'rubygems'
=> true
irb(main):004:0> require 'typhoeus'
=> true
irb(main):005:0>

Alexis



On , ethicalhack3r <ryande...@gmail.com> wrote:
> Hi,
>
>
>
> I have had the same error across multiple boxes while trying to get
>
> typhoeus up and running.
>
>
>
> irb(main):002:0> require 'typhoeus'
>
> LoadError: no such file to load -- typhoeus
>
>        from (irb):2:in `require'
>
>        from (irb):2
>
>        from /usr/bin/irb:12:in `'
> --
>
> You received this message because you are subscribed to the Google Groups "Typhoeus" group.
>
> To post to this group, send email to typh...@googlegroups.com.
>
> To unsubscribe from this group, send email to typhoeus+u...@googlegroups.com.
>
> For more options, visit this group at http://groups.google.com/group/typhoeus?hl=en.
>
>
>
>

Ryan Dewhurst

unread,
Jun 12, 2011, 6:03:17 PM6/12/11
to typh...@googlegroups.com
Thank you for the reply Alexis.

My problem persists. :(

This is my output:

irb(main):001:0> require 'rubygems'
=> false

irb(main):002:0> require 'typhoeus'
LoadError: no such file to load -- typhoeus
    from (irb):2:in `require'
    from (irb):2
    from /usr/bin/irb:12:in `<main>'

David Balatero

unread,
Jun 13, 2011, 3:52:28 PM6/13/11
to typh...@googlegroups.com
What happens if you run

gem 'typhoeus'

?

Ryan Dewhurst

unread,
Jun 13, 2011, 3:54:54 PM6/13/11
to typh...@googlegroups.com
Hi David,

Thank you for the reply.

Here is the output:

gem 'typhoeus'
ERROR:  While executing gem ... (RuntimeError)
    Unknown command typhoeus

--

David Balatero

unread,
Jun 13, 2011, 5:42:56 PM6/13/11
to typh...@googlegroups.com
You should get output more along these lines:

yoda:~ dbalatero$ irb
>> gem 'typhoeus'
Gem::LoadError: Could not find RubyGem typhoeus (>= 0)

(That's me on my new laptop that doesn't have it properly installed.)

Here's my info:

yoda:~ dbalatero$ ruby -v
ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0]

yoda:~ dbalatero$ gem -v
1.3.5

- David

Ryan Dewhurst

unread,
Jun 15, 2011, 11:43:26 AM6/15/11
to typh...@googlegroups.com
It seems to load fine when installing like so:

gem install --user-install typhoeus


irb(main):001:0> require 'rubygems'
=> false
irb(main):002:0> require 'typhoeus'
=> true

Must be my system paths that are messed up for some reason?!

Thanks to all whom replied. :)

--
Reply all
Reply to author
Forward
0 new messages