Forum: Ruby on Rails Obsolete warning

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
F08c4cddfa0731ef29311d78f3264017?d=identicon&s=25 Chandrahas Reddy (chandoo)
on 2007-01-30 12:22
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
3d41921b8e1d7eae0f461139f6f603a1?d=identicon&s=25 Dadee Sudibyo (dadee84)
on 2007-01-30 20:56
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
315035a47dcb93f4427b8a1e18da4ff7?d=identicon&s=25 Jim Lindley (Guest)
on 2007-01-30 22:02
(Received via mailing list)
>
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
858b3e3b5d26d7a8652da042f86c5c80?d=identicon&s=25 Sam Aaron (Guest)
on 2007-01-30 23:02
(Received via mailing list)
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 :-)

so just smile as they wave on by... they're not here to harm...

Sam Aaron

---
http://sam.aaron.name
2f24c382600d9fd71085a74251fd5a39?d=identicon&s=25 Damian Terentyev (Guest)
on 2007-02-01 07:35
(Received via mailing list)
On Jan 31, 2007, at 01:00, Sam Aaron 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 :-)
>
> so just smile as they wave on by... they're not here to harm...
>
> Sam Aaron

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
This topic is locked and can not be replied to.