Hi there,
I’m just trying to deploy my very 1st app to my vhost, and i’m getting
an error
on the phusion passenger page:
no such file to load – ferret
now everything worked fine in development.
DO i need to reinstall the plugin and gem again?
if so - would these
be in domain.com/public? or should it be installed at domain.com?
ANy advice would be great!
THank you.
Hmmm…
I may have to keep looking, just tried: /usr/bin/ruby1.8 extconf.rb –
with-mysql-dir=/usr/local/mysql --with-mysql-lib=/usr/local/mysql/lib
–with-mysql-include=/usr/local/mysql/include
and it returns with:
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb --with-mysql-dir=/usr/local/mysql --with-
mysql-lib=/usr/local/mysql/lib --with-mysql-include=/usr/local/mysql/
include
checking for mysql_query() in -lmysqlclient… no
checking for main() in -lm… yes
checking for mysql_query() in -lmysqlclient… no
checking for main() in -lz… no
checking for mysql_query() in -lmysqlclient… no
checking for main() in -lsocket… no
checking for mysql_query() in -lmysqlclient… no
checking for main() in -lnsl… yes
checking for mysql_query() in -lmysqlclient… no
checking for main() in -lmygcc… no
checking for mysql_query() in -lmysqlclient… no
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Is this a problem with the host, of am I doing something wrong?
Thanks again,
On 24 Dec, 18:27, Gintautas Å imkus [email protected] wrote:
checking for mysql_query() in -lmysqlclient… no
Ah yes… correct.
ferret (0.11.6)
will_paginate (2.3.11)
goes
just to elaborate on this:
{Regexp.escape path}\z/ and
false,
On 24 Dec, 14:09, RubyonRails_newbie <
no such file to load – ferret
ANy advice would be great!
[email protected]
[email protected]<rubyonrails-talk%2Bunsubscrib [email protected]><rubyonrails-talk%2Bunsubscrib
Groups
http://groups.google.com/group/rubyonrails-talk?hl=en.
To post to this group, send email to [email protected]
You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected]<rubyonrails-talk%2Bunsubscrib [email protected]>
.
For more
…
read more »
–
You received this message because you are subscribed to the Google
Groups “Ruby on Rails: Talk” 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/rubyonrails-talk?hl=en.
Hi Craig W.,
Seems it be the solution.
Let me know if any kind of issue in rails deployment. i will help.
Craig W. wrote:
Hmmm…
I may have to keep looking, just tried: /usr/bin/ruby1.8 extconf.rb –
with-mysql-dir=/usr/local/mysql --with-mysql-lib=/usr/local/mysql/lib
–with-mysql-include=/usr/local/mysql/include
Craig W. wrote:
Hi there,
I’m just trying to deploy my very 1st app to my vhost, and i’m getting
an error
on the phusion passenger page:
no such file to load – ferret
now everything worked fine in development.
DO i need to reinstall the plugin and gem again?
if so - would these
be in domain.com/public? or should it be installed at domain.com?
ANy advice would be great!
THank you.
If you finished installing the ferret gem, don’t forget to start the
ferret server
ruby script/ferret_server -e production
In development mode, ferret uses a file, in production mode ferret
automaticly connects to the ferret server.