This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ActiveSupport::TestCase | |
# Drop all columns after each test case. | |
def teardown | |
MongoMapper.database.collections.each do |coll| | |
coll.remove unless coll.name =~ /^system\./ | |
end | |
end | |
# Make sure that each test case has a teardown | |
# method to clear the db after each test. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
merb : worker (port 4000) ~ Starting Thin at port 4000 | |
merb : worker (port 4000) ~ Using Thin adapter on host 0.0.0.0 and port 4000. | |
merb : worker (port 4000) ~ Successfully bound to port 4000 | |
INFO: Compiling routes... (totally normal to see 'Cannot find resource model') | |
~ Loaded slice 'ChefServerApi' ... | |
~ Compiling routes... | |
~ Could not find resource model User | |
~ Could not find resource model Node | |
~ Could not find resource model Role | |
~ Could not find resource model Search |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
log_level :info | |
log_location STDOUT | |
node_name 'zbelzer' | |
client_key '/root/.chef/zbelzer.pem' | |
validation_client_name 'chef-validator' | |
validation_key '/root/.chef/chef-validator.pem' | |
chef_server_url 'http://ec2-204-236-254-87.compute-1.amazonaws.com:4000' | |
cache_type 'BasicFile' | |
cache_options( :path => '/root/.chef/checksums' ) | |
cookbook_path [ './cookbooks', './site-cookbooks' ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rake install | |
/usr/lib/ruby/gems/1.8/gems/chef-0.8.6/lib/chef/rest.rb:202:in `initialize': Neither PUB key nor PRIV key:: not enough data (OpenSSL::PKey::RSAError) | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.6/lib/chef/rest.rb:202:in `new' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.6/lib/chef/rest.rb:202:in `new' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.6/lib/chef/rest.rb:202:in `run_request' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.6/lib/chef/rest.rb:121:in `put_rest' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.6/lib/chef/role.rb:249:in `save' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.6/lib/chef/knife/role_from_file.rb:32:in `run' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.6/lib/chef/application/knife.rb:110:in `run' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/knife:26 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rake install | |
/usr/lib/ruby/gems/1.8/gems/chef-0.8.6/lib/chef/rest.rb:202:in `initialize': Neither PUB key nor PRIV key:: not enough data (OpenSSL::PKey::RSAError) | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.6/lib/chef/rest.rb:202:in `new' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.6/lib/chef/rest.rb:202:in `new' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.6/lib/chef/rest.rb:202:in `run_request' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.6/lib/chef/rest.rb:121:in `put_rest' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.6/lib/chef/role.rb:249:in `save' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.6/lib/chef/knife/role_from_file.rb:32:in `run' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.6/lib/chef/application/knife.rb:110:in `run' | |
from /usr/lib/ruby/gems/1.8/gems/chef-0.8.6/bin/knife:26 |
NewerOlder