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

Already on GitHub? Sign in to your account

Fails to install with rbenv #2876

Closed
ohler55 opened this Issue Jan 8, 2014 · 27 comments

Comments

Projects
None yet
5 participants

ohler55 commented Jan 8, 2014

I'm not sure if this is a Rubinius problem or rbenv problem. I am able to build from the github repo.

To recreate, install rbenv, install ruby-build, and then try the following...

~> rbenv install rbx-2.2.3
Downloading yaml-0.1.4.tar.gz...
-> http://dqw8nmjcqpjn7.cloudfront.net/36c852831d02cf90508c29852361d01b
Installing yaml-0.1.4...
Installed yaml-0.1.4 to /Users/ohler/.rbenv/versions/rbx-2.2.3

Downloading rubinius-2.2.3.tar.bz2...
-> http://dqw8nmjcqpjn7.cloudfront.net/d9978cf1a4e8f0310db63e49834f9837
Installing rubinius-2.2.3...

BUILD FAILED

Inspect or clean up the working tree at /var/folders/r7/n8tgl9rs0sz7rb2wvqpdss4r0000gn/T/ruby-build.20140107213645.893
Results logged to /var/folders/r7/n8tgl9rs0sz7rb2wvqpdss4r0000gn/T/ruby-build.20140107213645.893.log

Last 10 log lines:
Installing rubinius-toolset (0.1.1)
Installing rubinius-melbourne (2.0.1.0)
Installing rubinius-processor (2.0.1)
Using bundler (1.5.1)
Updating files in vendor/cache

  • rubinius-ast-2.0.11.gem
    Your bundle is complete!
    It was installed into ./vendor/bundle
    ./configure:4:in require': no such file to load -- bundler/setup (LoadError) from ./configure:4:in'
Member

jemc commented May 2, 2014

Is this still a problem?
I use rbenv for my rubies and I have no problems installing the latest release (rbx-2.2.6).

Contributor

tmornini commented May 2, 2014

@ohler55 Try to use:

rbenv shell 2.1.1

before:

rbenv install rbx-2.2.6

This fixed build issues for me.

I'm curious: why are you trying to install an obsolete version of Rubinius?

ohler55 commented May 2, 2014

On the latest version of rbenv I got this.

ohler@air oj (master)> rbenv shell 2.1.1
ohler@air oj (master)> rbenv install rbx-2.2.6
Downloading yaml-0.1.5.tar.gz...
-> http://dqw8nmjcqpjn7.cloudfront.net/24f6093c1e840ca5df2eb09291a1dbf1
Installing yaml-0.1.5...
Installed yaml-0.1.5 to /Users/ohler/.rbenv/versions/rbx-2.2.6

Downloading rubinius-2.2.6.tar.bz2...
-> http://releases.rubini.us/rubinius-2.2.6.tar.bz2
Installing rubinius-2.2.6...

BUILD FAILED

Inspect or clean up the working tree at /var/folders/r7/n8tgl9rs0sz7rb2wvqpdss4r0000gn/T/ruby-build.20140502123026.96921
Results logged to /var/folders/r7/n8tgl9rs0sz7rb2wvqpdss4r0000gn/T/ruby-build.20140502123026.96921.log

Last 10 log lines:
Updating files in vendor/cache

  • rake-10.3.1.gem
  • rubinius-ast-2.1.2.gem
  • rubinius-bridge-1.0.8.gem
  • rubinius-compiler-2.1.1.gem
  • rubinius-processor-2.1.1.gem
    Your bundle is complete!
    It was installed into ./vendor/bundle
    ./configure:4:in require': no such file to load -- bundler/setup (LoadError) from ./configure:4:in'

At the time, 2.2.3 was the latest.

Owner

YorickPeterse commented May 2, 2014

Perhaps a dumb question, but is Bundler installed when you use 2.1.1 in rbenv?

ohler55 commented May 2, 2014

yes, bundler 1.6.2. Should I try a different version of ruby for the install? I have a rubinius version build from the github sources if that helps.

Owner

YorickPeterse commented May 2, 2014

I'm not sure if changing the Ruby version would help, I suspect rbenv might be doing something funny along the line. The output mentions a log file, could you paste the full contents of said log file?

seuros commented May 2, 2014

@ohler55 :

rbenv rehash 
RBENV_VERSION=2.1.1 rbenv install rbx-2.2.6

ohler55 commented May 2, 2014

The file is 436K. Trying the rehash

ohler55 commented May 2, 2014

same problem even after the rehash. Does anyone know how to get the bundler/setup installed?

seuros commented May 2, 2014

RBENV_VERSION=2.1.1 gem list bundler

if it don't show up.

rbenv local 2.1.1
gem install bundler rubinius-melbourne
rbenv rehash
rbenv install rbx-2.2.6

seuros commented May 2, 2014

I think it already installed :

rbenv versions

ohler55 commented May 2, 2014

ohler@air oj (master)> rbenv versions
system
1.8.7-p374
1.9.3-p484
2.0.0-p353

  • 2.1.1 (set by RBENV_VERSION environment variable)
    ree-1.8.7-2012.02
    rubinius

seuros commented May 2, 2014

hmm, try to update rbenv, maybe you have it corrupted. I just installed rbx without any problem.

rbenv update

ohler55 commented May 2, 2014

I've pulled from rbenv and from the in all plugin directory. There is no update command for rbenv.

ohler55 commented May 2, 2014

No success with other version of ruby, including the github rubinius for installing. I get the same bundler/setup error.

seuros commented May 2, 2014

rename the .rbenv to .rbenv.old in your home folder.

curl -L https://raw.github.com/fesplugas/rbenv-installer/master/bin/rbenv-installer | bash

that will reinstall rbenv and try again.

ohler55 commented May 2, 2014

Fresh install, then install 2.1.1, then bundler, then rbx-2.2.6. Same result. I tried before installing 2.1.1 but that failed in a different manner.

Contributor

tmornini commented May 2, 2014

@ohler55 What OS are you using?

ohler55 commented May 3, 2014

OS X 10.9.2

Contributor

tmornini commented May 3, 2014

This is weird:

2.1.1 (set by RBENV_VERSION environment variable) ree-1.8.7-2012.02 rubinius

ree-1.8.7-2012.02 rubinius

WTF? :-)

Contributor

tmornini commented May 3, 2014

@ohler55 What compiler are you using?

Works for me with 10.9.2 + Xcode

ohler55 commented May 3, 2014

The cut and paste saw the * and merge the next few lines together.

I'm using Xcode 5.1.1. /usr/bin/cc point to clang so depending on the install script the compiler might be clang.

Contributor

tmornini commented May 3, 2014

@ohler55 What other compiler might it be?

Could this be a mixed compiler issue?

ohler55 commented May 3, 2014

Could be gcc I suppose. I'm home now so am trying two other machines.

ohler55 commented May 3, 2014

Okay, other two installs worked this time and I know at least one of them failed back when I first submitted the problem. There must be something off on the third machine. I think it is safe to close the issue although it would be nice to know why it fails. Not that important if you haven't gotten complaints from anyone else though.

Owner

YorickPeterse commented Feb 18, 2015

rbenv made various changes recently for supporting Rubinius 2.5 and such. I'm closing this issue for the time being but feel free to re-open if the problem surfaces again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment