Jason, Thanks for the help I've made progress in deploying, but Passenger is still failing to start. For some reason, my box at Dreamhost is still running Rails 2.0.2 but they claim that they will have Rails 2.1 sometime this week. Where I am now:
The dependencies all seem to be loading fine, but the 'index' action in 'home_controller.rb' is throwing a 'load_missing_constant' related error Passenger is logging an error saying that the model 'profile.rb' is not loading the constant 'Profile'. This seems to be a issue where method 'check_featured' references that Profile model in application.rb, but it's not clear why Profile is not getting loaded. Not sure if it would be better/easier to temporarily deploy/run on fastcgi with Rails 2.1 or freeze Rails 2.1 in the vendor directory and run the lovdbyless app under Passenger or continue to deploy on Rails 2.0.2/Passenger. Lastly, I see that there exists several methods for starting the ferret_server. What is the most reliable way do so under a shared host like the one I describe above? Thanks again for taking the time to help out. Regards, Markus On Sep 7, 6:22 am, Jason Keenan <[EMAIL PROTECTED]> wrote: > Hey there, > > I'm not sure if this will help but I'll give it a bash. Install all > the gems you need. Have a look at environment.rb file then modify the > file to match the gem versions on your server. I had issues with the > new version of avatar on hostmonster as rubyforge doesn't have this > one but altering all the avatar related bits to match the older > avatar version worked fine for me. You might be able to add this gem > though on dreamhost. You need to make sure that lovdbyless is picking > up all the gems too. I didn't end up using any of the gems in the > vendor/gems folder. Just install all of those gems as well then make > sure they all show up when you do 'gem list'. You'd have to check how > to get this right on dreamhost. The less_monkey_patching, I'm > assuming, does what it says and monkey patches the core rails files > (????). Since float.rb is empty it seems ok to comment the require > out in the less_monkey_patching/init.rb file. I tried it and it > worked fine. > > Hope this helps. > > Jason :) > On 07/09/2008, at 2:25 AM, marike wrote: > > > > > The best I can tell is that the plugin 'less_monkey_patching' has a > > dependency of 'float.rb' and this is causing Rails to fail to start > > under mod_rails/passenger, fastcgi and script/server. > > > 'less_monkey_patching' in vendor/plugins contains the file 'float'rb' > > but it is blank. I will go to github to see it there is a port of > > lovdbyless that contains the float.rb dependency, but if anyone has > > any experience deploying lovdbyless either on passenger or fastcgi I > > would appreciate it. I'm just trying to post a demo of a non- > > commercial app for my brother to see, but I am hitting a few snags. > > > Thank you for taking the time to nudge me in the right direction. > > Markus Arike > > > On Sep 2, 10:00 pm, marike <[EMAIL PROTECTED]> wrote: > >> I am trying to install a lovdbyless based app on Dreamhost which, as > >> you may know, runs mod_rails/passenger. > > >> I'd like to know the following: > > >> Is this possible? They are running Rails 2.0.2 but I have the > >> ability > >> to upgrade and install whatever gems I need. > > >> The error I'm getting is this: > > >> [gotti]$ rake lovdbyless:getting_started > >> (in /mnt/local/home/marike1/demo.emilytrueblood.com/lovdbyless) > >> rake aborted! > >> no such file to load -- float > > >> The full backtrace doesn't make it obvious where the error is coming > >> from, but if it would help, I will post it. My sense is that it is > >> related to ferret and the C files in vendor/gems/ferret-0.11.4/ext > >> but > >> I could be, and probably am, wrong. > > >> The app runs perfectly on my local machine, and I've installed > >> several > >> Rails apps on various shared hosts without a problem, but lovdbyless > >> with the addition of ferret is certainly more complex. > > >> Thanks in advance for any advice/assistance you can offer, > >> Markus Arike --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Lovd by Less" 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/lovdbyless?hl=en Who loves ya baby? -~----------~----~----~----~------~----~------~--~---
