Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Known issues with Ruby #789

Closed
Tracked by #462 ...
sgammon opened this issue Apr 18, 2024 · 1 comment · Fixed by #792
Closed
Tracked by #462 ...

Known issues with Ruby #789

sgammon opened this issue Apr 18, 2024 · 1 comment · Fixed by #792
Assignees
Labels
bug Something isn't working lang:ruby Issues relating to Ruby P0

Comments

@sgammon
Copy link
Member

sgammon commented Apr 18, 2024

Expected Behavior

  1. Running Ruby on Elide should work

Actual Behaviour

  1. It crashes immediately instead

Stacktrace

elide.tool.cli.err.AbstractToolError$Known: Error: LANGUAGE_NOT_SUPPORTED.
	at elide.tool.cli.err.AbstractToolError$Companion.forCase(AbstractToolError.kt:94)
	at elide.tool.cli.err.AbstractToolError$Companion.forCase$default(AbstractToolError.kt:89)
	at elide.tool.cli.err.ToolErrorCase.raise(ToolErrorCase.kt:29)
	at elide.tool.cli.err.ToolErrorCase.raise$default(ToolErrorCase.kt:28)
	at elide.tool.cli.err.ToolErrorCase.asError(ToolErrorCase.kt:35)
	at elide.tool.cli.cmd.repl.ToolShellCommand.invoke(ToolShellCommand.kt:1584)
	at elide.tool.cli.cmd.repl.ToolShellCommand$invoke$1.invokeSuspend(ToolShellCommand.kt)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
	at kotlinx.coroutines.EventLoopImplBase.processNextEvent(EventLoop.common.kt:280)
	at kotlinx.coroutines.BlockingCoroutine.joinBlocking(Builders.kt:85)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking(Builders.kt:59)
	at kotlinx.coroutines.BuildersKt.runBlocking(Unknown Source)
	at kotlinx.coroutines.BuildersKt__BuildersKt.runBlocking$default(Builders.kt:38)
	at kotlinx.coroutines.BuildersKt.runBlocking$default(Unknown Source)
	at elide.tool.cli.AbstractToolCommand.execute(AbstractToolCommand.kt:130)
	at elide.tool.cli.AbstractToolCommand.call(AbstractToolCommand.kt:154)
	at elide.tool.cli.AbstractToolCommand.run(AbstractToolCommand.kt:165)
	at picocli.CommandLine.executeUserObject(CommandLine.java:2026)
	at picocli.CommandLine.access$1500(CommandLine.java:148)
	at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
	at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
	at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
	at picocli.CommandLine.execute(CommandLine.java:2170)
	at elide.tool.cli.ElideTool$Companion.exec$cli(ElideTool.kt:168)
	at elide.tool.cli.ElideTool$Companion.main$lambda$2(ElideTool.kt:138)
	at elide.tool.cli.ElideTool$Companion.installStatics$lambda$1(ElideTool.kt:123)
	at elide.tool.cli.ElideTool$Companion.installStatics(ElideTool.kt:131)
	at elide.tool.cli.ElideTool$Companion.main(ElideTool.kt:137)
	at elide.tool.cli.ElideTool.main(ElideTool.kt)
elide 20:56:45.938 ERROR Execution failed with code 1 due to Error: LANGUAGE_NOT_SUPPORTED.
elide 20:56:45.939 ERROR Stacktrace:
elide.tool.cli.err.AbstractToolError$Known: Error: LANGUAGE_NOT_SUPPORTED.
	at elide.tool.err.ErrorHandler$ErrorUtils.buildStacktrace(ErrorHandler.kt:96)
	at elide.tool.err.ErrorHandler.getExitCode(ErrorHandler.kt:651)
	at picocli.CommandLine.mappedExitCode(CommandLine.java:1239)
	at picocli.CommandLine.handleUnhandled(CommandLine.java:2191)
	at picocli.CommandLine.execute(CommandLine.java:2182)
	at elide.tool.cli.ElideTool$Companion.exec$cli(ElideTool.kt:168)
	at elide.tool.cli.ElideTool$Companion.main$lambda$2(ElideTool.kt:138)
	at elide.tool.cli.ElideTool$Companion.installStatics$lambda$1(ElideTool.kt:123)
	at elide.tool.cli.ElideTool$Companion.installStatics(ElideTool.kt:131)
	at elide.tool.cli.ElideTool$Companion.main(ElideTool.kt:137)
	at elide.tool.cli.ElideTool.main(ElideTool.kt)

