Coder Social home page Coder Social logo

Error installing Ruby 2.2.3 about asdf-ruby HOT 11 CLOSED

asdf-vm avatar asdf-vm commented on May 18, 2024 1
Error installing Ruby 2.2.3

from asdf-ruby.

Comments (11)

HashNuke avatar HashNuke commented on May 18, 2024 1

Just installed Ruby 2.2.1 on Ubuntu 16.04. Compiled fine.

$ ruby --version
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]

@belaustegui @Fs02 Can you verify if you have installed all the required packages mentioned on the readme? https://github.com/asdf-vm/asdf. For your ease-of-use I've copy-pasted the command to install the required packages.

sudo apt-get install automake autoconf libreadline-dev libncurses-dev libssl-dev libyaml-dev libxslt-dev libffi-dev libtool unixodbc-dev

Closing the issue. But if you still have problems. Please do let us know.

from asdf-ruby.

Fs02 avatar Fs02 commented on May 18, 2024 1

Hi, any news on this? I don't think this issue should be closed

from asdf-ruby.

HashNuke avatar HashNuke commented on May 18, 2024 1

Did another test after ensuring appropriate rubies are installed. More details in each section

Ruby 2.2.1

$  ~ asdf local ruby 2.2.1
$  ~ ruby --version
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-linux]
$  ~ gem install bundler
Fetching: bundler-1.13.0.gem (100%)
Successfully installed bundler-1.13.0
Parsing documentation for bundler-1.13.0
Installing ri documentation for bundler-1.13.0
Done installing documentation for bundler after 9 seconds
1 gem installed
$  ~ bundle --version
Bundler version 1.13.0

Ruby 2.2.3

$  ~ asdf local ruby 2.2.3
$  ~ gem install bundler
Fetching: bundler-1.13.0.gem (100%)
Successfully installed bundler-1.13.0
Parsing documentation for bundler-1.13.0
Installing ri documentation for bundler-1.13.0
Done installing documentation for bundler after 8 seconds
1 gem installed
$  ~ ruby --version
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]

Other details

$  ~ openssl version
OpenSSL 1.0.2g-fips  1 Mar 2016
$  ~ sudo apt-cache policy libssl-dev
[sudo] password for HashNuke:
libssl-dev:
  Installed: 1.0.2g-1ubuntu4.1
  Candidate: 1.0.2g-1ubuntu4.2
  Version table:
     1.0.2g-1ubuntu4.2 500
        500 http://mirrors.digitalocean.com/ubuntu xenial-updates/main amd64 Packages
 *** 1.0.2g-1ubuntu4.1 500
        500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
        100 /var/lib/dpkg/status
     1.0.2g-1ubuntu4 500
        500 http://mirrors.digitalocean.com/ubuntu xenial/main amd64 Packages

from asdf-ruby.

Fs02 avatar Fs02 commented on May 18, 2024

any news for this? I also got the same issue when installing 2.2.1

from asdf-ruby.

HashNuke avatar HashNuke commented on May 18, 2024

I use 2.3.x on 16.04 with no issues. I'll try it out for 2.2.3 and ping back in a few hours.

from asdf-ruby.

Fs02 avatar Fs02 commented on May 18, 2024

I've installed it, and I already install ruby 2.2.1 using rvm before decided to move to asdf.
and seems your ruby version still 2.3.1p112 😆

from asdf-ruby.

Fs02 avatar Fs02 commented on May 18, 2024

Maybe because ruby 2.2.3 and prior installation requires a patch?

from asdf-ruby.

HashNuke avatar HashNuke commented on May 18, 2024

@Fs02 will try installing 2.2.3 and post details.

from asdf-ruby.

HashNuke avatar HashNuke commented on May 18, 2024

@Fs02 ouch. Yes. Just noticed my ruby version. I didn't change my ruby version after installing the ruby.

from asdf-ruby.

Fs02 avatar Fs02 commented on May 18, 2024

I managed to hack it by copying rubies from rvm to asdf installs folder :D

from asdf-ruby.

Fs02 avatar Fs02 commented on May 18, 2024

never mind, the bundle command is not working

EDIT: It was my bad, I have a typo when installing bundler

from asdf-ruby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.