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.
on 2009-12-24 15:58
on 2009-12-26 08:52
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 <dihita...@gmail.com> 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! > > > > > > rubyonrails-talk@googlegroups.com > > > > > > > > > rubyonrails-talk+unsubscribe@googlegroups.com<rubyonrails-talk%2Bunsubscrib e@googlegroups.com><rubyonrails-talk%2Bunsubscrib > > > > Groups > > > > > >http://groups.google.com/group/rubyonrails-talk?hl=en. > > > > To post to this group, send email to rubyonrails-talk@googlegroups.com > > 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 rubyonrails-talk@googlegroups.com. > > To unsubscribe from this group, send email to > > rubyonrails-talk+unsubscribe@googlegroups.com<rubyonrails-talk%2Bunsubscrib e@googlegroups.com> > > . > > 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 rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
on 2010-01-19 21:15
Hi Craig Westmoreland, Seems it be the solution. http://shriikant.blogspot.com/2009/08/how-to-gem-install-mysql.html Let me know if any kind of issue in rails deployment. i will help. Craig Westmoreland 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
on 2010-02-04 14:21
Craig Westmoreland 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.
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.