On May 11, 9:00 am, Ram <[email protected]> wrote:
> Hi,
>
> I have a couple of daemons that im trying to setup to be run for my
> app. The environment load is as follows..
>
> ENV["RAILS_ENV"] ||= "development"
> require File.join(File.dirname(__FILE__), "/../../config/environment")
>
> And the error I get is
>
> #<LoadError: no such file to load -- active_support>
> #<Gem::Exception: can't activate activesupport (= 2.1.0, runtime),
> already activated activesupport-2.2.2>
>
> I have activesupport 2.2.2, 2.1.0 and 1.4.4 installed and I think it
> just loads the latest version available.
> How do I force the daemon to load 2.1.0? I understand that in
> production too, it loads the latest version of rails and all other
> gems available. But I need it to use the versions I specify.
>
> Any ideas at all on how to do this?

you can use gem 'some_gem', '=1.2.3' to force version 1.2.3 of the gem
some_gem to be loaded, or you can make sure that whatever is loading
activesupport without specifying a version tries to do so after the
thing that loads a specific version.

Fred
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to