List Info

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




Problems with "model-extensions" and "open-uri"
country flaguser name
Germany
2007-09-17 05:47:52
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?
-- 
Posted via http://www.ruby-forum.com
/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Deploying Rails" group.
To post to this group, send email to
rubyonrails-deploymentgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-deployment-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment
?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Problems with "model-extensions" and "open-uri"
country flaguser name
Germany
2007-09-17 05:55:33
Max Williams 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!
-- 
Posted via http://www.ruby-forum.com
/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Deploying Rails" group.
To post to this group, send email to
rubyonrails-deploymentgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-deployment-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment
?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Problems with "model-extensions" and "open-uri"
country flaguser name
Germany
2007-09-17 06:33:26
Max Williams 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.

-- 
Posted via http://www.ruby-forum.com
/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Deploying Rails" group.
To post to this group, send email to
rubyonrails-deploymentgooglegroups.com
To unsubscribe from this group, send email to
rubyonrails-deployment-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment
?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )