Skip to content

Instantly share code, notes, and snippets.

View bartocc's full-sized avatar

Julien Palmas bartocc

View GitHub Profile
bar
@bartocc
bartocc / output
Created November 25, 2014 15:51
Segmentation fault
Welcome to the Phusion Passenger Apache 2 module installer, v5.0.0.beta1.
This installer will guide you through the entire installation process. It
shouldn't take more than 3 minutes in total.
Here's what you can expect from the installation process:
1. The Apache 2 module will be installed for you.
2. You'll learn how to configure Apache.
3. You'll learn how to deploy a Ruby on Rails application.
define_index do
# fields
indexes corporate_name, :sortable => true, :as => :rs
indexes id, :as => :newid
indexes external_id, :as => :oldid
indexes usual_corporate_name, :as => :rsu
indexes [contacts.first_name, contacts.last_name], :as => :nom_contact
indexes contacts.role, :as => :role_contact
indexes categories.label, :as => :categorie
[julien@mbp-crux] ~/Projects/leadex (master) $ rvm install 1.9.2-preview3 --trace
install 1.9.2-preview3 --trace
rvm 0.1.32 by Wayne E. Seguin (wayneeseguin@gmail.com) [http://rvm.beginrescueend.com/]
+ [[ -z install ]]
+ [[ ! -z '' ]]
+ [[ ! -z '' ]]
+ [[ 0 -gt 0 ]]
+ [[ 0 -gt 0 ]]
# 1.9.2 only (did not try 1.9.1)
puts "foo"
.upcase
.downcase
gem 'sunspot_rails', :require => 'sunspot/rails'
scope '//table[@id = 'admins']//*[position() = 2 and self::tr]' not found on page (Capybara::ElementNotFound)
./features/step_definitions/web_steps.rb:14:in `with_scope'
./features/step_definitions/web_steps.rb:108:in `/^(?:|I )should see "([^\"]*)"(?: within "([^\"]*)")?$/'
features/manage_admins.feature:27:in `Then I should see "admin@foo.com" within "table#admins tr[2]"'
Before("~@search") do
Sunspot.session = Sunspot::Rails::StubSessionProxy.new(Sunspot.session)
end
# make sure that pickle calls #index! on our appropriate models
require File.join(File.dirname(__FILE__), 'pickle')
module Pickle
module Session
Around("~@search") do |s, block|
original_ss_session = Sunspot.session
Sunspot.session = Sunspot::Rails::StubSessionProxy.new(Sunspot.session)
block.call
Sunspot.session = original_ss_session
end
@bartocc
bartocc / gist:29e0a3455203c394a160
Created September 18, 2015 09:31
ember deploy:list prod
version: 1.13.8
Registering hook -> configure[build]
Registering hook -> configure[gzip]
Registering hook -> configure[s3]
Registering hook -> configure[redis]
Registering hook -> configure[manifest]
Registering hook -> configure[revision-key]
Executing pipeline
|
+- configure