librelist archives

« back to archive

LoadError?

LoadError?

From:
Ian Cabell
Date:
2010-03-12 @ 22:55
I'm getting a LoadError when I try to "require 'hpricot'", and yes - I have
"require 'rubygems'" just before that.  The error code is:

# ruby test2.rb
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load -- hpricot (LoadError)
    from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
`require'
    from test2.rb:2

test2.rb just has:
require 'rubygems'
require 'hpricot'
puts "Done."


gem list --local shows
hpricot (0.8.2)

I'm sure there's other information I've forgotten - anyone have any ideas
why it won't work?
--Ian
----------------------------
Ian Cabell
RadiantWeb Website Hosting and Design Services
ian.cabell@gmail.com
http://www.radiantweb.net

"There is more than one right way .. to make it perfect!"

Re: LoadError?

From:
Ian Cabell
Date:
2010-03-30 @ 18:04
Unfortunately, Mischa and I weren't able to find another installation of
hpricot on the server that might be getting in the way of my local install.
Does anyone have any other ideas on why this might not be working?

--Ian
----------------------------
Ian Cabell
RadiantWeb Website Hosting and Design Services
ian.cabell@gmail.com
http://www.radiantweb.net

"There is more than one right way .. to make it perfect!"


On Fri, Mar 12, 2010 at 4:55 PM, Ian Cabell <ian.cabell@gmail.com> wrote:

> I'm getting a LoadError when I try to "require 'hpricot'", and yes - I have
> "require 'rubygems'" just before that.  The error code is:
>
> # ruby test2.rb
> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require': no such file to load -- hpricot (LoadError)
>     from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `require'
>     from test2.rb:2
>
> test2.rb just has:
> require 'rubygems'
> require 'hpricot'
> puts "Done."
>
>
> gem list --local shows
> hpricot (0.8.2)
>
> I'm sure there's other information I've forgotten - anyone have any ideas
> why it won't work?
> --Ian
> ----------------------------
> Ian Cabell
> RadiantWeb Website Hosting and Design Services
> ian.cabell@gmail.com
> http://www.radiantweb.net
>
> "There is more than one right way .. to make it perfect!"
>

Re: [hpricot] LoadError?

From:
Mischa Molhoek
Date:
2010-03-16 @ 10:06
could not decode message

Re: [hpricot] LoadError?

From:
Ian Cabell
Date:
2010-03-16 @ 18:32
I'm not sure what dpkg is - I don't seem to have it on this server:
# dpkg -l|grep hpricot
-bash: dpkg: command not found

Should I still do the apt-get?

--Ian
----------------------------
Ian Cabell
RadiantWeb Website Hosting and Design Services
ian.cabell@gmail.com
http://www.radiantweb.net

"There is more than one right way .. to make it perfect!"


On Tue, Mar 16, 2010 at 5:06 AM, Mischa Molhoek <mischa@solidcode.net>wrote:

