GithubHelp home page GithubHelp logo

Comments (3)

bobinrinder avatar bobinrinder commented on July 20, 2024 1

Just FYI: I had this issue:

/usr/lib/ruby/2.5.0/rubygems.rb:289:in `find_spec_for_exe': can't find gem bundler (>= 0.a) with executable bundle (Gem::GemNotFoundException)
	from /usr/lib/ruby/2.5.0/rubygems.rb:308:in `activate_bin_path'
	from /usr/local/bin/bundle:23:in `<main>'`

and fixed it with running this as a step before this fastlane step:

      - name: Ruby Setup for Fastlane
        uses: actions/setup-ruby@v1
        with:
          ruby-version: '2.7'

from fastlane-action.

maierj avatar maierj commented on July 20, 2024

Currently, there's a hardcoded version spec for ruby: >= 2.6
Would it make sense to define an optional parameter to specify a ruby version, like in the setup-ruby action? The other option would be to require the user of the Fastlane action to prepend a setup-ruby step in his workflow, like you did.

from fastlane-action.

maierj avatar maierj commented on July 20, 2024

Thank you for your feedback. I decided that it shouldn't be the responsibility of this action to setup the correct Ruby version, especially since there is a dedicated action who's sole responsibility is exactly that. In the new version 2.0.0 that was just released, the implementation is depending on the Ruby version already being set up when it's executed. That means that every developer who uses it has to prepend a setup-ruby step, like you did.

from fastlane-action.

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.