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
[default] Importing base box 'lucid64'... | |
[default] The guest additions on this VM do not match the install version of | |
VirtualBox! This may cause things such as forwarded ports, shared | |
folders, and more to not work properly. If any of those things fail on | |
this machine, please update the guest additions and repackage the | |
box. | |
Guest Additions Version: 4.1.0 | |
VirtualBox Version: 4.1.8 | |
[default] Matching MAC address for NAT networking... |
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
/home/vagrant/.rvm/gems/ruby-1.9.3-p0@expertondemand/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `block in require': iconv will be deprecated in the future, use String#encode instead. | |
=> Booting WEBrick | |
=> Rails 3.0.9 application starting in development on http://0.0.0.0:3000 | |
=> Call with -d to detach | |
=> Ctrl-C to shutdown server | |
Exiting | |
/home/vagrant/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:217:in `merge!': can't convert nil into Hash (TypeError) | |
from /home/vagrant/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:217:in `block in revive_hash' | |
from /home/vagrant/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:211:in `each' | |
from /home/vagrant/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:211:in `each_slice' |
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
abstract (1.0.0) | |
actionmailer (3.0.9) | |
actionpack (3.0.9) | |
activemodel (3.0.9) | |
activerecord (3.0.9) | |
activeresource (3.0.9) | |
activesupport (3.0.9) | |
arel (2.0.10) | |
autotest (4.4.6) | |
autotest-rails (4.1.0) |
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
def longtext_and_parts(*names, &block) | |
options = names.pop if names.last.is_a?(Hash) | |
names.each do |name| | |
longtext_field_name = (name.to_s + '_longtext').to_sym | |
@setup.add_text_field_factory(longtext_field_name, options || {}, &block) | |
new_name = (name.to_s + '_longtext_parts').to_sym | |
block ||= Proc.new { self.send name } # for regular attributes | |
@setup.add_text_field_factory(new_name, (options || {}).merge(as: new_name), &block) | |
end | |
end |
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
def longtext_and_parts(*names, &block) | |
options = names.pop if names.last.is_a?(Hash) | |
names.each do |name| | |
longtext_field_name = (name.to_s + '_longtext').to_sym | |
@setup.add_text_field_factory(longtext_field_name, (options || {}).merge(as: longtext_field_name), &block) | |
new_name = (name.to_s + '_longtext_parts').to_sym | |
block ||= Proc.new { self.send name } # for regular attributes | |
@setup.add_text_field_factory(new_name, (options || {}).merge(as: new_name), &block) | |
end | |
end |
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
[2012-04-16 13:27:34 +0200] Role upload failed | |
[2012-04-16 13:27:07 +0200] Response: Failed to authenticate. Ensure that your client key is valid. | |
[2012-04-16 13:27:07 +0200] [31m[1mERROR:[0m Failed to authenticate to http://10.67.43.170:4000 as barkeeper-api with key /monsoon/barkeeper/credentials-root/whatmakesusrun/stag/client_key | |
[2012-04-16 13:26:38 +0200] Uploading cookbooks from repo path site-cookbooks | |
[2012-04-16 13:26:37 +0200] Response: Failed to authenticate. Ensure that your client key is valid. | |
[2012-04-16 13:26:37 +0200] [31m[1mERROR:[0m Failed to authenticate to http://10.67.43.170:4000 as barkeeper-api with key /monsoon/barkeeper/credentials-root/whatmakesusrun/stag/client_key | |
[2012-04-16 13:26:09 +0200] Uploading cookbooks from repo path cookbooks | |
[2012-04-16 13:26:09 +0200] Response: No routes match the request: /cookbooks/Response:/Failed | |
[2012-04-16 13:26:08 +0200] [31m[1mERROR:[0m The object you are looking for could not be found | |
[2012-04-16 13:24:07 +0200] [31m[1mERROR:[0m U |
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
/Users/c5168972/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:221:in `merge!': can't convert nil into Hash (TypeError) | |
from /Users/c5168972/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:221:in `block in revive_hash' | |
from /Users/c5168972/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:215:in `each' | |
from /Users/c5168972/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:215:in `each_slice' | |
from /Users/c5168972/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:215:in `revive_hash' | |
from /Users/c5168972/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:127:in `visit_Psych_Nodes_Mapping' | |
from /Users/c5168972/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/psych/visitors/visitor.rb:15:in `visit' | |
from /Users/c5168972/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/psych/visitors/visitor.rb:5:in `accept' | |
from /Users/c5168972/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/psych/visitors/to_ruby.rb:20:in |
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 User | |
include MongoMapper::Document | |
key :uid, String, :required => true, :unique => true | |
one :profile | |
end | |
class Profile | |
include MongoMapper::EmbeddedDocument |
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
module Sunspot | |
class FieldFactory::Dynamic | |
# avoid use of : in field name | |
def build(dynamic_name) | |
AttributeField.new("#{@name}_#{dynamic_name}", @type, @options.dup) | |
end | |
end | |
class Setup | |
# support using dynamicfields by using function { :"dynamic_field:field_name"} |
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
berm00259937a:expertondemand c5168972$ cucumber features/acceptance_features/profiles/completeness.feature:7 | |
Using the default profile... | |
/Users/c5168972/.rvm/gems/ruby-1.9.3-p0@expertondemand/gems/activesupport-3.0.9/lib/active_support/dependencies.rb:239:in `block in require': iconv will be deprecated in the future, use String#encode instead. | |
@javascript | |
Feature: Profile completeness | |
As a user I would like to see an indication of my profile completeness | |
so I will know If I have provided sufficient information | |
Scenario: Display completeness editing profile # features/acceptance_features/profiles/completeness.feature:7 |