Skip to content

Instantly share code, notes, and snippets.

View Wolfer's full-sized avatar

Serg F Wolfer

View GitHub Profile
...
[20779:INFO] 2014-04-15 14:13:13 :: Status: 200, Content-Length: 4, Response Time: 130.34ms
[20779:INFO] 2014-04-15 14:13:13 :: Status: 200, Content-Length: 4, Response Time: 124.86ms
[20779:ERROR] 2014-04-15 14:13:13 :: undefined method `rollback' for #<ActiveRecord::ConnectionAdapters::ClosedTransaction:0x882e2b0>
[20779:ERROR] 2014-04-15 14:13:13 :: /usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.1.0/lib/active_record/connection_adapters/abstract/database_statements.rb:249:in `rollback_transaction'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.1.0/lib/active_record/connection_adapters/abstract/database_statements.rb:227:in `rescue in within_new_transaction'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.1.0/lib/active_record/connection_adapters/abstract/database_statements.rb:224:in `within_new_transaction'
/usr/local/rvm/gems/ruby-2.0.0-p451/gems/activerecord-4.1.0/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'
/usr/local/rvm/gems/
# srv.rb
$: << "../../lib" << "./lib"
require 'goliath'
require 'em-synchrony/activerecord'
class MessageLog < ActiveRecord::Base
end
class Srv < Goliath::API
calculate nk_isov # source <(declare -f rvm )
calculate nk_isov # emerge netkit-telnetd --jobs 1
Local copy of remote index is up-to-date and will be used.
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] net-misc/netkit-telnetd-0.17-r10 0 kB
# grep -rn __preprocess_ebuild_env /usr/lib/portage/bin/
/usr/lib/portage/bin/phase-functions.sh:140:# @FUNCTION: __preprocess_ebuild_env
/usr/lib/portage/bin/phase-functions.sh:147:__preprocess_ebuild_env() {
/usr/lib/portage/bin/ebuild.sh:480: __preprocess_ebuild_env || \
/usr/lib/portage/bin/ebuild.sh:699: # Note: readonly variables interfere with __preprocess_ebuild_env(), so
/usr/lib/portage/bin/save-ebuild-env.sh:72: __preprocess_ebuild_env \
#!/bin/bash
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
#
# Miscellaneous shell functions that make use of the ebuild env but don't need
# to be included directly in ebuild.sh.
#
# We're sourcing ebuild.sh here so that we inherit all of it's goodness,
# including bashrc trickery. This approach allows us to do our miscellaneous
# shell work withing the same env that ebuild.sh has, but without polluting
#!/bin/bash
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
PORTAGE_BIN_PATH="${PORTAGE_BIN_PATH:-/usr/lib/portage/bin}"
PORTAGE_PYM_PATH="${PORTAGE_PYM_PATH:-/usr/lib/portage/pym}"
# Prevent aliases from causing portage to act inappropriately.
# Make sure it's before everything so we don't mess aliases that follow.
unalias -a
* Package: net-misc/netkit-telnetd-0.17-r10
* Repository: gentoo
* Maintainer: maintainer-needed@gentoo.org
* USE: abi_x86_32 cdistro_CLD cdistro_desktop elibc_glibc kernel_linux userland_GNU x86
* FEATURES: preserve-libs sandbox usersandbox
>>> Unpacking source...
>>> Unpacking netkit-telnet-0.17.tar.gz to /var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/work
>>> Unpacking netkit-telnet_0.17-36.diff.gz to /var/tmp/portage/net-misc/netkit-telnetd-0.17-r10/work
* Applying netkit-telnet_0.17-36.diff ... [ ok ]
* Applying netkit-telnetd-0.17-cflags-gnu_source.patch ... [ ok ]