I had the same problem with bundled gems.  Traced the problem to
merb_datamapper not being in the bundle.
Adding the line:
  dependency "merb_datamapper", merb_gems_version

solved my problem

On Dec 29 2008, 11:25 am, Jenny <[email protected]> wrote:
> Okay, so I figured out file uploads, had a working build (thank got I
> backed up) changed a line in the init.rb file to start figuring out
> merb-mailer, and I get the following error:
>
> je...@jenny-desktop:~/Desktop/vodswap/src/vodswap$ merb
> Loading init file from /home/jenny/Desktop/vodswap/src/vodswap/config/
> init.rb
> Loading /home/jenny/Desktop/vodswap/src/vodswap/config/environments/
> development.rb
> /usr/local/lib/site_ruby/1.8/rubygems.rb:149:in `activate': can't
> activate merb-core (~> 1.0.6.1, runtime), already activated merb-
> core-1.0.7 (Gem::Exception)
>
> (there's more underneath, but it seems to mostly be describing how it
> cannot activate in various places).
>
> So, I reload my last known good build, and the error is still there.
> I'm more than a bit confused: is there anyway I could have modified
> merb or gems somehow just from adding somethign along the lines of :
>
>   Merb::Mailer.config = {
>     :host   => 'smtp.yourserver.com',
>     :port   => '25',
>     :user   => 'user',
>     :pass   => 'pass',
>     :auth   => :plain # :plain, :login, :cram_md5, the default is no
> auth
>     :domain => "localhost.localdomain" # the HELO domain provided by
> the client to the server
>   }
>
> To init.rb? That doesn't seem to make sense....
>
> There seems to be some patches addressing similar problems:
>
> http://rubyforge.org/tracker/index.php?func=detail&aid=22272&group_id...
>
> but should this really require a patch? Especially if it seems to be
> something I've caused?
>
> -Jenny
--~--~---------~--~----~------------~-------~--~----~
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