Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Install 2.3.0-preview1 on Ubuntu 14.04 #833

Closed
todd opened this issue Nov 22, 2015 · 12 comments
Closed

Can't Install 2.3.0-preview1 on Ubuntu 14.04 #833

todd opened this issue Nov 22, 2015 · 12 comments
Assignees

Comments

@todd
Copy link

todd commented Nov 22, 2015

Having issues installing 2.3.0-preview1 on Trusty. Looks like it can't find erb for whatever reason. Any ideas? No issues installing it on my OS X 10.11.x host machine.

vagrant@development:/vagrant$ rbenv install 2.3.0-preview1
Downloading ruby-2.3.0-preview1.tar.gz...
-> https://dqw8nmjcqpjn7.cloudfront.net/dc8f9d48392a2bb226df5f4b4fd2074d81af155cdf3f3799139a6e31e012aefe
Installing ruby-2.3.0-preview1...

BUILD FAILED (Ubuntu 14.04 using ruby-build 20151028-11-gbd22205)

Inspect or clean up the working tree at /tmp/ruby-build.20151122223304.3251
Results logged to /tmp/ruby-build.20151122223304.3251.log

Last 10 log lines:

  Total:      0 (0 undocumented)
    0.00% documented

  Elapsed: 0.0s

generating x86_64-linux-fake.rb
./tool/generic_erb.rb:2:in `require': cannot load such file -- erb (LoadError)
        from ./tool/generic_erb.rb:2:in `<main>'
make: *** [x86_64-linux-fake.rb] Error 1

Release info:

vagrant@development:/vagrant$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.2 LTS
Release:        14.04
Codename:       trusty
@mislav
Copy link
Member

mislav commented Nov 23, 2015

Thanks for reporting. /cc @hsbt re: a possible Ruby 2.3 build bug.

@todd Can you paste the full build log from the referenced file as a gist?

@hsbt
Copy link
Member

hsbt commented Nov 23, 2015

@todd @mislav I got same error with other user sometimes. I think this is defect of official ruby package. I will investigate this week.

@hsbt hsbt self-assigned this Nov 23, 2015
@todd
Copy link
Author

todd commented Nov 23, 2015

@mislav @hsbt Thanks for looking into this. Here's the build log: https://gist.github.com/todd/02657c126de9bd0fbafd

@hsbt
Copy link
Member

hsbt commented Nov 24, 2015

Hmm, I can't reproduce this situation with ubuntu 14.04 and vagrant.

@todd

Can you provide me output of apt list --installed?

@todd
Copy link
Author

todd commented Nov 25, 2015

@hsbt Updated my Gist with the output of apt list --installed - https://gist.github.com/todd/02657c126de9bd0fbafd#file-apt-list

@todd
Copy link
Author

todd commented Dec 12, 2015

@hsbt preview2 builds are failing as well. New Gist with the build log is here: https://gist.github.com/todd/e7ce9f282a934ca3f8a5

I saw the bug you mentioned on #848, I'll also subscribe to that.

@hsbt
Copy link
Member

hsbt commented Dec 12, 2015

Thanks tracking. Can you paste your config.status and Makefile?

@todd
Copy link
Author

todd commented Dec 12, 2015

@hsbt Added config.status and the Makefile to the new Gist.

@hsbt
Copy link
Member

hsbt commented Dec 12, 2015

@todd Thanks for your quick action. we investigate this.

@todd
Copy link
Author

todd commented Dec 12, 2015

Let me know if I can provide any more help.

@hsbt
Copy link
Member

hsbt commented Dec 12, 2015

We found cause of this issue. You should not use system ruby with 2.3.0 build.

You need to invoke rbenv install 2.2.3 and rbenv global 2.2.3. Aftter that, You can install Ruby 2.3.0preview2.

It's defect of rbenv functions. @eagletmt already submit patch for this issue.

@todd
Copy link
Author

todd commented Dec 13, 2015

Confirmed that rbenv/rbenv#836 fixes this issue. Closing.

@todd todd closed this as completed Dec 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants