Skip to content

Instantly share code, notes, and snippets.

View phlegx's full-sized avatar
💪
never stop coding

Phlegx Systems phlegx

💪
never stop coding
View GitHub Profile
Feb 06 21:47:07 2013 (17103) command failed: /usr/sbin/postalias /etc/mailman/aliases (status: 1, Operation not permitted)
Feb 06 21:47:07 2013 admin(17103): @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
admin(17103): [----- Mailman Version: 2.1.12 -----]
admin(17103): [----- Traceback ------]
admin(17103): Traceback (most recent call last):
admin(17103): File "/usr/lib/mailman/scripts/driver", line 112, in run_main
admin(17103): main()
admin(17103): File "/usr/lib/mailman/Mailman/Cgi/create.py", line 56, in main
admin(17103): process_request(doc, cgidata)
admin(17103): File "/usr/lib/mailman/Mailman/Cgi/create.py", line 238, in process_request
== Seed from /home/gitlab/gitlab/db/fixtures/production/001_admin.rb
rake aborted!
No such file or directory - /home/git/repositories/root
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/seed-fu-2.2.0/lib/seed-fu/runner.rb:46:in `eval'
/home/gitlab/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/fileutils.rb:244:in `fu_mkdir'
/home/gitlab/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/fileutils.rb:176:in `block in mkdir'
/home/gitlab/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/fileutils.rb:175:in `each'
/home/gitlab/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/fileutils.rb:175:in `mkdir'
/home/gitlab/gitlab/app/models/namespace.rb:55:in `ensure_dir_exist'
/home/gitlab/gitlab/vendor/bundle/ruby/1.9.1/gems/activesupport-3.2.11/lib/active_support/callbacks.rb:409:in `_run__4378938896513703217__create__1700252184497488639__callbacks'
## deploy.rb
namespace :doc do
desc "Generate documentation"
task :setup do
`yardoc app`
end
end
# /etc/nsswitch.conf
#
# Example configuration of GNU Name Service Switch functionality.
# If you have the `glibc-doc-reference' and `info' packages installed, try:
# `info libc "Name Service Switch"' for information about this file.
passwd: compat
group: compat
shadow: compat
127.0.0.1 localhost
127.0.1.1 user-ThinkPad-T410
138.232.xx.xxx widget.example.com
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
git push -f
Counting objects: 223, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (91/91), done.
Writing objects: 100% (157/157), 25.68 KiB, done.
Total 157 (delta 84), reused 131 (delta 64)
remote: + refs/heads/master username DENIED by refs/heads/master
remote: error: hook declined to update refs/heads/master
To gitolite@code.example.com:my_project
+ d19e304...db40b3d development -> development (forced update)
bundle
Fetching source index for http://rubygems.org/
Fetching source index for https://gems.example.com/
Could not reach rubygems repository http://rubygems.org/, https://gems.example.com/
Could not find gem 'my_gem (~> 0.1.2) ruby' in any of the gem sources listed in your Gemfile.
source "http://rubygems.org"
source 'https://gems.example.com'
gemspec
gem 'my_gem', '~> 0.1.2'
rm -rf /var/lib/gitolite/my_project
cd /var/lib/gitolite
git clone --no-hardlinks /var/lib/gitolite/repositories/my_project.git
echo "rvm use 1.9.3@gemserver --create" > /var/lib/gitolite/my_project/.rvmrc
echo "export rvm_trust_rvmrcs_flag=1" >> /var/lib/gitolite/my_project/.rvmrc
cd /var/lib/gitolite/my_project
gem env
<?xml version="1.0" encoding="UTF-8"?>
<testsuites errors="0" failures="0" skipped="12" tests="76" time="122.479098532" timestamp="2013-01-22T17:33:31+01:00">
<testsuite name="Adapter::Generic::ImageAdapter" tests="5" errors="0" failures="0" skipped="0">
<properties/>
<testcase name="Adapter::Generic::ImageAdapter should have a valid response after posting an image." time="9.795598445">
</testcase>
<testcase name="Adapter::Generic::ImageAdapter should not publish a nil reference" time="0.007955988">
</testcase>
.....
</testsuites>