- Twitter: @mark_menard
- Website or Blog: http://www.enablelabs.com/
- Company: Enable Labs http://www.enablelabs.com/
- Twitter: @mark_menard
- Website or Blog: http://www.enablelabs.com/
- Company: Enable Labs http://www.enablelabs.com/
- Twitter: @mark_menard
- Website or Blog: http://www.enablelabs.com/
- Company: Enable Labs http://www.enablelabs.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Add this as a listener in your web.xml file prior to loading jruby-rack. | |
// | |
// | |
// <listener> | |
// <listener-class>lib.JnrConstantHackListener</listener-class> | |
// </listener> | |
// <listener> | |
// <listener-class>org.jruby.rack.rails.RailsServletContextListener</listener-class> | |
// </listener> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2013-06-04 19:54:29.161:/quadran:INFO: An exception happened during JRuby-Rack startup | |
load error: fast_xs -- java.lang.RuntimeException: callback-style handles are no longer supported in JRuby | |
--- System | |
jruby 1.7.4 (1.9.3p392) 2013-05-16 2390d3b on Java HotSpot(TM) 64-Bit Server VM 1.7.0_07-b10 [darwin-x86_64] | |
Time: 2013-06-04 19:54:29 -0400 | |
Server: jetty-6.1.1 | |
jruby.home: file:/Users/mark/.m2/repository/org/jruby/jruby-complete/1.7.4/jruby-complete-1.7.4.jar!/META-INF/jruby.home | |
--- Context Init Parameters: | |
contextConfigLocation = classpath:applicationContext.xml, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LoadError: library `fcntl' could not be loaded: java.lang.NullPointerException | |
require at org/jruby/RubyKernel.java:1054 | |
require at /Users/mark/projects/quadran/src/main/webapp/WEB-INF/quadran_rails/vendor/bundle/jruby/1.9/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251 | |
load_dependency at /Users/mark/projects/quadran/src/main/webapp/WEB-INF/quadran_rails/vendor/bundle/jruby/1.9/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236 | |
require at /Users/mark/projects/quadran/src/main/webapp/WEB-INF/quadran_rails/vendor/bundle/jruby/1.9/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251 | |
(root) at /Users/mark/projects/quadran/src/main/webapp/WEB-INF/quadran_rails/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.8.7/lib/1.9/openssl/ssl-internal.rb:18 | |
require at org/jruby/RubyKernel.java:1054 | |
require at /Users/mark/projects/quadran/src/main/webapp/WEB-INF/quadran_rails/vendor/bundle/jruby/1.9/gems/activesupport-3.2.13/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" | |
version="2.4"> | |
<!-- ######################### --> | |
<!-- Filters --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LoadError: library `fcntl' could not be loaded: java.lang.NullPointerException | |
require at org/jruby/RubyKernel.java:1027 | |
require at /Users/mark/projects/quadran/src/main/webapp/WEB-INF/quadran_rails/vendor/bundle/jruby/1.9/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251 | |
load_dependency at /Users/mark/projects/quadran/src/main/webapp/WEB-INF/quadran_rails/vendor/bundle/jruby/1.9/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:236 | |
require at /Users/mark/projects/quadran/src/main/webapp/WEB-INF/quadran_rails/vendor/bundle/jruby/1.9/gems/activesupport-3.2.13/lib/active_support/dependencies.rb:251 | |
(root) at /Users/mark/projects/quadran/src/main/webapp/WEB-INF/quadran_rails/vendor/bundle/jruby/1.9/gems/jruby-openssl-0.8.7/lib/1.9/openssl/ssl-internal.rb:18 | |
require at org/jruby/RubyKernel.java:1027 | |
require at /Users/mark/projects/quadran/src/main/webapp/WEB-INF/quadran_rails/vendor/bundle/jruby/1.9/gems/activesupport-3.2.13/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Foo { | |
String firstName | |
Foo (firstName) { | |
this.firstName = firstName | |
firstName.each { letter -> letter.upcase() } | |
} | |
def fooBar () { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source 'https://rubygems.org' | |
gem 'jquery-rails' | |
gem 'mechanize' | |
gem 'mysql2' | |
gem 'rails', '3.1.3' | |
gem 'jruby-poi' | |
group :assets do |
NewerOlder