Re: Occasional Memcached::ServerIsMarkedDead Error

2010-07-26 Thread chris
Alright, maybe the memcached-northscale gem isn't working as expected. Got some strange errors over the weekend: "NoMemoryError: failed to allocate memory" .bundle/gems/gems/memcached-northscale-0.19.5.3/lib/memcached/ memcached.rb:309:in `dump' .bundle/gems/gems/memcached-northscale-0.19.5.3/lib

Re: rails 2.3 change the From field with Gmail SMTP?

2010-07-26 Thread Kelly Heikkila
It has been my experience that Gmail does not allow you to set the "From" address. It will only use the authenticated user's email. This is one of the reasons we switched to the Sendgrid plugin. Kelly Heikkila :coderow On Jul 26, 2010, at 12:57 AM, Matthew Todd wrote: On Jul 23, 2010, a

Sunspot and geo search

2010-07-26 Thread AlainP
In Sunspot documentation, it says: Ordering by field value, relevance, geographical distance, or random is it possible to make it work with Heroku? From what I understand, geo search is only available on Solr with a plugin to Solr. Am I missing something? -- You received this message because y

Problem with awesome_nested_set and Rails 3, and a fix

2010-07-26 Thread Dee
Using awesome_nested_set 1.4.3 with Rails 3 on Heroku was not straight forward. I wanted to document this here in case someone else had the same problem. First, make sure you have installed it as a plugin, not as a gem. Remove it from Gemfile if you have it there and install it on your local with:

Error from the get go when heroku keys:add

2010-07-26 Thread jgervin
Anyone know what would be causing this error? I installed the gem and it went successfully. /usr/local/lib/ruby/gems/1.9.1/gems/heroku-1.9.12/lib/heroku/client.rb: 5:in `require': no such file to load -- json/pure (LoadError) from /usr/local/lib/ruby/gems/1.9.1/gems/heroku-1.9.12/lib/hero

Re: config paperclip for s3

2010-07-26 Thread Dan Croak
I think this is an "aws-s3 gem doesn't support European buckets by default" thing. Try setting this constant in your config/environment.rb: AWS::S3::DEFAULT_HOST = "s3-eu-west-1.amazonaws.com" Discussion here: http://github.com/marcel/aws-s3/issues#issue/4 On Jul 25, 3:23 pm, Mateus wrote: >

new Bundler version?

2010-07-26 Thread Dan Croak
Howdy, I was messing with a Rails 3 app on REE & Heroku. Things started out well but as I added dependencies to my Gemfile, I started getting seg faults: https://rails.lighthouseapp.com/projects/8994/tickets/5193-segmentation-fault-on-rake-dbcreate-multiple-rubies-multiple-dbs The fix in develop

Re: Sunspot and geo search

2010-07-26 Thread Matthew A. Brown
WebSolr's Sunspot hosting uses the solr-spatial-light plugin to support Sunspot's geo search. However, the next Sunspot release will remove the need for an extended Solr and instead use a geohash-based spatial search that works with an out-of-box Solr 1.4 instance. On Mon, Jul 26, 2010 at 09:00, A

can't deploy Rails 3 release candidate apps

2010-07-26 Thread Daniel Kehoe
Heroku, please update Bundler to 1.0.0.rc.1 so we can use our Rails 3 apps. The Rails 3 release candidate is out and now we can't deploy Rails 3 apps to Heroku. I get -> Gemfile detected, running Bundler Unresolved dependencies detected; Installing... Fetching source index from

Re: Sunspot and geo search

2010-07-26 Thread AlainP
Ok. Are there any tutorials on this on the net? Either there are none or I am searching using the wrong keywords because I havent found any ;-S Any idea on when the next Sunspot version will be out? On Jul 26, 1:06 pm, "Matthew A. Brown" wrote: > WebSolr's Sunspot hosting uses the solr-spatial-

Re: Sunspot and geo search

2010-07-26 Thread Matthew A. Brown
If you're using WebSolr, you shouldn't need to do anything special to get spatial search working -- just consult the Sunspot API docs for the #near method (geo search) and #coordinates method (geo indexing). No particular ETA on Sunspot 1.2 -- hopefully within a few weeks though. On Mon, Jul 26,