Commit b002d92c by Dirkjan Bussink

Don't set the Rubinius gems directory to the prefix

This causes tricky issues with Bundler. Bundler assumes that the
configure gem path *only* contains gems. When using this configuration
option, this is not the case.

What happens is that Bundler then removes the path for the Ruby stdlib
from the load path, because it is located inside what is configured as
the gems directory. This then breaks for example Rails applications when
using ruby-build to build Rubinius.

Also see: https://github.com/rubinius/rubinius/issues/2544
parent e19a1248
...@@ -428,7 +428,7 @@ build_package_ree_installer() { ...@@ -428,7 +428,7 @@ build_package_ree_installer() {
build_package_rbx() { build_package_rbx() {
local package_name="$1" local package_name="$1"
{ ./configure --prefix="$PREFIX_PATH" --gemsdir="$PREFIX_PATH" $RUBY_CONFIGURE_OPTS { ./configure --prefix="$PREFIX_PATH" $RUBY_CONFIGURE_OPTS
rake install rake install
} >&4 2>&1 } >&4 2>&1
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment