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

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?

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!

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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs