# Problems with "model-extensions" and "open-uri"

**URL:** <https://www.ruby-forum.com/t/problems-with-model-extensions-and-open-uri/114607>\
**Category:** Deployment\
**Created:** [September 17, 2007, 12:47pm UTC](https://www.ruby-forum.com/t/problems-with-model-extensions-and-open-uri/114607 "2007-09-17T12:47:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cmaxvv](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/85f322/32.png) [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Post date:** [September 17, 2007, 12:47pm UTC](https://www.ruby-forum.com/t/problems-with-model-extensions-and-open-uri/114607/1 "2007-09-17T12:47:52Z")

</div>

In my local version of my rails app, i have the following requires in  
environment.rb-

require ‘model\_extensions’  
require ‘open-uri’

But, having just deployed to a shared server (on bluehost) both of these  
requires crash the app if not commented out. But, i can’t find gems for  
either of these - ‘model-extensions’ seems to be a generic name for a  
type of plugin/gem, and open-uri seems to come with the standard rails  
install.

I’ve got the ability to install my own gems and plugins in my bluehost  
app, but can’t find out where to get them from.  
Can i just copy these over in folders from my local install?

---

<div class="post-metadata">

**Author:** ![cmaxvv](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/85f322/32.png) [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Post date:** [September 17, 2007, 12:55pm UTC](https://www.ruby-forum.com/t/problems-with-model-extensions-and-open-uri/114607/2 "2007-09-17T12:55:33Z")

</div>

Max W. wrote:

> In my local version of my rails app, i have the following requires in  
> environment.rb-
> 
> require ‘model\_extensions’  
> require ‘open-uri’
> 
> But, having just deployed to a shared server (on bluehost) both of these  
> requires crash the app if not commented out. But, i can’t find gems for  
> either of these - ‘model-extensions’ seems to be a generic name for a  
> type of plugin/gem, and open-uri seems to come with the standard rails  
> install.
> 
> I’ve got the ability to install my own gems and plugins in my bluehost  
> app, but can’t find out where to get them from.  
> Can i just copy these over in folders from my local install?

Actually just worked out the model\_extensions problem - i needed to copy  
over model\_extensions.rb from my local lib file to the server.

So, just open-uri that’s the problem now!

---

<div class="post-metadata">

**Author:** ![cmaxvv](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/85f322/32.png) [@cmaxvv](https://www.ruby-forum.com/u/cmaxvv)\
**Post date:** [September 17, 2007, 1:33pm UTC](https://www.ruby-forum.com/t/problems-with-model-extensions-and-open-uri/114607/3 "2007-09-17T13:33:26Z")

</div>

Max W. wrote:

> So, just open-uri that’s the problem now!

Never mind, i was able to fix this as well with

gem install ‘rubygems-update’

Hooray for

gem list --remote \>remote\_gems\_list.txt

Very useful.
