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
git clone [email protected]:statrev.git
Cloning into 'statrev'...
The authenticity of host 'projects.piratenpartei.ch (88.198.70.107)' can't be established.
RSA key fingerprint is dd:8e:5b:34:9d:38:72:17:65:6e:ce:7e:97:da:44:48.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'projects.piratenpartei.ch,88.198.70.107' (RSA) to the list of known hosts.
Received disconnect from 88.198.70.107: 2: Too many authentication failures for gitosis
fatal: The remote end hung up unexpectedly
apt-get install openssh-server
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed:
libbsd0 libedit2 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libwrap0 libx11-6 libx11-data libxau6 libxcb1
libxdmcp6 libxext6 libxmuu1 openssh-blacklist openssh-blacklist-extra openssh-client tcpd xauth
Suggested packages:
krb5-doc krb5-user ssh-askpass libpam-ssh keychain rssh molly-guard ufw
The following NEW packages will be installed:
libbsd0 libedit2 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libwrap0 libx11-6 libx11-data libxau6 libxcb1
# rspec view
assert_select "tr>td", :text => "something1".to_s, :count => 2
assert_select "tr>td", :text => "something2".to_s, :count => 2
assert_select "tr>td", :text => "something3".to_s, :count => 2
#view:
...
%td
= ch.something1
%td
# code (spec_helper.rb)
# Remove this line if you're not using ActiveRecord or ActiveRecord fixtures
config.fixture_path = "../test/fixtures"
##trace
bundle exec rspec spec/lib/adapter/youtube/video_adapter_spec.rb
/home/username/workspace_ist/projectx_adapters/spec/spec_helper.rb:55:in `block (2 levels) in <top (required)>': undefined method `fixture_path=' for #<RSpec::Core::Configuration:0x00000001f71d80> (NoMethodError)
from /home/username/.rvm/gems/ruby-1.9.3-p0@projectx_adapters/gems/rspec-core-2.11.1/lib/rspec/core.rb:92:in `configure'
from /home/username/workspace_ist/projectx_adapters/spec/spec_helper.rb:31:in `block in <top (required)>'
/home/username/.rvm/gems/ruby-1.9.3-p0@projectx_adapters/gems/activesupport-3.1.4/lib/active_support/inflector/methods.rb:124:in `block in constantize': uninitialized constant User (NameError)
from /home/username/.rvm/gems/ruby-1.9.3-p0@projectx_adapters/gems/activesupport-3.1.4/lib/active_support/inflector/methods.rb:123:in `each'
from /home/username/.rvm/gems/ruby-1.9.3-p0@projectx_adapters/gems/activesupport-3.1.4/lib/active_support/inflector/methods.rb:123:in `constantize'
from /home/username/.rvm/gems/ruby-1.9.3-p0@projectx_adapters/gems/devise-2.0.4/lib/devise.rb:293:in `get'
from /home/username/.rvm/gems/ruby-1.9.3-p0@projectx_adapters/gems/devise-2.0.4/lib/devise/mapping.rb:77:in `to'
from /home/username/.rvm/gems/ruby-1.9.3-p0@projectx_adapters/gems/devise-2.0.4/lib/devise/mapping.rb:72:in `modules'
from /home/username/.rvm/gems/ruby-1.9.3-p0@projectx_adapters/gems/devise-2.0.4/lib/devise/mapping.rb:89:in `routes'
from /home/username/.rvm/gems/ruby-1.9.3-p0@projectx_adapters/gems/devise-2.0.4/
If you write a bug report, please include the following output in your bug report.
Falls Du einen Fehlerbericht erstellst, füge bitte die folgenden Ausgaben mit ein.
/opt/liquid_feedback_frontend/env/format/wiki_text.lua:7: Wiki parser process returned with error code 1
Stack trace follows:
[C]: in function 'error'
/opt/liquid_feedback_frontend/env/format/wiki_text.lua:7: in function 'wiki_text'
/opt/liquid_feedback_frontend/env/model/has_rendered_conten:30: in function 'render_content'
/opt/liquid_feedback_frontend/env/model/has_rendered_conten:46: in function 'get_content'
Unable to load X Server Display Configuration page:
The NVIDIA X driver on xxxx is not new
enough to support the nvidia-settings Display Configuration page.
*** [err :: stage.example.com] find:
*** [err :: stage.example.com] `/home/capistrano/daemon/staging/releases/20121106104454/public/images /home/capistrano/daemon/staging/releases/20121106104454/public/stylesheets /home/capistrano/daemon/staging/releases/20121106104454/public/javascripts'
*** [err :: stage.example.com] : No such file or directory
*** [err :: stage.example.com]
triggering after callbacks for `deploy:update_code'
* 2012-11-06 12:38:11 executing `deploy:assets:precompile'
* executing "cd /home/capistrano/daemon/staging/releases/20121106113809 && bundle exec rake RAILS_ENV=staging RAILS_GROUPS=assets assets:precompile"
servers: ["stage.example.com"]
[stage.example.com] executing command
*** [err :: stage.example.com] rake aborted!
*** [err :: stage.example.com] can't convert nil into Hash
*** [err :: stage.example.com] (See full trace by running task with --trace)
*** [err :: stage.example.com]
namespace :daemon do
desc "Start, stop and restart daemon"
task :restart do
STDERR.puts `/bin/hostname`
#`/etc/init.d/daemon start`
end
end
################