Hi, I'm trying to deploy an app to slicehost (Ubuntu Hardy + nginx) using Capistrano and the guidance from Matt's blog (http://merbist.com/ 2008/09/23/deploying-a-bundled-merb-app-merb-097/) and Carl and Yehuda's bundling screencast (http://splendificent.com/2008/12/merb- dependencies-and-bundler-conquered-screencast/). I have previously managed to get a Rails app deployed on the same platform, but I'm having some problems here...
'cap deploy' appears to run fine and all the application code ends up where it's supposed to, but I don't see any evidence that mongrel ends up running on the target machine. I also tried running ' bin/merb -a mongrel -p 5000 -e production' manually from the application directory on the target machine, and I get the following error: /usr/local/lib/site_ruby/1.8/rubygems.rb:149:in `activate': can't activate data_objects (= 0.9.9, runtime), already activated data_objects-0.9.10 (Gem::Exception) Note that this only happens running the command without both the -c and -d options. I actually have no idea what -d does, and I assumed leaving -c out would default to '-c 1'. With either option included in the command line I just get the message '~ In <some process id>', which is also what I see on my development machine when I run 'cap deploy'. I've had a bit of a look at the code that loads the gems and I can see where the above exception is generated, but so far I haven't figured out why it's happening, or even whether that is really the heart of my problem. I'd really appreciate some advice on how I can get this thing running. Mark. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
