Skip to content

Instantly share code, notes, and snippets.

@petRUShka
petRUShka / gist:4162610
Created November 28, 2012 17:13
ekopatch fail
[ 47%] Generating stdcxx-static-x86_64/atomic-cxx_S.o
[ 47%] Generating stdcxx-static-x86_64/assert_cpp.o
In file included from /tmp/yaourt-tmp-user/aur-path64-suite-git/src/path64-suite/compiler/stdcxx/include/ansi/wchar.h:202,
from /usr/include/_G_config.h:21,
from /usr/include/libio.h:33,
from /usr/include/../include/stdio.h:75,
from /tmp/yaourt-tmp-user/aur-path64-suite-git/src/path64-suite/compiler/stdcxx/include/ansi/stdio.h:93,
from /tmp/yaourt-tmp-user/aur-path64-suite-git/src/path64-suite/compiler/stdcxx/src/assert.cpp:33:
/tmp/yaourt-tmp-user/aur-path64-suite-git/src/path64-suite/compiler/stdcxx/include/rw/_mbstate.h:146: error: conflicting declaration 'typedef struct __mbstate_t __mbstate_t'
/usr/include/../include/wchar.h:94: error: '__mbstate_t' has a previous declaration as 'typedef struct __mbstate_t __mbstate_t'
@petRUShka
petRUShka / env.rb
Created February 3, 2011 23:06
cucumber config with spork
require 'rubygems'
require 'spork'
Spork.prefork do
ENV["RAILS_ENV"] ||= "test"
require File.expand_path(File.dirname(__FILE__) + '/../../config/environment')
require 'cucumber/formatter/unicode' # Remove this line if you don't want Cucumber Unicode support
require 'cucumber/rails/world'
require 'cucumber/rails/active_record'
SQL (0.1ms) SET NAMES 'utf8'
SQL (0.1ms) SET SQL_AUTO_IS_NULL=0
User Columns (0.8ms) SHOW FIELDS FROM `users`
SQL (0.1ms) BEGIN
User Load (0.3ms) SELECT * FROM `users`
SQL (0.2ms) SAVEPOINT active_record_1
User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY '[email protected]') LIMIT 1
User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'user') LIMIT 1
User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (`users`.`persistence_token` = BINARY 'ecc763fb6656c60eb3415e6aa786425b0d93d0e8762935377801fd504823f5bef9f6361a3f70610739a2ec30730c7fa393c8918b83a6efd2ae9271f7fe674b37') LIMIT 1
User Create (0.3ms) INSERT INTO `users` (`name`, `last_request_at`, `created_at`, `crypted_password`, `updated_at`, `perishable_token`, `role`, `current_login_ip`, `current_company_id`, `id`, `password_salt`, `current_login_at`, `wanted_company_id`, `persistence_token`, `login_count`, `phone`, `last_login_ip`
@petRUShka
petRUShka / gist:810394
Created February 3, 2011 22:52
List of gems
Using rake (0.8.7)
Using ZenTest (4.4.2)
Using aaronh-chronic (0.3.9)
Using activesupport (2.3.8)
Using rack (1.1.0)
Using actionpack (2.3.8)
Using actionmailer (2.3.8)
Using activerecord (2.3.8)
Using activeresource (2.3.8)
Using authlogic (2.1.6)
# rake spec
(in /home/petrushka/webdev/my_app)
/usr/lib/ruby/gems/1.9.1/gems/capybara-0.3.9/lib/capybara/cucumber.rb:4:in `<top (required)>': undefined method `World' for main:Object (NoMethodError)
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `require'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `block in require'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in `block in load_dependency'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:591:in `new_constants_in'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:225:in `load_dependency'
from /usr/lib/ruby/gems/1.9.1/gems/activesupport-3.0.0/lib/active_support/dependencies.rb:239:in `require'
from /usr/lib/ruby/gems/1.9.1/gems/akephalos-0.2.4/lib/akephalos/cucumber.rb:1:in `<top (required)>'