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

Unable to use ruby 2.3.0 on OS X images #5361

Closed
segiddins opened this issue Dec 25, 2015 · 22 comments
Closed

Unable to use ruby 2.3.0 on OS X images #5361

segiddins opened this issue Dec 25, 2015 · 22 comments
Labels

Comments

@segiddins
Copy link

See https://travis-ci.org/CocoaPods/CocoaPods/jobs/98784787 for the full log. Relevant bit is:

$ rvm use 2.3.0 --install --binary --fuzzy
ruby-2.3.0 is not installed - installing.
Searching for binary rubies, this might take some time.
Requested binary installation but no rubies are available to download, consider skipping --binary flag.
Gemset '' does not exist, 'rvm ruby-2.3.0 do rvm gemset create ' first, or append '--create'.
@BanzaiMan
Copy link
Contributor

RVM is failing to install statically built binaries. I opened rvm/rvm#3591.

@abonas
Copy link

abonas commented Dec 28, 2015

Same issue happens on Ubuntu images:
example can be seen here

$ rvm use 2.3 --install --binary --fuzzy
ruby-2.3 is not installed - installing.
Searching for binary rubies, this might take some time.
Requested binary installation but no rubies are available to download, consider skipping --binary flag.
Gemset '' does not exist, 'rvm ruby-2.3 do rvm gemset create ' first, or append '--create'.
The command "rvm use 2.3 --install --binary --fuzzy" failed and exited with 2 during .

System info:
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
Linux Version 3.13.0-29-generic

@roidrage
Copy link
Contributor

@abonas That's because our current rvm version doesn't yet know 2.3 as an alias for 2.3.0. You can get it to work by specifying 2.3.0 instead of 2.3.

@abonas
Copy link

abonas commented Dec 28, 2015

@abonas That's because our current rvm version doesn't yet know 2.3 as an alias for 2.3.0. You can get it to work by specifying 2.3.0 instead of 2.3.

thanks for your reply. any eta for 2.3 to be recognized?

@roidrage
Copy link
Contributor

Enabling 2.3 to be recognized requires a build environment update, and I don't have an ETA on that yet, sorry.

@thomasfedb
Copy link

@roidrage Any idea if this is something we'll see in days/weeks/months? We have an issue in @carrierwaveuploader that's blocking on this.

igrigorik added a commit to igrigorik/http-2 that referenced this issue Jan 29, 2016
korny added a commit to korny/rubygen that referenced this issue Feb 7, 2016
dentarg added a commit to twingly/twingly-search-api-ruby that referenced this issue Feb 9, 2016
Seems like everyone is referring to travis-ci/travis-ci#5361
@segiddins
Copy link
Author

FWIW, even specifying 2.3.0 causes a failure on OS X

@BanzaiMan
Copy link
Contributor

@segiddins What error do you see right now?

@segiddins
Copy link
Author

chrisdambrosio added a commit to chrisdambrosio/fitgem that referenced this issue Feb 15, 2016
blackwinter added a commit to blackwinter/lingo that referenced this issue Mar 1, 2016
jbilbo added a commit to altmetric/urn that referenced this issue Mar 2, 2016
@segiddins
Copy link
Author

@BanzaiMan any other info I can get you? I recently shipped a 2.3.0 bug because CI couldn't catch it

@jbender
Copy link

jbender commented Mar 8, 2016

@segiddins while definitely not ideal, you can temporarily work around this by adding the following:

before_install:
  - rvm get stable --auto-dotfiles
  - rvm install 2.3.0

@segiddins
Copy link
Author

@jbender how would I do that with my existing set of different ruby versions?

@jbender
Copy link

jbender commented Mar 8, 2016

@segiddins haven't done it so take this with a grain of salt, but this might point you in the right direction:

matrix:
  include:
    - rvm: ruby-head
      before_install:
        - rvm get stable --auto-dotfiles
        - rvm install 2.3.0

You can explicitly add new things into your matrix (see https://docs.travis-ci.com/user/customizing-the-build/#Explicity-Including-Builds)

pirj added a commit to pirj/sorcery that referenced this issue Mar 15, 2016
This is due to latest rvm version is unaware that 2.3 is 2.3.0
travis-ci/travis-ci#5361 (comment)
@pirj
Copy link

pirj commented Mar 15, 2016

@jbender as per travis-yaml lint:

in matrix.include section: unexpected key before_install, dropping

backspace added a commit to backspace/travixperiments that referenced this issue May 3, 2016
nateberkopec added a commit to getsentry/sentry-ruby that referenced this issue May 16, 2016
ms-ati added a commit to ms-ati/docile that referenced this issue May 18, 2016
This should be a temporary fix until the 2.3 alias is added to Travis build environments.

See: travis-ci/travis-ci#5361
cappadona added a commit to cul-it/mann-wagon that referenced this issue Jun 2, 2016
Provided via .ruby-version which Travis CI will default to if rvm key is not
listed in config file.

Apparently rvm trips up if we don't include full `major.minor.patch`. More info
in travis-ci/travis-ci#5361.
kasper added a commit to kasper/phoenix that referenced this issue Jun 10, 2016
@lolgear
Copy link

lolgear commented Aug 12, 2016

same

Version 2.2.5

@vishrutshah
Copy link

vishrutshah commented Oct 6, 2016

We just noticed this issue in travis-ci as it was working since while. Is this issue resurfaced recently, again?

https://travis-ci.org/Azure/autorest/builds/165382027

cc: @BanzaiMan

@BanzaiMan
Copy link
Contributor

@vishrutshah That job is running on Trusty. I don't think that's related to this issue.

divergentdave added a commit to divergentdave/rubypants that referenced this issue Oct 13, 2016
agriffis pushed a commit to jmcnevin/rubypants that referenced this issue Oct 13, 2016
tvdeyen pushed a commit to AlchemyCMS/alchemy-guides that referenced this issue Dec 8, 2016
Because their rvm version does not know ruby 2.3.3 as ruby-2.3 yet

travis-ci/travis-ci#5361 (comment)
ecoologic added a commit to ecoologic/dry-web that referenced this issue Dec 22, 2016
See: travis-ci/travis-ci#5361 (comment)
(rvm doesn't have the the alias yet)
ms-ati added a commit to ms-ati/docile that referenced this issue Dec 27, 2016
aried3r added a commit to aried3r/acts_as_archival that referenced this issue Mar 14, 2017
jasonkarns added a commit to jasonkarns/optparse-subcommand that referenced this issue Apr 19, 2017
rvm is failing to install 2.3 and 2.4 without the .0 patch version.

travis-ci/travis-ci#5361
jasonkarns added a commit to jasonkarns/optparse-subcommand that referenced this issue Apr 19, 2017
rvm is failing to install 2.3 and 2.4 without the .0 patch version.

travis-ci/travis-ci#5361
@stale
Copy link

stale bot commented Apr 14, 2018

Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues

@stale stale bot added the stale label Apr 14, 2018
@stale stale bot closed this as completed Apr 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

10 participants