Steps To Reproduce

  1. Use Ruby on Elide, observe error

Environment Information

Everywhere

Runtime

Native

Language

Ruby

Example Application

No response

Version

1.0.0-alpha7

@sgammon sgammon added the bug Something isn't working label Apr 18, 2024
@sgammon sgammon self-assigned this Apr 18, 2024
@sgammon sgammon added this to the Release R4: Alpha 8 milestone Apr 18, 2024
@sgammon
Copy link
Member Author

sgammon commented Apr 18, 2024

filed upstream and described in detail at oracle/graal#8795

@sgammon sgammon mentioned this issue Apr 18, 2024
@sgammon sgammon added P0 lang:ruby Issues relating to Ruby labels Apr 18, 2024
sgammon added a commit that referenced this issue Apr 18, 2024
- chore: release bump → `1.0.0-alpha8`
- chore: issue new packaging and install script versions
- chore: doc for issue with gvm/ruby
- chore: readme updates; language compat, new versions
- chore: use short test names in console reporting
- chore: rebuild docs
- chore: fix slsa provenance
- chore: strict ci hardening

Fixes and closes #789

Relates-To: oracle/graal#8795
Signed-off-by: Sam Gammon <sam@elide.ventures>
@elidebot elidebot mentioned this issue Apr 18, 2024
13 tasks
sgammon added a commit that referenced this issue Apr 18, 2024
- chore: release bump → `1.0.0-alpha8`
- chore: issue new packaging and install script versions
- chore: doc for issue with gvm/ruby
- chore: readme updates; language compat, new versions
- chore: use short test names in console reporting
- chore: rebuild docs
- chore: fix slsa provenance
- chore: strict ci hardening

Fixes and closes #789

Relates-To: oracle/graal#8795
Signed-off-by: Sam Gammon <sam@elide.ventures>
@sgammon sgammon linked a pull request Apr 18, 2024 that will close this issue
13 tasks
sgammon added a commit that referenced this issue Apr 26, 2024
Prepares the `alpha8` release of Elide.

- feat: extended language tooling
- feat(dev): add support for rust
- feat(dev): add new `graalvm-ts` module for typescript
- feat(model): model for dependencies in project config
- feat(model): model for tooling configurations and support
- feat(node): node native std module structures
- feat(node): implement `path` module
- feat(node): implement `process` module
- fix: build deprecations, ability to override kotlin + jvm targets
- fix: detect `Throwable` instances as provided to logging calls
- fix: generate stacktrace and include in place of exception
- fix: ci audit for build, unused imports/fmt
- fix: version alignment for netty and kotlin
- fix(cli): duplicate print with commands via repl
- fix(cli): language selector logic
- fix(cli): missing libffi dependency
- fix(cli): static native library registration
- fix(cli): jline output style
- fix(cli): support for `elide srcfile.<js|py|rb>`
- fix(cli): language/action selection from root entrypoint
- fix(cli): ability to detect language by file extension
- fix(cli): command prefix should override language selection
- fix(dev): detekt version and conventions
- fix(js): cis and esm imports
- fix(js): js bindings in newer testing framework
- fix(js): latest language declaration for `ES2023`
- fix(vfs): short-read bug in vfs layer
- fix(vfs): vfs access during testing
- chore: release bump → `1.0.0-alpha8`
- chore: issue new packaging and install script versions
- chore: doc for issue with gvm/ruby
- chore: readme updates; language compat, new versions
- chore: use short test names in console reporting
- chore: rebuild docs
- chore: fix slsa provenance
- chore: strict ci hardening
- chore: update pgo profiles
- chore: remove superfluous deps from native image
- chore: enable embedded sbom
- chore: enable pgo
- chore: enable context pre-init (non-experimental)
- chore(model): language support updates to embedded vm info
- chore(tooling): add `pkl` module
- chore(tooling): add `esbuild` module
- chore(tooling): add `ruff` module
- chore(tooling): add `uv` module
- chore(tooling): add third_party root
- chore(cli): re-enable native lib features
- chore(cli): add `umbrella` native lib for tooling bridge
- chore(cli): add new `cli-bridge` module for JNI access to umbrella lib
- chore(js): recompile polyfills and runtime facade
- chore(js): cleanup old experimental esbuild entry point

Fixes and closes #789
Fixes and closes #210

Relates-To: oracle/graal#8795
Signed-off-by: Sam Gammon <sam@elide.ventures>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lang:ruby Issues relating to Ruby P0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant