This file contains 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
# Rails 4, empty app | |
# app/controllers/clients_controller.rb | |
class ClientsController < ApplicationController | |
def index | |
@clients = Client.all | |
end | |
end | |
# app/views/clients/index.html.erb |
This file contains 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
rake aborted! | |
load error: posix_spawn_ext -- java.lang.UnsatisfiedLinkError: failed to load shim library, error: /opt/rubies/jruby-1.7.1/lib/native/x86_64-Linux/libjruby-cext.so: cannot open shared object file: No such file or directory | |
org/jruby/RubyKernel.java:1027:in `require' |
This file contains 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
IOError: closed stream | |
close at org/jruby/RubyIO.java:2053 | |
begin_restart at /u/apps/docmago/shared/bundle/jruby/1.9/gems/puma-1.6.3-java/lib/puma/server.rb:637 | |
run at /u/apps/docmago/shared/bundle/jruby/1.9/gems/puma-1.6.3-java/lib/puma/cli.rb:438 | |
call at org/jruby/RubyProc.java:249 | |
2012-10-23 22:07:54 +0200: Listen loop error: #<Errno::EBADF: Bad file descriptor - Bad file descriptor> | |
org/jruby/ext/socket/RubyUNIXServer.java:81:in `accept' | |
/u/apps/docmago/shared/bundle/jruby/1.9/gems/puma-1.6.3-java/lib/puma/server.rb:252:in `handle_servers' | |
org/jruby/RubyArray.java:1612:in `each' | |
/u/apps/docmago/shared/bundle/jruby/1.9/gems/puma-1.6.3-java/lib/puma/server.rb:248:in `handle_servers' |
NewerOlder