Joined May 2011
·
Posted to
Build Ruby 2.0.0-p0 on OS X using rbenv
over 1 year
ago
it works, but apparently rbenv
passes CONGFIGURE_OPTS
to dependent libraries as well.
per https://github.com/sstephenson/ruby-build we can use RUBY_CONFIGURE_OPTS
instead which are just for building MRI.
nice catch!
Posted to
Write once, run (Ruby) anywhere
over 1 year
ago
If you happen to use rbenv, there's a similar plugin available from Chris Eppstein at https://github.com/chriseppstein/rbenv-each
Then you can run
rbenv each -v ruby -e 'puts "hello, world"'
And it outputs
[1.9.3-p374]: ruby -e puts "hello, world"
*******************************************************
hello, world
[1.9.3-p385]: ruby -e puts "hello, world"
*******************************************************
hello, world
[jruby-1.7.2]: ruby -e puts "hello, world"
*******************************************************
hello, world
Achievements
280 Karma
11,157 Total ProTip Views
Altruist
Increase developer well-being by sharing at least 20 open source projects
Beaver
Have at least one original repo where go is the dominant language
Kona
Have at least one original repo where CoffeeScript is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Raven
Have at least one original repo where some form of shell script is the dominant language
Forked
Have a project valued enough to be forked by someone else
Charity
Fork and commit to someone's open source project in need
Mongoose 3
Have at least three original repos where Ruby is the dominant language
Mongoose
Have at least one original repo where Ruby is the dominant language
cantabip -
good to know, thanks for mentioning!
I also want to point out, Tim Pope has basically rolled up all the readline build integration into this rbenv plugin:
https://github.com/tpope/rbenv-readline