# I have the same problem

**URL:** <https://www.ruby-forum.com/t/i-have-the-same-problem/143936>\
**Category:** Rails\
**Created:** [July 23, 2008, 11:46pm UTC](https://www.ruby-forum.com/t/i-have-the-same-problem/143936 "2008-07-23T23:46:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [July 23, 2008, 11:46pm UTC](https://www.ruby-forum.com/t/i-have-the-same-problem/143936/1 "2008-07-23T23:46:35Z")

</div>

IRB:  
irb(main):001:0\> require ‘RMagick’  
=\> true

script/console of my app:  
Loading development environment (Rails 2.1.0)

> > require ‘RMagick’  
> > =\> []  
> > include Magick  
> > =\> Object  
> > image = Magick::ImageList.new()  
> > =\> []  
> > scene=

But if I use it in a controller:  
no such file to load – RMagick

# gem list

[snip]  
rmagick (2.5.2)  
[/snip]

# ruby -rRMagick -e “puts Magick::Long\_version”

This is RMagick 1.13.0 ($Date: 2006/06/26 23:32:37 $) Copyright (C)  
2006 by Timothy P. Hunter  
Built with ImageMagick 6.2.4 02/10/07 Q16 [http://www.imagemagick.org](http://www.imagemagick.org)  
Built for ruby 1.8.4 (2005-12-24) [i486-linux]  
Web page: [http://rmagick.rubyforge.org](http://rmagick.rubyforge.org)
