# Undefine "require\_gem"

**URL:** <https://www.ruby-forum.com/t/undefine-require-gem/146385>\
**Category:** Rails\
**Created:** [August 20, 2008, 2:41pm UTC](https://www.ruby-forum.com/t/undefine-require-gem/146385 "2008-08-20T14:41:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![amin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8e7dd6/32.png) [@amin](https://www.ruby-forum.com/u/amin)\
**Post date:** [August 20, 2008, 2:41pm UTC](https://www.ruby-forum.com/t/undefine-require-gem/146385/1 "2008-08-20T14:41:12Z")

</div>

Hello G.s

```
   I am beginner in ROR. I have an application built in rails v

```

1.2.4 or 1.2.6, whenever I’ll start the webrick server its give me an  
error “reqire\_gem”. As per my understanding there is an issue of version  
or may be there is a plugin who use the “require\_gem”.

```
  I tried at my level best, done the necessary changes like gem

```

update, boot.rb replace the “requiregem” etc. But still don’t get at any  
success.

Thanks  
amshah

---

<div class="post-metadata">

**Author:** ![amin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8e7dd6/32.png) [@amin](https://www.ruby-forum.com/u/amin)\
**Post date:** [August 20, 2008, 2:43pm UTC](https://www.ruby-forum.com/t/undefine-require-gem/146385/2 "2008-08-20T14:43:07Z")

</div>

On 20 Aug 2008, at 13:41, Amin S. wrote:

> update, boot.rb replace the “requiregem” etc. But still don’t get at  
> any  
> success.

require\_gem is just gem now.

Fred

---

<div class="post-metadata">

**Author:** ![amin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8e7dd6/32.png) [@amin](https://www.ruby-forum.com/u/amin)\
**Post date:** [August 20, 2008, 2:47pm UTC](https://www.ruby-forum.com/t/undefine-require-gem/146385/3 "2008-08-20T14:47:47Z")

</div>

Frederick C. wrote:

> On 20 Aug 2008, at 13:41, Amin S. wrote:
> 
> > update, boot.rb replace the “requiregem” etc. But still don’t get at  
> > any  
> > success.
> 
> require\_gem is just gem now.
> 
> Fred

Thanks for your reply,  
So at which file i have to make changes, so that my application work  
proper. I mean is there any specific file.  
Your suggestion help me a lot.

Thanks  
amshah

---

<div class="post-metadata">

**Author:** ![amin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8e7dd6/32.png) [@amin](https://www.ruby-forum.com/u/amin)\
**Post date:** [August 20, 2008, 3:13pm UTC](https://www.ruby-forum.com/t/undefine-require-gem/146385/4 "2008-08-20T15:13:05Z")

</div>

On 20 Aug 2008, at 13:47, Amin S. wrote:

> > Fred
> 
> Thanks for your reply,  
> So at which file i have to make changes, so that my application work  
> proper. I mean is there any specific file.  
> Your suggestion help me a lot.

anywhere it says require\_gem

Fred

---

<div class="post-metadata">

**Author:** ![amin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8e7dd6/32.png) [@amin](https://www.ruby-forum.com/u/amin)\
**Post date:** [August 20, 2008, 2:51pm UTC](https://www.ruby-forum.com/t/undefine-require-gem/146385/5 "2008-08-20T14:51:21Z")

</div>

Amin S. wrote:

> Frederick C. wrote:
> 
> > On 20 Aug 2008, at 13:41, Amin S. wrote:
> > 
> > > update, boot.rb replace the “requiregem” etc. But still don’t get at  
> > > any  
> > > success.
> > 
> > require\_gem is just gem now.
> > 
> > Fred
> 
> Thanks for your reply,  
> So at which file i have to make changes, so that my application work  
> proper. I mean is there any specific file.  
> Your suggestion help me a lot.
> 
> Thanks  
> amshah

Hello

Ya, it seems that its working proper. But now it show me the  
“activesuppport/dependencies.rb”. in ‘require’: no such file to load  
–image\_science(MissingSourceFile)…

Thanks  
amshah

---

<div class="post-metadata">

**Author:** ![amin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8e7dd6/32.png) [@amin](https://www.ruby-forum.com/u/amin)\
**Post date:** [August 20, 2008, 4:18pm UTC](https://www.ruby-forum.com/t/undefine-require-gem/146385/6 "2008-08-20T16:18:47Z")

</div>

On Aug 20, 2:48 pm, Amin S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> > anywhere it says require\_gem
> 
> > Fred
> 
> Hello Fred
> 
> ```
> Thanks for your suggestion, Now me and my client have decided that
> 
> ```
> 
> first run the application to older version of ruby, so that the error  
> will resolve.  
> Can you suggest me which version i have to install so that the error  
> require\_gem and activesupport resolve.

The important thing is the version of rubygems you use. Can’t remember  
when require\_gem was axed

> ```
> I have install the older version of ruby 1.6.8, But now i am
> 
> ```
> 
> unable to run the gem command(rails). Please help me.

rails won run on anything less than 1.8.2 IIRC.

Fred

---

<div class="post-metadata">

**Author:** ![amin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/8e7dd6/32.png) [@amin](https://www.ruby-forum.com/u/amin)\
**Post date:** [August 20, 2008, 3:48pm UTC](https://www.ruby-forum.com/t/undefine-require-gem/146385/7 "2008-08-20T15:48:00Z")

</div>

Frederick C. wrote:

> On 20 Aug 2008, at 13:47, Amin S. wrote:
> 
> > > Fred
> > 
> > Thanks for your reply,  
> > So at which file i have to make changes, so that my application work  
> > proper. I mean is there any specific file.  
> > Your suggestion help me a lot.
> 
> anywhere it says require\_gem
> 
> Fred

Hello Fred

```
  Thanks for your suggestion, Now me and my client have decided that 

```

first run the application to older version of ruby, so that the error  
will resolve.  
Can you suggest me which version i have to install so that the error  
require\_gem and activesupport resolve.  
I have install the older version of ruby 1.6.8, But now i am  
unable to run the gem command(rails). Please help me.

Thanks  
amshah
