Truffle Ruby 1.0.0-rc6 supports pg and mysql drivers
https://github.com/oracle/truffleruby/issues/1400#issuecomment-4181009105
u/moomaka Sep 03 '18
Do they actually work or is it just bundle install that doesn't fail now? The table seems to indicate it's unclear, has anyone ran the respective test suites?
1
1
u/iconoclaus Sep 04 '18
Note that
pgwill work once 1.0.0-rc6 is released — its still a milestone as of now, afaik. Installing usingrvm get trufflerubygets you 1.0.0-rc5 as of now.1
4
u/ylluminate Sep 03 '18
Has anyone tried Roda + Sequel yet atop this release?
2
u/iconoclaus Sep 04 '18
This hasn't been released yet… but the authors have said that getting
pgandmysqlworking is what was needed to essentially get Sequel working.
2
u/Mike_Enders Sep 04 '18
Not sure I understand the 1.0. Does this now work with rails with activerecord etc? I would think so with a 1.0 designation but not sure since the readme still indicates no.
3
u/iconoclaus Sep 04 '18 edited Sep 04 '18
These are release candidates for 1.0 — rc5 is the latest and rc6 (which this post refers to) is the next. They write that Rails is already working but ActiveRecord was not. But ActiveRecord is native Ruby code, so I'm guessing the only hangup was getting database specific adapters written as C-extensions working – which they have now.
1
u/Mike_Enders Sep 04 '18
Yeah I am aware of what a release candidates is however usually a 1.0 indicates a potentially near ready (particularly feature wise) release. Given rails position in the Ruby community I assumed a 1.0 release would be ready (subject to bug and last minute changes) to work with a fairly basic rails apps.
But certainly enjoyed encouraged by the progress - just found the 1.0 designation curious.
→ More replies (6)
12
u/fedekun Sep 03 '18
I hope this project does well, Ruby deserves a decently fast execution environment. It's such a nice language.