~/.atom/snippets.cson
## Erlang
'.source.erlang':
'HoaxMock Directive':
'prefix': 'hmock'
'body': """
hoax:mock($1,
?expect($2,
~/.atom/snippets.cson
## Erlang
'.source.erlang':
'HoaxMock Directive':
'prefix': 'hmock'
'body': """
hoax:mock($1,
?expect($2,
| Gem::Ext::BuildError: ERROR: Failed to build gem native extension. | |
| /opt/chefdk/embedded/bin/ruby -r ./siteconf20141015-17430-14jsbrj.rb extconf.rb | |
| *** extconf.rb failed *** | |
| Could not create Makefile due to some reason, probably lack of necessary | |
| libraries and/or headers. Check the mkmf.log file for more details. You may | |
| need configuration options. | |
| Provided configuration options: | |
| --with-opt-dir |
| # plugins/apache/modules.rb | |
| # :ApacheModules good, you might have some other plugin providing modules | |
| # and you wouldn't want to overlap on the :Modules namespace. | |
| Ohai.plugin(:ApacheModules) do | |
| require 'mixlib/shellout' | |
| provides "apache/modules" | |
| collect_data(:default) do | |
| string = Mixlib::ShellOut.new("apachectl -t -D DUMP_MODULES") | |
| string.run_command |
| #!/bin/sh | |
| # WARNING: REQUIRES /bin/sh | |
| # | |
| # - must run on /bin/sh on solaris 9 | |
| # - must run on /bin/sh on AIX 6.x | |
| # - if you think you are a bash wizard, you probably do not understand | |
| # this programming language. do not touch. | |
| # - if you are under 40, get peer review from your elders. | |
| # | |
| # Author:: Tyler Cloke ([email protected]) |