Hi Pat, Thank you for such a quick response. Rails 2.3.5, ruby 1.8.7 My deployment script is rather complex and deployment is actually done through a different app that has a task set up specifically to deploy apps with. Essentially I run a cap cloud deploy plus arguments and the require is set right at the beginning of the task
task :cloud do require 'erb' require 'thinking_sphinx/deploy/capistrano' ... end On Nov 22, 1:43 pm, Pat Allan <[email protected]> wrote: > Hi James > > What version of Rails are you using? And are you using Bundler? > > Also: where are you putting the require statement? > > Cheers > > -- > Pat > > On 23/11/2010, at 12:33 AM, jamesw wrote: > > > > > > > > > Hi, > > I'm setting up thinking_sphinx and have installed the 1.4.0 gem. > > I have everything working successfully on my dev box and I'm now > > trying to sort out my deployment recipe. > > I have added require 'thinking_sphinx/deploy/capistrano' but I receive > > a no such file to load error. > > I've checked for the file and it is located at > > lib/thinking_sphinx/deploy/capistrano.rb > > I've checked that the rake tasks are getting loaded in Rakefile and > > that is all good. > > I'm totally stumped as to why I get > > `require': no such file to load -- thinking_sphinx/deploy/capistrano > > (LoadError) when I deploy? > > > Any ideas/help greatly appreciated > > > -- > > You received this message because you are subscribed to the Google Groups > > "Thinking Sphinx" 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 > > athttp://groups.google.com/group/thinking-sphinx?hl=en. -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" 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/thinking-sphinx?hl=en.
