Skip to content

Instantly share code, notes, and snippets.

View jcfischer's full-sized avatar

Jens-Christian Fischer jcfischer

View GitHub Profile
cat /usr/ruby/1.8/lib/ruby/gems/1.8/gems/rmagick-2.12.2/ext/RMagick/gem_make.out
/usr/ruby/1.8/bin/ruby extconf.rb
checking for Ruby version >= 1.8.5... yes
checking for /usr/sfw/bin/gcc... yes
checking for Magick-config... yes
checking for ImageMagick version >= 6.3.5... yes
checking for HDRI disabled version of ImageMagick... yes
checking for stdint.h... yes
checking for sys/types.h... yes
checking for wand/MagickWand.h... yes
def transfer(data, document)
if document.cl_document_url != nil
self.uri = URI.parse(document.cl_document_url )
h = Net::HTTP.new(self.uri.host, self.uri.port)
response = h.post(self.uri, data, {'Content-Type' => 'application/xml'})
else
h = Net::HTTP.new(self.uri.host, self.uri.port)
response = h.post("/tasks", data, {'Content-Type' => 'application/xml'})
end
@jcfischer
jcfischer / index.html
Created November 15, 2011 13:07
jquery Mobile
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="viewport" content="initial-scale = 1.0, user-scalable = no">
<title>jQuery Mobile 1</title>
<link rel="stylesheet" href="css/jquery.mobile-1.0rc3.min.css"/>
@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 >
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
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
#!/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
#
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
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)