Skip to content

Instantly share code, notes, and snippets.

View jcfischer's full-sized avatar

Jens-Christian Fischer jcfischer

View GitHub Profile

Keybase proof

I hereby claim:

  • I am jcfischer on github.
  • I am jcfischer (https://keybase.io/jcfischer) on keybase.
  • I have a public key ASBDW6ImbcYyEhw8drnMuz-FuJSmV6iNC6_-49iueJssZQo

To claim this, I am signing this object:

@jcfischer
jcfischer / free_talk.rb
Created May 1, 2012 07:54
First iteration of DSL to create Freeswitch apps
class NoSceneDefinedError < RuntimeError;
end
class Scene
attr_accessor :function
def initialize name
@name = name
@function = nil
#!/bin/sh
### BEGIN INIT INFO
# Provides: jboss
# Required-Start: $local_fs $remote_fs $network $syslog
# Required-Stop: $local_fs $remote_fs $network $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start/Stop JBoss AS v7.0.0
### END INIT INFO
#
14:16:31,844 ERROR [stderr] (Thread-113) No such file or directory - /srv/smith/current/config/settings.yml
14:16:31,845 ERROR [stderr] (Thread-113) org/jruby/RubyFile.java:465:in `initialize'
14:16:31,845 ERROR [stderr] (Thread-113) org/jruby/RubyIO.java:1135:in `open'
14:16:31,845 ERROR [stderr] (Thread-113) /opt/torquebox-current/jruby/lib/ruby/1.9/psych.rb:205:in `load_file'
14:16:31,846 ERROR [stderr] (Thread-113) /srv/smith/current/config/initializers/00_settings.rb:1:in `(root)'
14:16:31,846 ERROR [stderr] (Thread-113) org/jruby/RubyKernel.java:1068:in `load'
14:16:31,846 ERROR [stderr] (Thread-113) /srv/smith/current/config/initializers/00_settings.rb:235:in `load'
14:16:31,847 ERROR [stderr] (Thread-113) /home/smith/.bundle/jruby/1.9/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:227:in `load_dependency'
14:16:31,847 ERROR [stderr] (Thread-113) /home/smith/.bundle/jruby/1.9/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:235:in `load'
14:16:31,847 ERROR [stderr] (Thread-113)
15:39:06,062 INFO [org.jboss.as.server] (DeploymentScanner-threads - 2) JBAS018559: Deployed "current-knob.yml"
15:39:06,639 INFO [org.torquebox.core.runtime] (Thread-109) Initialize? true
15:39:06,639 INFO [org.torquebox.core.runtime] (Thread-109) Initializer=org.torquebox.web.rack.RackRuntimeInitializer@7df86f75
15:39:06,979 INFO [org.torquebox.core.runtime] (Thread-109) Setting up Bundler
15:39:08,138 INFO [stdout] (Thread-109) Could not find rake-0.8.7 in any of the sources
15:39:08,138 INFO [stdout] (Thread-109) Run `bundle install` to install missing gems.
15:39:08,139 ERROR [org.torquebox.core.runtime] (Thread-109) Error during evaluation: require %q(bundler/setup): org.jruby.exceptions.RaiseException: (SystemExit) exit
at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:856) [jruby.jar:]
at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:825) [jruby.jar:]
at (Anonymous).(root)(/opt/torquebox-current/jruby/lib/ruby/gems/1.8/gems/bundler-1.0.22/lib/bundler/setup.rb:14) at org.jruby.RubyK
#!/bin/sh
### BEGIN INIT INFO
# Provides: jboss
# Required-Start: $local_fs $remote_fs $network $syslog
# Required-Stop: $local_fs $remote_fs $network $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start/Stop JBoss AS v7.0.0
### END INIT INFO
#
17:35:01,463 INFO [org.torquebox.core.runtime] (Thread-110) Created ruby runtime (ruby_version: RUBY1_9, compile_mode: JIT, app: volcker, context: web) in 4.98s
17:35:11,184 ERROR [org.torquebox.core.runtime] (Thread-109) Error during execution: ENV['RAILS_ROOT']=RACK_ROOT
ENV['RAILS_ENV']=RACK_ENV
require %q(org/torquebox/web/rails/boot)
: org.jruby.exceptions.RaiseException: (LoadError) load error: rspec/matchers/dsl -- java.lang.NullPointerException: null
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1047) [jruby.jar:]
at rubyjit.require_0CADE1AAAB5B60AC3EA6C83FED8DF7C861922245.require(/Users/jcf/.rvm/gems/jruby-1.6.5.1/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:239)
at rubyjit.load_dependency_6B8E57409066BF2B7B383AC1F09F717E52212D2C.load_dependency(/Users/jcf/.rvm/gems/jruby-1.6.5.1/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:225)
at rubyjit.new_constants_in_B64CDCF7B34EFCFF02C7DB254AEA7EA7814C03BE.new_constants_in(/Users/jcf/.rvm/gems/jruby-1.6.5.1/gems/a
16:58:52,105 ERROR [org.torquebox.core.runtime] (Thread-108) Error during execution: ENV['RAILS_ROOT']=RACK_ROOT
ENV['RAILS_ENV']=RACK_ENV
require %q(org/torquebox/web/rails/boot)
: org.jruby.exceptions.RaiseException: (LoadError) load error: org/torquebox/web/rails/boot -- java.lang.NullPointerException: null
at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1047) [jruby.jar:]
at #<Class:0x71e8e471>.(root)(/Users/jcf/dev/work/mobino/backend/smith/<torquebox-bootstrap>-boot.rb:3)Caused by: java.lang.NullPointerException
at org.yecht.ruby.RubyLoadHandler.handle(RubyLoadHandler.java:38) [jruby.jar:]
at org.yecht.Parser.addNode(Parser.java:300) [jruby.jar:]
at org.yecht.DefaultYAMLParser.yyparse(DefaultYAMLParser.java:676) [jruby.jar:]
at org.yecht.Parser.yechtparse(Parser.java:290) [jruby.jar:]
org.jruby.exceptions.RaiseException: (LoadError) load error: gherkin/i18n -- java.lang.NullPointerException: null
org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:1047)
rubyjit.require_0CADE1AAAB5B60AC3EA6C83FED8DF7C861922245.require(/Users/jcf/.rvm/gems/jruby-1.6.5@volcker_tb/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:239)
rubyjit.load_dependency_6B8E57409066BF2B7B383AC1F09F717E52212D2C.load_dependency(/Users/jcf/.rvm/gems/jruby-1.6.5@volcker_tb/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:225)
rubyjit.new_constants_in_B64CDCF7B34EFCFF02C7DB254AEA7EA7814C03BE.new_constants_in(/Users/jcf/.rvm/gems/jruby-1.6.5@volcker_tb/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:596)
rubyjit.new_constants_in_B64CDCF7B34EFCFF02C7DB254AEA7EA7814C03BE.new_constants_in(/Users/jcf/.rvm/gems/jruby-1.6.5@volcker_tb/gems/activesupport-3.0.5/lib/active_support/dependencies.rb:595)
rubyjit.load_dependency_6B8E57409066BF2B7B383AC1F09F717E52212D2C.load_dependency(/Users/jcf/.rv
@jcfischer
jcfischer / index.html
Created November 17, 2011 11:02
phonegap www folder
<!DOCTYPE html>
<html>
<head>
<title></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no;" />
<meta charset="utf-8">
<!-- iPad/iPhone specific css below, add after your main css >