Comments (13)
Can you even compile Rubinius on Heroku by defining it in the Gemfile? I would love to use Rubinius 2.0 on Heroku but I cannot find any resources online that explains how to get it done. Anyone care to share the secret?
from heroku-buildpack-ruby.
I tried to figure it out by looking at the ruby build pack and I believe it should work by defining it in the Gemfile like you did. I'm having the same issue, though... :)
from heroku-buildpack-ruby.
Yeah. Though I tried to use a different version to see if it occurs with all of them, and it does. However, I wonder if I'm doing it right since this is what it looks like when trying to use for example rbx-2.0.0dev-20120123-1.9
:
ruby "1.9.3", :engine => "rbx", :engine_version => "2.0.0dev-20120123-1.9"
However, with this in place, it will look for this:
ruby-1.9.3-rbx-2.0.0dev-20120123-1.9
Which does not match rbx-2.0.0dev-20120123-1.9
at all, due to the ruby-1.9.3
prefix you always get when using the ruby
method in the Gemfile
.
from heroku-buildpack-ruby.
Just generated a quick dummy app with JRuby and it seems to work fine.
Gemfile:
ruby "1.9.3", :engine => "jruby", :engine_version => "1.7.0.preview1"
Heroku Deployment Process:
-----> Heroku receiving push
-----> Ruby/Rails app detected
-----> Using Ruby version: ruby-1.9.3-jruby-1.7.0.preview1
-----> Installing JVM: openjdk7-latest
-----> Installing dependencies using Bundler version 1.2.0
No problem. So it's likely a bug in the Ruby Buildpack where it cannot install Rubinius like it installs JRuby.
from heroku-buildpack-ruby.
I made two simple changes to the build pack and now it at least installs Rubinius. I'm running into apparently bundler related issues now, though...
benedikt/heroku-buildpack-ruby@heroku:master...benedikt:master
from heroku-buildpack-ruby.
@benedikt yepp, those are the changes I have locally to get it to work. I still need to figure out something better for the binstub stuff.
from heroku-buildpack-ruby.
@benedikt good stuff man. I'll check it out soon. With the release of Ruby 2.0.0-preview1, Rubinius 2.0.0-rc1 and JRuby 1.7.0 I'm looking forward to leveraging these excellent new Ruby implementation versions on Heroku.
from heroku-buildpack-ruby.
@hone any idea when Heroku will add support for the RC1 of Rubinius that just recently came out with support for 1.9 and 2.0 mode (as well as JRuby 1.7.0)?
Cheers
from heroku-buildpack-ruby.
working on rbx stuff with @brixen, but I don't have an exact timeline, but I would imagine in the next month or so depending on my bandwidth.
from heroku-buildpack-ruby.
@hone awesome! I got his message on Twitter regarding this. Looking forward to it. Thanks a bunch! :)
from heroku-buildpack-ruby.
#52 needs to be fixed first.
from heroku-buildpack-ruby.
Looks like this is working now with the default buildpack. I just deployed an application using this in my Gemfile:
ruby '1.9.3', :engine => 'rbx', :engine_version => '2.0.0dev'
Using heroku run console
I'm able to get this:
irb(main):001:0> RUBY_DESCRIPTION
=> "rubinius 2.0.0dev (1.9.3 release yyyy-mm-dd JI) [x86_64-unknown-linux-gnu]"
Thanks to whoever fixed it :-)
from heroku-buildpack-ruby.
Looks like it works, closing.
from heroku-buildpack-ruby.
Related Issues (20)
- Heroku doesn't support differentiated Gemfiles HOT 4
- Missing tag for v250 HOT 1
- ruby: integer overflow: 3689348814741910509 * 8 > 18446744073709551615 (RuntimeError) HOT 3
- Only add default web dyno if `config.ru` exists HOT 1
- Having `rack` gem is not a guarantee for having `rackup` executable (since Rack 3) HOT 2
- Heroku-22 fails installing gems HOT 3
- running ruby 3.2 with yjit HOT 1
- JRuby warns to use a more recent version, but it's blank
- Difficulties getting `rake assets:precompile` to work HOT 1
- JRuby 9.4.2.0 support? HOT 4
- Upgrade to Node 18 LTS HOT 1
- Using ruby 3.3.0 for preview release (as suggested in the notes) raises error with bundler HOT 2
- JRuby 9.4.4.0 support? HOT 1
- Support Bundler 2.4.20+ to enable `ruby file: '.ruby-version'` in Gemfile HOT 9
- Support Ruby 3.2.3 HOT 1
- Bundler 2.5.6 Causes Builds to Fail HOT 10
- Possible Bundler 2.5.6 Issues HOT 5
- ruby required for compiling webpack assets in rails build, missing from nodejs buildpack and stack 22 HOT 1
- Failed to install gems via Bundler (2.5.6) on Ruby 2.7.8 HOT 1
- Rails builds fail if `BUNDLE_WITHOUT="'development:test'"` (note the extra quotes)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from heroku-buildpack-ruby.