malclocke/fulcrum — Issue #82: Install issue: method missing
Author: jannone
Created: 2012-01-09 19:14:48+00:00
State: open

I was following the install instructions when I got this:

```
root@machine:~/fulcrum# bundle exec rake fulcrum:setup db:setup
cp /root/fulcrum/config/database.yml.example /root/fulcrum/config/database.yml
db/test.sqlite3 already exists
db/development.sqlite3 already exists
-- create_table("changesets", {:force=>true})
-> 0.0708s
-- create_table("notes", {:force=>true})
-> 0.0152s
-- create_table("projects", {:force=>true})
-> 0.0919s
-- create_table("projects_users", {:id=>false, :force=>true})
-> 0.0237s
-- create_table("stories", {:force=>true})
-> 0.0416s
-- create_table("users", {:force=>true})
-> 0.0345s
-- add_index("users", ["confirmation_token"], {:name=>"index_users_on_confirmation_token", :unique=>true})
-> 0.0268s
-- add_index("users", ["email"], {:name=>"index_users_on_email", :unique=>true})
-> 0.0437s
-- add_index("users", ["reset_password_token"], {:name=>"index_users_on_reset_password_token", :unique=>true})
-> 0.0277s
-- initialize_schema_migrations_table()
-> 0.0560s
-- assume_migrated_upto_version(20111009095221, "db/migrate")
-> 0.3260s
xprop: unable to open display ''
/var/lib/gems/1.9.1/gems/activesupport-3.0.11/lib/active_support/whiny_nil.rb:48:in `method_missing': undefined method `shellsplit' for nil:NilClass (NoMethodError)
from /var/lib/gems/1.9.1/gems/launchy-2.0.5/lib/launchy/detect/runner.rb:41:in `shell_commands'
from /var/lib/gems/1.9.1/gems/launchy-2.0.5/lib/launchy/detect/runner.rb:104:in `block in wet_run'
from /var/lib/gems/1.9.1/gems/launchy-2.0.5/lib/launchy/detect/runner.rb:103:in `fork'
from /var/lib/gems/1.9.1/gems/launchy-2.0.5/lib/launchy/detect/runner.rb:103:in `wet_run'
from /var/lib/gems/1.9.1/gems/launchy-2.0.5/lib/launchy/detect/runner.rb:61:in `run'
from /var/lib/gems/1.9.1/gems/launchy-2.0.5/lib/launchy/application.rb:58:in `run'
from /var/lib/gems/1.9.1/gems/launchy-2.0.5/lib/launchy/applications/browser.rb:76:in `open'
from /var/lib/gems/1.9.1/gems/launchy-2.0.5/lib/launchy.rb:30:in `open'
from /var/lib/gems/1.9.1/gems/letter_opener-0.0.2/lib/letter_opener/delivery_method.rb:12:in `deliver!'
from /var/lib/gems/1.9.1/gems/mail-2.2.19/lib/mail/message.rb:1989:in `do_delivery'
from /var/lib/gems/1.9.1/gems/mail-2.2.19/lib/mail/message.rb:230:in `block in deliver'
from /var/lib/gems/1.9.1/gems/actionmailer-3.0.11/lib/action_mailer/base.rb:426:in `block in deliver_mail'
from /var/lib/gems/1.9.1/gems/activesupport-3.0.11/lib/active_support/notifications.rb:52:in `block in instrument'
from /var/lib/gems/1.9.1/gems/activesupport-3.0.11/lib/active_support/notifications/instrumenter.rb:21:in `instrument'
from /var/lib/gems/1.9.1/gems/activesupport-3.0.11/lib/active_support/notifications.rb:52:in `instrument'
from /var/lib/gems/1.9.1/gems/actionmailer-3.0.11/lib/action_mailer/base.rb:424:in `deliver_mail'
from /var/lib/gems/1.9.1/gems/mail-2.2.19/lib/mail/message.rb:230:in `deliver'
from /var/lib/gems/1.9.1/gems/devise-1.2.1/lib/devise/models/confirmable.rb:50:in `send_confirmation_instructions'
from /var/lib/gems/1.9.1/gems/activesupport-3.0.11/lib/active_support/callbacks.rb:423:in `_run_create_callbacks'
from /var/lib/gems/1.9.1/gems/activerecord-3.0.11/lib/active_record/callbacks.rb:277:in `create'
from /var/lib/gems/1.9.1/gems/activerecord-3.0.11/lib/active_record/persistence.rb:257:in `create_or_update'
from /var/lib/gems/1.9.1/gems/activerecord-3.0.11/lib/active_record/callbacks.rb:273:in `block in create_or_update'
from /var/lib/gems/1.9.1/gems/activesupport-3.0.11/lib/active_support/callbacks.rb:424:in `_run_save_callbacks'
from /var/lib/gems/1.9.1/gems/activerecord-3.0.11/lib/active_record/callbacks.rb:273:in `create_or_update'
from /var/lib/gems/1.9.1/gems/activerecord-3.0.11/lib/active_record/persistence.rb:60:in `save!'
from /var/lib/gems/1.9.1/gems/activerecord-3.0.11/lib/active_record/validations.rb:49:in `save!'
from /var/lib/gems/1.9.1/gems/activerecord-3.0.11/lib/active_record/attribute_methods/dirty.rb:30:in `save!'
from /var/lib/gems/1.9.1/gems/activerecord-3.0.11/lib/active_record/transactions.rb:245:in `block in save!'
from /var/lib/gems/1.9.1/gems/activerecord-3.0.11/lib/active_record/transactions.rb:292:in `block in with_transaction_returning_status'
from /var/lib/gems/1.9.1/gems/activerecord-3.0.11/lib/active_record/connection_adapters/abstract/database_statements.rb:139:in `transaction'
from /var/lib/gems/1.9.1/gems/activerecord-3.0.11/lib/active_record/transactions.rb:207:in `transaction'
from /var/lib/gems/1.9.1/gems/activerecord-3.0.11/lib/active_record/transactions.rb:290:in `with_transaction_returning_status'
from /var/lib/gems/1.9.1/gems/activerecord-3.0.11/lib/active_record/transactions.rb:245:in `save!'
from /var/lib/gems/1.9.1/gems/activerecord-3.0.11/lib/active_record/validations.rb:34:in `create!'
from /root/fulcrum/db/seeds.rb:3:in `'
from /var/lib/gems/1.9.1/gems/activesupport-3.0.11/lib/active_support/dependencies.rb:235:in `load'
from /var/lib/gems/1.9.1/gems/activesupport-3.0.11/lib/active_support/dependencies.rb:235:in `block in load'
from /var/lib/gems/1.9.1/gems/activesupport-3.0.11/lib/active_support/dependencies.rb:225:in `block in load_dependency'
from /var/lib/gems/1.9.1/gems/activesupport-3.0.11/lib/active_support/dependencies.rb:593:in `new_constants_in'
from /var/lib/gems/1.9.1/gems/activesupport-3.0.11/lib/active_support/dependencies.rb:225:in `load_dependency'
from /var/lib/gems/1.9.1/gems/activesupport-3.0.11/lib/active_support/dependencies.rb:235:in `load'
from /var/lib/gems/1.9.1/gems/activerecord-3.0.11/lib/active_record/railties/databases.rake:290:in `block (2 levels) in '
from /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `call'
from /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:205:in `block in execute'
from /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `each'
from /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:200:in `execute'
from /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:158:in `block in invoke_with_call_chain'
from /usr/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
from /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
from /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:176:in `block in invoke_prerequisites'
from /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `each'
from /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:174:in `invoke_prerequisites'
from /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:157:in `block in invoke_with_call_chain'
from /usr/lib/ruby/1.9.1/monitor.rb:201:in `mon_synchronize'
from /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:151:in `invoke_with_call_chain'
from /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/task.rb:144:in `invoke'
from /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:116:in `invoke_task'
from /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level'
from /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each'
from /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level'
from /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
from /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level'
from /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run'
from /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling'
from /var/lib/gems/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run'
from /var/lib/gems/1.9.1/gems/rake-0.9.2.2/bin/rake:33:in `'
from /var/lib/gems/1.9.1/bin/rake:19:in `load'
from /var/lib/gems/1.9.1/bin/rake:19:in `

'
```

It is an instance at Amazon, with 64-bit Ubuntu 11.10. It may also be worth noting that the install tries to run xprop right before the error occurs, but of course there is no display.

Any help would be appreciated, thanks!