Obsolete warning


#1

Hi
i am new to rails. today i was trying to install rcms-0.3
----http://rcms.oopen.de/Documentation/27.html----- and its requirements
are given in the link shown. I was able to install ferret gem and
gettext gem too but i am really facing a lot of problem in installing
the RMagick gem. While installing that , i was getting like

C:\rails\rcms-0.3.1>gem install -v=1.15.0 rmagick
Bulk updating Gem source index for: http://gems.rubyforge.org
Building native extensions. This could take a while…
ERROR: While executing gem … (Gem::Installer::ExtensionBuildError)
ERROR: Failed to build gem native extension.

ruby gem_extconf.rb install -v=1.15.0 rmagick

sh configure

gem_extconf.rb:38: undefined method `exitstatus’ for nil:NilClass
(NoMethodError
)

Gem files will remain installed in
c:/ruby/lib/ruby/gems/1.8/gems/rmagick-1.15.0
for inspection.
Results logged to
c:/ruby/lib/ruby/gems/1.8/gems/rmagick-1.15.0/gem_make.out

And from then, my rails is also showing this kind of ERROR like


C:\rails\rcms-0.3.1>ruby script/server
./script/…/config/boot.rb:29:Warning: require_gem is obsolete. Use gem
instead
.
=> Booting WEBrick…
Missing library: RMagick
Install them first. otherwise specific functions are unavailable…
good - found ferret
good - found gettext
=> Rails application started on http://0.0.0.0:3000
=> Ctrl-C to shutdown server; call with --help for options
[2007-01-30 16:42:27] INFO WEBrick 1.3.1
[2007-01-30 16:42:27] INFO ruby 1.8.5 (2006-08-25) [i386-mswin32]
[2007-01-30 16:42:27] INFO WEBrick::HTTPServer#start: pid=4024
port=3000

this is the thing i am facing with rest of my rails applications also
ie…
./script/…/config/boot.rb:29:Warning: require_gem is obsolete.Use gem
instead.


Some one plz look in to the problem and give me the solution.
Any relative solution for the posted problem is genuinely Appreciated


#2

I have this kind of problem too

./script/…/config/boot.rb:29:Warning: require_gem is obsolete.Use gem
instead.

if someone can help me, thank you very much


#3

It’s trying to install RMagick 1.15.0 which is not available for
Windows.

Try 1.14.1 for Windows downloaded from here (once you unzip it read
README):

http://rubyforge.org/projects/rmagick


#4

Daddee,

I have this kind of problem too

./script/…/config/boot.rb:29:Warning: require_gem is obsolete.Use
gem
instead.

if someone can help me, thank you very much

This isn’t anything to worry about. Rubygems recently changed the
name ofone of its internal methods, and so this warning just about
this change. As soon as all the appropriate developers update calls
to this method, these warnings will go away :slight_smile:

so just smile as they wave on by… they’re not here to harm…

Sam A.


http://sam.aaron.name


#5

On Jan 31, 2007, at 01:00, Sam A. wrote:

This isn’t anything to worry about. Rubygems recently changed the
name ofone of its internal methods, and so this warning just about
this change. As soon as all the appropriate developers update calls
to this method, these warnings will go away :slight_smile:

so just smile as they wave on by… they’re not here to harm…

Sam A.

Well, if you, like me, get annoyed by that warning, you may easily
replace all instances of ‘require_gem’ with ‘gem’ in your
config/boot.rb

Your sincerely,
Damian/Three-eyed Fish