On Feb 28, 5:05 pm, Abdul-Rahman Advany <[email protected]>
wrote:
> Hey guys,
>
> I keep getting:
>
> can't activate data_objects (~> 0.9.11, runtime), already activated
> data_objects-0.9.7
>
> when I load my website (http://guus.net/) but when I do bin/merb -i -
> e production it works and also merb -i -e production works.
>
> My config.ru (the only unique part that could do this is as
> following):
>
> #!/usr/bin/env ruby
>
> require 'rubygems'
> require 'merb-core'
>
> Merb::Config.setup(:merb_root => File.expand_path(File.dirname
> (__FILE__)), :en$
> Merb.environment = Merb::Config[:environment]
> Merb.root = Merb::Config[:merb_root]
> Merb::BootLoader.run
>
> run Merb::Rack::Application.new
>
> How can I fix this... I am desparate... its a live website that is not
> functioning anymore...

Modify config.ru to look something like this:

ENV['GEM_PATH'] = '/path/to/bundled/gems'
require 'rubygems'
Gem.clear_paths
... rest of config goes here
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to