Skip to content

Instantly share code, notes, and snippets.

@zmanji
Created July 25, 2012 21:55
Show Gist options
  • Save zmanji/3178924 to your computer and use it in GitHub Desktop.
Save zmanji/3178924 to your computer and use it in GitHub Desktop.
Phabricator Event Development
<?php
phutil_register_library('disqus', __FILE__);
vagrant@dsq-vagrant:/usr/local/include/php/phabricator$ PHABRICATOR_ENV=zameer ./scripts/util/emit_test_event.php --listen JenkinsEventListener
PHP Fatal error: Uncaught exception 'PhutilBootloaderException' with message 'Include of '/home/zmanji/disqus-arcanist/src/__phutil_library_init__.php' failed!' in /usr/local/include/php/libphutil/src/__phutil_library_init__.php:249
Stack trace:
#0 /usr/local/include/php/libphutil/src/__phutil_library_init__.php(53): PhutilBootloader->loadLibrary('/home/zmanji/di...')
#1 /usr/local/include/php/phabricator/scripts/__init_script__.php(66): phutil_load_library('/home/zmanji/di...')
#2 /usr/local/include/php/phabricator/scripts/util/emit_test_event.php(21): require_once('/usr/local/incl...')
#3 {main}
thrown in /usr/local/include/php/libphutil/src/__phutil_library_init__.php on line 249
Fatal error: Uncaught exception 'PhutilBootloaderException' with message 'Include of '/home/zmanji/disqus-arcanist/src/__phutil_library_init__.php' failed!' in /usr/local/include/php/libphutil/src/__phutil_library_init__.php:249
Stack trace:
#0 /usr/local/include/php/libphutil/src/__phutil_library_init__.php(53): PhutilBootloader->loadLibrary('/home/zmanji/di...')
#1 /usr/local/include/php/phabricator/scripts/__init_script__.php(66): phutil_load_library('/home/zmanji/di...')
#2 /usr/local/include/php/phabricator/scripts/util/emit_test_event.php(21): require_once('/usr/local/incl...')
#3 {main}
thrown in /usr/local/include/php/libphutil/src/__phutil_library_init__.php on line 249
<?php
return array(
'load-libraries' => array(
'/home/zmanji/disqus-arcanist/src',
)
) + phabricator_read_config_file('development');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment