Error in installling gem install acts_as_ferret

Hello everybody!

I try to install ferret gem in my local machine .

It goes like this :

[root@dhcppc2 ~]# gem install ferret
Need to update 1 gems from http://gems.rubyforge.org
.
complete
Select which gem to install for your platform (i686-linux)

  1. ferret 0.11.3 (ruby)
  2. ferret 0.11.2 (ruby)
  3. ferret 0.11.1 (ruby)

1

Building native extensions. This could take a while…
ruby extconf.rb install ferret
creating Makefile

make
make install
/usr/bin/install -c -m 0755 ferret_ext.so
/usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.3/lib

make clean
Successfully installed ferret-0.11.3
Installing ri documentation for ferret-0.11.3…
Installing RDoc documentation for ferret-0.11.3…

But when I try to install acts_as_ferret :

[root@dhcppc2 ~]# gem install acts_as_ferret
Bulk updating Gem source index for: http://gems.rubyforge.org
Successfully installed acts_as_ferret-0.4.0
Installing ri documentation for acts_as_ferret-0.4.0…

lib/index.rb:23:41: ‘:’ not followed by identified or operator
Installing RDoc documentation for acts_as_ferret-0.4.0…

lib/index.rb:23:41: ‘:’ not followed by identified or operator
[root@dhcppc2 ~]#

Here I want to know whether both ferret and act_as_ferret installed
corretly or not. Please let me explain whether I have to make any
changes in my environment.rb file to enable this ferret.

Thanks with Regards,
Veeraa

Hi!

this looks good, it’s just some warnings that occur when generating the
rdocs.

Jens

On Tue, Mar 27, 2007 at 08:33:50PM +0200, Veera S. wrote:

.
creating Makefile

Installing RDoc documentation for acts_as_ferret-0.4.0…
Thanks with Regards,
Veeraa


Posted via http://www.ruby-forum.com/.


Ferret-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/ferret-talk


Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
[email protected] | www.webit.de

Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa

I think u can check it out from svn then directly copy it to the plugin
folder

Veera S. wrote:

Hello everybody!

I try to install ferret gem in my local machine .

It goes like this :

[root@dhcppc2 ~]# gem install ferret
Need to update 1 gems from http://gems.rubyforge.org

But I am getting an error:

[root@buwatercooler watercooler]# gem install ferret
Bulk updating Gem source index for: http://gems.rubyforge.org
Select which gem to install for your platform (i686-linux)

  1. ferret 0.11.3 (ruby)
  2. ferret 0.11.2 (ruby)
    [snip]

1
Building native extensions. This could take a while…

ERROR: While executing gem … (RuntimeError)
ERROR: Failed to build gem native extension.
Gem files will remain installed in
/usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.3

Results logged to
/usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.3/ext/gem_make.out

What is going on there? Thanks!

On Sun, Apr 01, 2007 at 05:07:00PM +0200, Taylor S. wrote:

Building native extensions. This could take a while…

ERROR: While executing gem … (RuntimeError)
ERROR: Failed to build gem native extension.
Gem files will remain installed in
/usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.3

Results logged to
/usr/local/lib/ruby/gems/1.8/gems/ferret-0.11.3/ext/gem_make.out

looks like you’re missing something that’s needed to build native ruby
extensions. If you are on debian,

apt-get install build-essential ruby1.8-dev

should be sufficient to get everything you need. Maybe the log file
mentioned in the above error gives some more info about what’s missing?

Jens


Jens Krämer
webit! Gesellschaft für neue Medien mbH
Schnorrstraße 76 | 01069 Dresden
Telefon +49 351 46766-0 | Telefax +49 351 46766-66
[email protected] | www.webit.de

Amtsgericht Dresden | HRB 15422
GF Sven Haubold, Hagen Malessa