What distribution are you running? Also, relying on Cpanel in a VPS hosting doesn't make much sense.
I haven't seen any working Cpanel based administration that actually works or makes sense. -- Aníbal Rojas http://hasmanydevelopers.com http://rubycorner.com http://anibal.rojas.com On May 17, 7:36 am, Chris Scott <[EMAIL PROTECTED]> wrote: > Good Afternoon, > > I am fairly new to Ruby on Rails and im am having countless problems > with the deployment of a eccommerce site onto a linux server, i am > currently onto my second hosting company (www.eukhost.com) and have > purchase a VPS. > > As the first company we went with took down the site as it was using > high level of the CPU around 80%(Aventurehost.com) Reseller Account. > > after a little playing aroung with the config etc the site was working > fine although running alittle slow on first hosting company but as i > said was taken down. > > i was reccommended to go for a VPS and that they didnt have any VPS > packages left we had to look else where. > > Now we have the VPS but now cant get the site running at all and the > hosting company dont have a clue on what is wrong. > > Where we are at:- > > The site has been uploaded to the server, a database has been created, > the rails apps has been added and a rewrite has been made. i have asked > the eukhost to install all of the gems that are needed for the site to > run as they have told me this has been done, > > The Problem, > > When we try to run the apps via the CPANEL we get a error on the mongral > log saying : > "/usr/lib/ruby/gems/1.8/gems/rmagick-2.2.2/lib/RMagick2.so: > libMagickCore.so.1: cannot open shared object file: No such file or > directory - /usr/lib/ruby/gems/1.8/gems/rmagick-2.2.2/lib/RMagick2.so > (LoadError)" > > we have informed the host of this issue but they dont have a clue how to > solve it and all the information we can find on the internet is > > Help! I'm getting the message "libMagickWand.so.1: cannot open shared > object file: No such file or directory" I know ImageMagick is installed! > What should I do? > The full text of the message is: > > /usr/lib/ruby/gems/1.8/gems/rmagick-2.2.2/lib/RMagick2.so: > libMagickWand.so.1: cannot open shared object file: No such file or > directory - /usr/lib/ruby/gems/1.8/gems/rmagick-2.2.2/lib/RMagick2.so > (LoadError) > > The message will be slightly different if you are installing RMagick > from source or you've installed GraphicsMagick. > > This message is extremely confusing. It looks like Ruby is complaining > that it can't find RMagick.so, but actually Ruby is complaining that it > can't find libMagickWand.so. > > Unless you specify a different directory when you run the configure > script, the ImageMagick/GraphicsMagick shared object file > (libMagickWand.so or libGraphicsMagick.so) is installed in the > /usr/local/lib directory. However, the Linux dynamic linker/loader only > looks for shared objects in /lib and /usr/lib by default. You have to > add /usr/local/lib to the list of locations it searches. The easiest way > to do this is to use the LD_LIBRARY_PATH environment variable. Add this > statement to one of your start-up files: > > export LD_LIBRARY_PATH=/usr/local/lib > > But this doesnt help and just generates more errors any help is greatly > needed, > > Error when the export lib path was added:- > /home/italy/public_html/config/environments/production.rb:22:in > `load_environment': compile error (SyntaxError) > /home/italy/public_html/config/environments/production.rb:22: unknown > regexp options - lcal from > /usr/lib/ruby/gems/1.8/gems/rails-1.2.6/lib/initializer.rb:209:in > `load_environment' > > All help is greatly needed thanks in advance, > > Chris, > -- > Posted viahttp://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---