Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
AWS lambda Jruby error missing gem
{
"errorMessage": "(LoadError) no such file to load -- aws-sdk",
"errorType": "org.jruby.embed.EvalFailedException",
"stackTrace": [
"org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:131)",
"org.jruby.embed.ScriptingContainer.runUnit(ScriptingContainer.java:1311)",
"org.jruby.embed.ScriptingContainer.runScriptlet(ScriptingContainer.java:1356)",
"AWSLambdaJRuby.handler(AWSLambdaJRuby.java:35)",
"sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)",
"sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)",
"sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)",
"java.lang.reflect.Method.invoke(Method.java:497)"
],
"cause": {
"errorMessage": "(LoadError) no such file to load -- aws-sdk",
"errorType": "org.jruby.exceptions.RaiseException",
"stackTrace": [
"org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:940)",
"RUBY.<top>(classpath:/main.rb:2)"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.