Using worker: staging:worker-2
$ git clone --depth=1000 --quiet git://github.com/padrino/padrino-framework.git ~/builds/padrino/padrino-framework
$ git checkout -qf 5e7f244de66bf412e5183b50827019d894eb6e4d
$ rvm use 1.9.2
Using /home/vagrant/.rvm/gems/ruby-1.9.2-p290
$ export BUNDLE_GEMFILE=/home/vagrant/builds/padrino/padrino-framework/Gemfile
$ bundle install
Installing memcached (1.3) with native extensions /home/vagrant/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:551:
in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::ExtensionBuildError)
./configure: line 19148: syntax error near unexpected token `sasl,,'
./configure: line 19148: ` AC_LIB_HAVE_LINKFLAGS(sasl,,'
make: *** [config.status] Error 2
*** extconf.rb failed ***
extconf.rb:64:in `chdir': No such file or directory - /home/vagrant/.rvm/gems/ruby-1.9.2-p290/gems/memcached-1.3/ext/lib (Errno::ENOENT)
from extconf.rb:64:in `check_libmemcached'
from extconf.rb:71:in `<main>'
Gem files will remain installed in /home/vagrant/.rvm/gems/ruby-1.9.2-p290/gems/memcached-1.3 for inspection.
We can reproduce it by manually installing memcached gem but I am not sure what configure has that syntax error yet. Interestingly enough, dalli installs just fine so if you can use that, do it.