>  check if you have libhpricot-ruby also installed
> > dpkg -l|grep  hpricot
>
> if so , it's in the way. or at least that was the problem in my case
>
> just > apt-get remove --purge libhpricot-ruby
> and try again after that.
>
> grtz,
>
> Mischa
>
>
> On 03/12/2010 11:55 PM, Ian Cabell wrote:
>
> I'm getting a LoadError when I try to "require 'hpricot'", and yes - I have
> "require 'rubygems'" just before that.  The error code is:
>
> # ruby test2.rb
> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require': no such file to load -- hpricot (LoadError)
>     from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `require'
>     from test2.rb:2
>
> test2.rb just has:
> require 'rubygems'
> require 'hpricot'
> puts "Done."
>
>
> gem list --local shows
> hpricot (0.8.2)
>
> I'm sure there's other information I've forgotten - anyone have any ideas
> why it won't work?
> --Ian
> ----------------------------
> Ian Cabell
> RadiantWeb Website Hosting and Design Services
> ian.cabell@gmail.com
> http://www.radiantweb.net
>
> "There is more than one right way .. to make it perfect!"
>
>

Re: [hpricot] LoadError?

From:
Mischa Molhoek
Date:
2010-03-17 @ 08:03
could not decode message

Re: [hpricot] LoadError?

From:
i5m
Date:
2010-03-15 @ 13:08
Sorry for the delay in replying. What do you get if you do:

which gem
which ruby
gem env

?

Do you have the same problem with other gems? It's probably an issue with
paths and ruby not being able to find the gem.


-----------------------
i5m.co.uk
GPG Key: 0xA18A602B


On Fri, Mar 12, 2010 at 10:55 PM, Ian Cabell <ian.cabell@gmail.com> wrote:

> I'm getting a LoadError when I try to "require 'hpricot'", and yes - I have
> "require 'rubygems'" just before that.  The error code is:
>
> # ruby test2.rb
> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `gem_original_require': no such file to load -- hpricot (LoadError)
>     from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
> `require'
>     from test2.rb:2
>
> test2.rb just has:
> require 'rubygems'
> require 'hpricot'
> puts "Done."
>
>
> gem list --local shows
> hpricot (0.8.2)
>
> I'm sure there's other information I've forgotten - anyone have any ideas
> why it won't work?
> --Ian
> ----------------------------
> Ian Cabell
> RadiantWeb Website Hosting and Design Services
> ian.cabell@gmail.com
> http://www.radiantweb.net
>
> "There is more than one right way .. to make it perfect!"
>

Re: [hpricot] LoadError?

From:
i5m
Date:
2010-03-17 @ 22:59
Ian,

Sorry not had time to look today, but that command should have  
returned an array with the paths to where Hpricot is installed.

I think something is up with your paths. But I haven't figured out  
what yet. Hopefully Mischa is on to something (I don't think  it is a  
problem with Hpricot itself).

In the meantime a couple of threads that might be worth reading through:

http://www.ruby-forum.com/topic/126157

http://bugs.archlinux.org/task/12631


On 16 Mar 2010, at 23:03, Ian Cabell <ian.cabell@gmail.com> wrote:

> I get the following:
>
> # irb
> irb(main):001:0> require 'rubygems'
> => true
> irb(main):002:0> Gem.find_files('hpricot')
> => []
> irb(main):003:0>
>
> Thanks again for all your help :)
> --Ian
> ----------------------------
> Ian Cabell
> RadiantWeb Website Hosting and Design Services
> ian.cabell@gmail.com
> http://www.radiantweb.net
>
> "There is more than one right way .. to make it perfect!"

Re: [hpricot] LoadError?

From:
i5m
Date:
2010-03-16 @ 19:56
Ian,

Well it doesn't seem to be finding any local gems. Just remote. It  
should have returned the path that the gem was installed at.

So that seems to be the problem.

What's your $PATH? (echo $PATH)



On 16 Mar 2010, at 18:31, Ian Cabell <ian.cabell@gmail.com> wrote:

> This does seem to see versions of hpricot, including the latest:
>
> # gem list -d hpricot
>
> *** REMOTE GEMS ***
>
> hpricot (0.8.2, 0.6.164)
>     Platforms:
>         0.6.164: jruby, mswin32
>         0.8.2: java, ruby, x86-mswin32
>     Author: why the lucky stiff
>     Rubyforge: http://rubyforge.org/projects/hobix
>     Homepage: http://code.whytheluckystiff.net/hpricot/
>
>     a swift, liberal HTML parser with a fantastic library
>
> hpricot-scrub (0.2.0)
>     Author: UnderpantsGnome
>     Rubyforge: http://rubyforge.org/projects/hpricot-scrub
>     Homepage: http://trac.underpantsgnome.com/hpricot_scrub/
>
>     Scrub HTML with Hpricot
>
> hpricot_scrub (0.3.10)
>     Authors: UnderpantsGnome (Michael Moen), minaguib (Mina Naguib)
>     Homepage: http://github.com/UnderpantsGnome/hpricot_scrub
>
>     Scrub HTML with Hpricot
>
> --Ian
> ----------------------------
> Ian Cabell
> RadiantWeb Website Hosting and Design Services
> ian.cabell@gmail.com
> http://www.radiantweb.net
>
> "There is more than one right way .. to make it perfect!"
>
>
> On Mon, Mar 15, 2010 at 7:08 PM, i5m <i5ivem@googlemail.com> wrote:
> Ian,
>
> what does
>
> gem list -d hpricot
>
> return?
>
>
>
> -----------------------
> i5m.co.uk
> GPG Key: 0xA18A602B
>
>
> On Mon, Mar 15, 2010 at 8:11 PM, Ian Cabell <ian.cabell@gmail.com>  
> wrote:
> Hi!  Thanks for the response!
>
> I get the following:
>
> radiantw@radiantweb.net [~]# which ruby
> /usr/bin/ruby
> radiantw@radiantweb.net [~]# gem env
> RubyGems Environment:
>   - RUBYGEMS VERSION: 1.3.6
>   - RUBY VERSION: 1.8.7 (2008-06-20 patchlevel 22) [i686-linux]
>   - INSTALLATION DIRECTORY: /home/radiantw/ruby/gems
>   - RUBY EXECUTABLE: /usr/bin/ruby
>   - EXECUTABLE DIRECTORY: /home/radiantw/ruby/gems/bin
>   - RUBYGEMS PLATFORMS:
>     - ruby
>     - x86-linux
>   - GEM PATHS:
>      - /home/radiantw/ruby/gems
>   - GEM CONFIGURATION:
>      - :update_sources => true
>      - :verbose => true
>      - :benchmark => false
>      - :backtrace => false
>      - :bulk_threshold => 1000
>      - "gempath" => []
>      - "gem" => "--remote --gen-rdoc --run-tests"
>      - "gemhome" => "/home/radiantw/ruby/gems"
>      - "rdoc" => "--inline-source --line-numbers"
>   - REMOTE SOURCES:
>      - http://rubygems.org/
>
> Thanks again for your help!
>
> --Ian
> ----------------------------
> Ian Cabell
> RadiantWeb Website Hosting and Design Services
> ian.cabell@gmail.com
> http://www.radiantweb.net
>
> "There is more than one right way .. to make it perfect!"
>
>
>
>

Re: [hpricot] LoadError?

From:
Ian Cabell
Date:
2010-03-16 @ 20:17
Hm. Not local?  Listing local gems produces:

# gem list --local

*** LOCAL GEMS ***

hpricot (0.8.2)

My PATH is:
# echo $PATH

/usr/local/jdk/bin:/usr/kerberos/bin:/usr/lib/courier-imap/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/home/radiantw/bin

I don't see the gems directory there.  I've just changed the $PATH to
include my local gems directory, but I get the same LoadError.

--Ian
----------------------------
Ian Cabell
RadiantWeb Website Hosting and Design Services
ian.cabell@gmail.com
http://www.radiantweb.net

"There is more than one right way .. to make it perfect!"


On Tue, Mar 16, 2010 at 2:56 PM, i5m <i5ivem@googlemail.com> wrote:

> Ian,
>
> Well it doesn't seem to be finding any local gems. Just remote. It should
> have returned the path that the gem was installed at.
>
> So that seems to be the problem.
>
> What's your $PATH? (echo $PATH)
>
>
>
> On 16 Mar 2010, at 18:31, Ian Cabell < <ian.cabell@gmail.com>
> ian.cabell@gmail.com> wrote:
>
> This does seem to see versions of hpricot, including the latest:
>
> # gem list -d hpricot
>
> *** REMOTE GEMS ***
>
> hpricot (0.8.2, 0.6.164)
>     Platforms:
>         0.6.164: jruby, mswin32
>         0.8.2: java, ruby, x86-mswin32
>     Author: why the lucky stiff
>     Rubyforge: 
<http://rubyforge.org/projects/hobix><http://rubyforge.org/projects/hobix>
> http://rubyforge.org/projects/hobix
>     Homepage: 
<http://code.whytheluckystiff.net/hpricot/><http://code.whytheluckystiff.net/hpricot/>
> http://code.whytheluckystiff.net/hpricot/
>
>     a swift, liberal HTML parser with a fantastic library
>
> hpricot-scrub (0.2.0)
>     Author: UnderpantsGnome
>     Rubyforge: 
<http://rubyforge.org/projects/hpricot-scrub><http://rubyforge.org/projects/hpricot-scrub>
> http://rubyforge.org/projects/hpricot-scrub
>     Homepage: 
<http://trac.underpantsgnome.com/hpricot_scrub/><http://trac.underpantsgnome.com/hpricot_scrub/>
> http://trac.underpantsgnome.com/hpricot_scrub/
>
>     Scrub HTML with Hpricot
>
> hpricot_scrub (0.3.10)
>     Authors: UnderpantsGnome (Michael Moen), minaguib (Mina Naguib)
>     Homepage: 
<http://github.com/UnderpantsGnome/hpricot_scrub><http://github.com/UnderpantsGnome/hpricot_scrub>
> http://github.com/UnderpantsGnome/hpricot_scrub
>
>     Scrub HTML with Hpricot
>
> --Ian
> ----------------------------
> Ian Cabell
> RadiantWeb Website Hosting and Design Services
> <ian.cabell@gmail.com> <ian.cabell@gmail.com>ian.cabell@gmail.com
> <http://www.radiantweb.net> <http://www.radiantweb.net>
> http://www.radiantweb.net
>
> "There is more than one right way .. to make it perfect!"
>
>
> On Mon, Mar 15, 2010 at 7:08 PM, i5m < 
<i5ivem@googlemail.com><i5ivem@googlemail.com>
> i5ivem@googlemail.com> wrote:
>
>> Ian,
>>
>> what does
>>
>> gem list -d hpricot
>>
>> return?
>>
>>
>>
>> -----------------------
>> <http://i5m.co.uk> <http://i5m.co.uk>i5m.co.uk
>> GPG Key: 0xA18A602B
>>
>>
>> On Mon, Mar 15, 2010 at 8:11 PM, Ian Cabell < 
<ian.cabell@gmail.com><ian.cabell@gmail.com>
>> ian.cabell@gmail.com> wrote:
>>
>>> Hi!  Thanks for the response!
>>>
>>> I get the following:
>>>
>>> <radiantw@radiantweb.net> <radiantw@radiantweb.net>
>>> radiantw@radiantweb.net [~]# which ruby
>>> /usr/bin/ruby
>>> <radiantw@radiantweb.net> <radiantw@radiantweb.net>
>>> radiantw@radiantweb.net [~]# gem env
>>> RubyGems Environment:
>>>   - RUBYGEMS VERSION: 1.3.6
>>>   - RUBY VERSION: 1.8.7 (2008-06-20 patchlevel 22) [i686-linux]
>>>   - INSTALLATION DIRECTORY: /home/radiantw/ruby/gems
>>>   - RUBY EXECUTABLE: /usr/bin/ruby
>>>   - EXECUTABLE DIRECTORY: /home/radiantw/ruby/gems/bin
>>>   - RUBYGEMS PLATFORMS:
>>>     - ruby
>>>     - x86-linux
>>>   - GEM PATHS:
>>>      - /home/radiantw/ruby/gems
>>>   - GEM CONFIGURATION:
>>>      - :update_sources => true
>>>      - :verbose => true
>>>      - :benchmark => false
>>>      - :backtrace => false
>>>      - :bulk_threshold => 1000
>>>      - "gempath" => []
>>>      - "gem" => "--remote --gen-rdoc --run-tests"
>>>      - "gemhome" => "/home/radiantw/ruby/gems"
>>>      - "rdoc" => "--inline-source --line-numbers"
>>>   - REMOTE SOURCES:
>>>      - <http://rubygems.org/> <http://rubygems.org/>http://rubygems.org/
>>>
>>> Thanks again for your help!
>>>
>>> --Ian
>>> ----------------------------
>>> Ian Cabell
>>> RadiantWeb Website Hosting and Design Services
>>> <ian.cabell@gmail.com> <ian.cabell@gmail.com>ian.cabell@gmail.com
>>> <http://www.radiantweb.net> <http://www.radiantweb.net>
>>> http://www.radiantweb.net
>>>
>>> "There is more than one right way .. to make it perfect!"
>>>
>>>
>>>
>>>
>

Re: [hpricot] LoadError?

From:
i5m
Date:
2010-03-16 @ 20:41
Ok, try

gem list --local -d hpricot


On 16 Mar 2010, at 20:17, Ian Cabell <ian.cabell@gmail.com> wrote:

> Hm. Not local?  Listing local gems produces:
>
> # gem list --local
>
> *** LOCAL GEMS ***
>
> hpricot (0.8.2)

Re: [hpricot] LoadError?

From:
Ian Cabell
Date:
2010-03-16 @ 21:01
Hi!

I get:
# gem list --local -d hpricot

*** LOCAL GEMS ***

hpricot (0.8.2)
    Author: why the lucky stiff
    Rubyforge: http://rubyforge.org/projects/hobix
    Homepage: http://code.whytheluckystiff.net/hpricot/
    Installed at: /home/radiantw/ruby/gems

    a swift, liberal HTML parser with a fantastic library

--Ian
----------------------------
Ian Cabell
RadiantWeb Website Hosting and Design Services
ian.cabell@gmail.com
http://www.radiantweb.net

"There is more than one right way .. to make it perfect!"


On Tue, Mar 16, 2010 at 3:41 PM, i5m <i5ivem@googlemail.com> wrote:

> Ok, try
>
> gem list --local -d hpricot
>
>
> On 16 Mar 2010, at 20:17, Ian Cabell <ian.cabell@gmail.com> wrote:
>
> > Hm. Not local?  Listing local gems produces:
> >
> > # gem list --local
> >
> > *** LOCAL GEMS ***
> >
> > hpricot (0.8.2)
>
>

Re: [hpricot] LoadError?

From:
i5m
Date:
2010-03-16 @ 21:38
Well that seems all ok. In irb what happens if you do

Gem.find_files('hpricot')



On 16 Mar 2010, at 21:01, Ian Cabell <ian.cabell@gmail.com> wrote:

> Hi!
>
> I get:
> # gem list --local -d hpricot
>
> *** LOCAL GEMS ***
>
> hpricot (0.8.2)
>     Author: why the lucky stiff
>     Rubyforge: http://rubyforge.org/projects/hobix
>     Homepage: http://code.whytheluckystiff.net/hpricot/
>     Installed at: /home/radiantw/ruby/gems
>
>     a swift, liberal HTML parser with a fantastic library
>
> --Ian
> ----------------------------
> Ian Cabell
> RadiantWeb Website Hosting and Design Services
> ian.cabell@gmail.com
> http://www.radiantweb.net
>
> "There is more than one right way .. to make it perfect!"
>
>
> On Tue, Mar 16, 2010 at 3:41 PM, i5m <i5ivem@googlemail.com> wrote:
> Ok, try
>
> gem list --local -d hpricot
>
>
> On 16 Mar 2010, at 20:17, Ian Cabell <ian.cabell@gmail.com> wrote:
>
> > Hm. Not local?  Listing local gems produces:
> >
> > # gem list --local
> >
> > *** LOCAL GEMS ***
> >
> > hpricot (0.8.2)
>
>

Re: [hpricot] LoadError?

From:
Ian Cabell
Date:
2010-03-16 @ 23:03
I get the following:

# irb
irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> Gem.find_files('hpricot')
=> []
irb(main):003:0>

Thanks again for all your help :)
--Ian
----------------------------
Ian Cabell
RadiantWeb Website Hosting and Design Services
ian.cabell@gmail.com
http://www.radiantweb.net

"There is more than one right way .. to make it perfect!"


On Tue, Mar 16, 2010 at 4:38 PM, i5m <i5ivem@googlemail.com> wrote:

> Well that seems all ok. In irb what happens if you do
>
> Gem.find_files('hpricot')
>
>
>
> On 16 Mar 2010, at 21:01, Ian Cabell <ian.cabell@gmail.com> wrote:
>
> Hi!
>
> I get:
> # gem list --local -d hpricot
>
> *** LOCAL GEMS ***
>
> hpricot (0.8.2)
>     Author: why the lucky stiff
>     Rubyforge: <http://rubyforge.org/projects/hobix>
> http://rubyforge.org/projects/hobix
>     Homepage: <http://code.whytheluckystiff.net/hpricot/>
> http://code.whytheluckystiff.net/hpricot/
>     Installed at: /home/radiantw/ruby/gems
>
>     a swift, liberal HTML parser with a fantastic library
>
> --Ian
> ----------------------------
> Ian Cabell
> RadiantWeb Website Hosting and Design Services
> <ian.cabell@gmail.com>ian.cabell@gmail.com
> <http://www.radiantweb.net>http://www.radiantweb.net
>
> "There is more than one right way .. to make it perfect!"
>
>
> On Tue, Mar 16, 2010 at 3:41 PM, i5m < <i5ivem@googlemail.com>
> i5ivem@googlemail.com> wrote:
>
>> Ok, try
>>
>> gem list --local -d hpricot
>>
>>
>> On 16 Mar 2010, at 20:17, Ian Cabell < <ian.cabell@gmail.com>
>> ian.cabell@gmail.com> wrote:
>>
>> > Hm. Not local?  Listing local gems produces:
>> >
>> > # gem list --local
>> >
>> > *** LOCAL GEMS ***
>> >
>> > hpricot (0.8.2)
>>
>>
>

Re: [hpricot] LoadError?

From:
Ian Cabell
Date:
2010-03-15 @ 20:11
Hi!  Thanks for the response!

I get the following:

radiantw@radiantweb.net [~]# which ruby
/usr/bin/ruby
radiantw@radiantweb.net [~]# gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.6
  - RUBY VERSION: 1.8.7 (2008-06-20 patchlevel 22) [i686-linux]
  - INSTALLATION DIRECTORY: /home/radiantw/ruby/gems
  - RUBY EXECUTABLE: /usr/bin/ruby
  - EXECUTABLE DIRECTORY: /home/radiantw/ruby/gems/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86-linux
  - GEM PATHS:
     - /home/radiantw/ruby/gems
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
     - "gempath" => []
     - "gem" => "--remote --gen-rdoc --run-tests"
     - "gemhome" => "/home/radiantw/ruby/gems"
     - "rdoc" => "--inline-source --line-numbers"
  - REMOTE SOURCES:
     - http://rubygems.org/

Thanks again for your help!
--Ian
----------------------------
Ian Cabell
RadiantWeb Website Hosting and Design Services
ian.cabell@gmail.com
http://www.radiantweb.net

"There is more than one right way .. to make it perfect!"


On Mon, Mar 15, 2010 at 8:08 AM, i5m <i5ivem@googlemail.com> wrote:

> Sorry for the delay in replying. What do you get if you do:
>
> which gem
> which ruby
> gem env
>
> ?
>
> Do you have the same problem with other gems? It's probably an issue with
> paths and ruby not being able to find the gem.
>
>
> -----------------------
> i5m.co.uk
> GPG Key: 0xA18A602B
>
>
>
> On Fri, Mar 12, 2010 at 10:55 PM, Ian Cabell <ian.cabell@gmail.com> wrote:
>
>> I'm getting a LoadError when I try to "require 'hpricot'", and yes - I
>> have "require 'rubygems'" just before that.  The error code is:
>>
>> # ruby test2.rb
>> /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
>> `gem_original_require': no such file to load -- hpricot (LoadError)
>>     from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in
>> `require'
>>     from test2.rb:2
>>
>> test2.rb just has:
>> require 'rubygems'
>> require 'hpricot'
>> puts "Done."
>>
>>
>> gem list --local shows
>> hpricot (0.8.2)
>>
>> I'm sure there's other information I've forgotten - anyone have any ideas
>> why it won't work?
>> --Ian
>> ----------------------------
>> Ian Cabell
>> RadiantWeb Website Hosting and Design Services
>> ian.cabell@gmail.com
>> http://www.radiantweb.net
>>
>> "There is more than one right way .. to make it perfect!"
>>
>
>

Re: [hpricot] LoadError?

From:
i5m
Date:
2010-03-16 @ 00:08
Ian,

what does

gem list -d hpricot

return?


-----------------------
i5m.co.uk
GPG Key: 0xA18A602B


On Mon, Mar 15, 2010 at 8:11 PM, Ian Cabell <ian.cabell@gmail.com> wrote:

> Hi!  Thanks for the response!
>
> I get the following:
>
> radiantw@radiantweb.net [~]# which ruby
> /usr/bin/ruby
> radiantw@radiantweb.net [~]# gem env
> RubyGems Environment:
>   - RUBYGEMS VERSION: 1.3.6
>   - RUBY VERSION: 1.8.7 (2008-06-20 patchlevel 22) [i686-linux]
>   - INSTALLATION DIRECTORY: /home/radiantw/ruby/gems
>   - RUBY EXECUTABLE: /usr/bin/ruby
>   - EXECUTABLE DIRECTORY: /home/radiantw/ruby/gems/bin
>   - RUBYGEMS PLATFORMS:
>     - ruby
>     - x86-linux
>   - GEM PATHS:
>      - /home/radiantw/ruby/gems
>   - GEM CONFIGURATION:
>      - :update_sources => true
>      - :verbose => true
>      - :benchmark => false
>      - :backtrace => false
>      - :bulk_threshold => 1000
>      - "gempath" => []
>      - "gem" => "--remote --gen-rdoc --run-tests"
>      - "gemhome" => "/home/radiantw/ruby/gems"
>      - "rdoc" => "--inline-source --line-numbers"
>   - REMOTE SOURCES:
>      - http://rubygems.org/
>
> Thanks again for your help!
>
> --Ian
> ----------------------------
> Ian Cabell
> RadiantWeb Website Hosting and Design Services
> ian.cabell@gmail.com
> http://www.radiantweb.net
>
> "There is more than one right way .. to make it perfect!"
>
>
>
>

Re: [hpricot] LoadError?

From:
Ian Cabell
Date:
2010-03-16 @ 18:31
This does seem to see versions of hpricot, including the latest:

# gem list -d hpricot

*** REMOTE GEMS ***

hpricot (0.8.2, 0.6.164)
    Platforms:
        0.6.164: jruby, mswin32
        0.8.2: java, ruby, x86-mswin32
    Author: why the lucky stiff
    Rubyforge: http://rubyforge.org/projects/hobix
    Homepage: http://code.whytheluckystiff.net/hpricot/

    a swift, liberal HTML parser with a fantastic library

hpricot-scrub (0.2.0)
    Author: UnderpantsGnome
    Rubyforge: http://rubyforge.org/projects/hpricot-scrub
    Homepage: http://trac.underpantsgnome.com/hpricot_scrub/

    Scrub HTML with Hpricot

hpricot_scrub (0.3.10)
    Authors: UnderpantsGnome (Michael Moen), minaguib (Mina Naguib)
    Homepage: http://github.com/UnderpantsGnome/hpricot_scrub

    Scrub HTML with Hpricot

--Ian
----------------------------
Ian Cabell
RadiantWeb Website Hosting and Design Services
ian.cabell@gmail.com
http://www.radiantweb.net

"There is more than one right way .. to make it perfect!"


On Mon, Mar 15, 2010 at 7:08 PM, i5m <i5ivem@googlemail.com> wrote:

> Ian,
>
> what does
>
> gem list -d hpricot
>
> return?
>
>
>
> -----------------------
> i5m.co.uk
> GPG Key: 0xA18A602B
>
>
> On Mon, Mar 15, 2010 at 8:11 PM, Ian Cabell <ian.cabell@gmail.com> wrote:
>
>> Hi!  Thanks for the response!
>>
>> I get the following:
>>
>> radiantw@radiantweb.net [~]# which ruby
>> /usr/bin/ruby
>> radiantw@radiantweb.net [~]# gem env
>> RubyGems Environment:
>>   - RUBYGEMS VERSION: 1.3.6
>>   - RUBY VERSION: 1.8.7 (2008-06-20 patchlevel 22) [i686-linux]
>>   - INSTALLATION DIRECTORY: /home/radiantw/ruby/gems
>>   - RUBY EXECUTABLE: /usr/bin/ruby
>>   - EXECUTABLE DIRECTORY: /home/radiantw/ruby/gems/bin
>>   - RUBYGEMS PLATFORMS:
>>     - ruby
>>     - x86-linux
>>   - GEM PATHS:
>>      - /home/radiantw/ruby/gems
>>   - GEM CONFIGURATION:
>>      - :update_sources => true
>>      - :verbose => true
>>      - :benchmark => false
>>      - :backtrace => false
>>      - :bulk_threshold => 1000
>>      - "gempath" => []
>>      - "gem" => "--remote --gen-rdoc --run-tests"
>>      - "gemhome" => "/home/radiantw/ruby/gems"
>>      - "rdoc" => "--inline-source --line-numbers"
>>   - REMOTE SOURCES:
>>      - http://rubygems.org/
>>
>> Thanks again for your help!
>>
>> --Ian
>> ----------------------------
>> Ian Cabell
>> RadiantWeb Website Hosting and Design Services
>> ian.cabell@gmail.com
>> http://www.radiantweb.net
>>
>> "There is more than one right way .. to make it perfect!"
>>
>>
>>
>>