Code Monkey home page Code Monkey logo

jruby-middleman-example's Introduction

jruby-middleman-example

Example of jruby and middleman together.

Getting started

Please . setup (assumes Ubuntu) ./make includes example of war and execute

First commit

middleman build runs middleman in jruby succesfully ./make doesn't actually work. Suffers from the problems outlined in https://github.com/doxavore/warbler144

Second commit

Introduce bin/main using techniques outlined in https://github.com/doxavore/warbler144 to word around warbler issue jruby bin/main executes succesfully ./make reports the following stack trace:

NameError: uninitialized constant Padrino::Helpers::OutputHelpers
  const_missing at org/jruby/RubyModule.java:2684
         (root) at jar:file:/home/vagrant/test-war/test-war.jar!/gems/middleman-core-3.1.6/lib/middleman-more/core_extensions/default_helpers.rb:17
        require at org/jruby/RubyKernel.java:1082
         (root) at jar:file:/home/vagrant/test-war/test-war.jar!/gems/middleman-core-3.1.6/lib/middleman-core/core_extensions.rb:1
        require at org/jruby/RubyKernel.java:1082
         (root) at jar:file:/home/vagrant/test-war/test-war.jar!/gems/middleman-core-3.1.6/lib/middleman-core/core_extensions.rb:30
        require at org/jruby/RubyKernel.java:1082
         (root) at jar:file:/home/vagrant/test-war/test-war.jar!/gems/middleman-core-3.1.6/lib/middleman-core/application.rb:1
        require at org/jruby/RubyKernel.java:1082
         (root) at jar:file:/home/vagrant/test-war/test-war.jar!/gems/middleman-core-3.1.6/lib/middleman-core/application.rb:18
        require at org/jruby/RubyKernel.java:1082
         (root) at jar:file:/home/vagrant/test-war/test-war.jar!/gems/middleman-core-3.1.6/lib/middleman-core.rb:1
           each at org/jruby/RubyArray.java:1613
         (root) at jar:file:/home/vagrant/test-war/test-war.jar!/gems/middleman-core-3.1.6/lib/middleman-core.rb:16
           each at org/jruby/RubyArray.java:1613
         (root) at jar:file:/home/vagrant/test-war/test-war.jar!/gems/middleman-3.1.6/lib/middleman.rb:1
         (root) at jar:file:/home/vagrant/test-war/test-war.jar!/gems/middleman-3.1.6/lib/middleman.rb:1
         (root) at jar:file:/home/vagrant/test-war/test-war.jar!/gems/bundler-1.3.5/lib/bundler/runtime.rb:1
        require at jar:file:/home/vagrant/test-war/test-war.jar!/gems/bundler-1.3.5/lib/bundler/runtime.rb:72
           load at org/jruby/RubyKernel.java:1101
        require at jar:file:/home/vagrant/test-war/test-war.jar!/gems/bundler-1.3.5/lib/bundler/runtime.rb:70
        require at org/jruby/RubyKernel.java:1082
        require at jar:file:/home/vagrant/test-war/test-war.jar!/gems/bundler-1.3.5/lib/bundler/runtime.rb:59
        require at jar:file:/home/vagrant/test-war/test-war.jar!/gems/bundler-1.3.5/lib/bundler.rb:132
error: org.jruby.embed.EvalFailedException: (NameError) uninitialized constant Padrino::Helpers::OutputHelpers

jruby-middleman-example's People

Contributors

petergillardmoss avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.