Has anyone gotten sphinx to work with Lion? - sphinx

Just curious if anyone out there has gotten Sphinx to work with Lion? If yes, how did you install it?
I seen to be running into problem after problem, cannot find anyone else who has this working yet.
Thanks!

Yes
Just got it to work on my Lion install.
You have to checkout the latest release from their trunk.
svn checkout http://sphinxsearch.googlecode.com/svn/trunk/ sphinxsearch-read-only
And then follow the regular install method
./configure
make
sudo make install
Thanks to The Rails Blog for the tip.
JP

Related

Can not deploy Rails to production. DEPLOY FAILED, Refer to log/capistrano.log for details. Your bundle is locked to mimemagic (0.3.5)

Hi I'm a little stuck with with this. Never had this issue in the past. I get this error below in capistrano log details. I tried to update mimemagic and followed this here https://www.rubydoc.info/github/mimemagicrb/mimemagic
The error
Your bundle is locked to mimemagic (0.3.5), but that version could not be found in any of the sources listed in your Gemfile. If you haven't changed sources, that means the author of mimemagic (0.3.5) has removed it. You'll need to update your bundle to a version other than mimemagic (0.3.5) that hasn't been removed in order to install.
I appreciate your help with this.
So this is due to mimemagic being yanked due to copyright issues. Anyways, I'm on a mac and I'm using rails 6, I'm not sure what you'd do if you're using older versions of rails. My issue got solved by doing the following:
First please make sure you have work committed to git prior to doing anything.
In gem file
gem 'mimemagic', '>= 0.3.8'
Then in your terminal run
brew install shared-mime-info
or you may have to run
brew upgrade shared-mime-info
Finally run
bundle update marcel mimemagic
So that solved the issues for me. Here is a good reference.
https://github.com/mimemagicrb/mimemagic/issues/98
Also you may want to follow up on any copyright infringements.

How to Install Gem?

I don't know where Gem comes from, but I'm trying to install Jekyll from GitHub, and it says for start ups you need to install Gem. How do I install it?
I've looked up already on Google and on StackOverflow. The results didn't help at all. Thanks!
You need to have Ruby installed in order to use Gem. Depending on which OS you're using depends on the installation for Ruby but here is a link for windows.

Xen on Centos 7

I am a newbie to Xen and want to download it on my machine which currently has CentOS7. I have been researching and experimenting for a couple of days but can't seem to find a straightforward answer on how to install a fully functioning Xen on CentOS7. I tried using the workaround at http://www.lairdscomputer.com/Blog/tabid/62/EntryId/74/Installing-Xen-4-on-Centos-7.aspx, but it seems that some of the packages it uses might be outdated.
Is it even possible to install Xen on CentOS7, even if it is missing some parts to it? Would it be better just to go back to CentOS6.x so that I can install Xen4CentOS?
Thanks in advance! Any advice is appreciated!
Afaik RedHat therefore CentOS is not supporting Xen whoever in fact it is possible.
I am using xen4centos on my Centos7 server, it was installed along with official article from wiki:
https://wiki.centos.org/HowTos/Xen/Xen4QuickStart
It it is not, please provide some logs, errors etc

Redmine 'mentions' plugin stopped working

I've installed the Redmine Mentions plugin from:
https://github.com/arkhitech/redmine_mentions
And it worked perfect until a few days. I couldn't find helpful information on the internet and the author didn't reply as well so It'd be great if someone could advise on this one.
No changes took place on the server, no config modifications...and suddenly the mention 'trigger' (which is currently '#') isn't working.
I've tried to restart, reinstall and reconfig the trigger but none of these solved the issue.
Here's a little bit of info on the system:
Environment:
Redmine version 2.4.2.stable
Ruby version 1.9.3-p484 (2013-11-22) [x86_64-linux]
Rails version 3.2.16
Environment production
Database adapter Mysql2
Please advise,
Much appreciated!
Thanks,
Talbion.
OK, I've eventually managed to fix this by removing a plugin called 'a_common_libs' which was a dependency for another plugin that's been installed on the server - 'Usability plugin'. At first I uninstalled the Usability plugin (our redmine version 2.4 wasn't supported by this plugin) but that didn't solve the 'mentions' issue. Later I've decided to uninstall it's dependency as well...and it looks good.
(btw, for whoever is curious about the uninstallation process - it consisted of MOVING the plugin folder and restarting Redmine. That's it).
So...I don't know exactly how both plugins are related but somehow the removal of the common libraries fixed mentions.
Thanks again for your help.
Talbion.

Satchmo install on a mac using virtualenv

I have virtualenv set up and working correctly on my mac os (leopard) running python 2.6 & django 1.2.3. I want to install Satchmo but I haven't found solid instructions for a mac install using virtualenv. Can anyone help regarding this? thanks.
If you're using buildout with virtualenv then try this: https://github.com/shywolf9982/satchmo-buildout
Of course installing newest XCode ie. 3.1 or 3.2 is a must..
Unfortunatelly compiniling stuff on Mac can give you the creeps... My collegue and I, were fighting 12h with installation of geodjango on Spatialite database, and we didn't make it after all :)
If you're not using buildout then just use macports for installing modules listed in above repo's buildout.cfg file.
Good luck!
This Satchmo Project post contains the instructions I follow on Snow Leopard. I use Homebrew and/or MacPorts in lieu of the Debian package tools.