Giter Club home page Giter Club logo

Comments (8)

georgebrock avatar georgebrock commented on July 29, 2024

Interesting, thanks. The homebrew formula is meant to work around this by adding a dependency on homebrew Ruby if the system Ruby is too old. I'll look into it.

Sent from my phone

On 31 Jan 2014, at 17:48, Joël Quenneville [email protected] wrote:

gitsh tries to use system ruby which is 1.8.7 on OSX Mountain Lion, but gitsh requires 2.0 or greater.

checking for ruby version... 1.8.7
configure: error: Ruby 2.0 or later is required to install gitsh

Reply to this email directly or view it on GitHub.

from gitsh.

gylaz avatar gylaz commented on July 29, 2024

I'm seeing this same issue. Wonder if there's a way to hook into rbenv for ruby versioning somehow.

from gitsh.

JoelQ avatar JoelQ commented on July 29, 2024

@gylaz It would be better not to depend on rbenv directly since that would break for rvm and chruby users.

from gitsh.

georgebrock avatar georgebrock commented on July 29, 2024

@JoelQ @gylaz Did homebrew try to install a Ruby version, which the gitsh installer failed to pick up, or did the homebrew dependency fail?

from gitsh.

JoelQ avatar JoelQ commented on July 29, 2024

It looks like it thought the system ruby was ok.

==> ./configure --disable-silent-rules
checking for ruby... (cached) /usr/bin/ruby
checking for a sed that does not truncate output... /usr/local/Library/ENV/4.3/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for ruby version... 1.8.7
configure: error: Ruby 2.0 or later is required to install gitsh

from gitsh.

georgebrock avatar georgebrock commented on July 29, 2024

I have a potential fix for this: 779d9a210c6a1fc2a4d3312df8b09e7589fda613. Could someone on Mountain Lion give this a go?

Here's what you'd need to do:

  1. Download the updated formula
  2. Run brew install ~/path/to/formula/gitsh.rb
  3. Profit!

/cc @JoelQ @gylaz

from gitsh.

gylaz avatar gylaz commented on July 29, 2024

It works! Thanks @georgebrock

from gitsh.

georgebrock avatar georgebrock commented on July 29, 2024

Awesome, thanks for the debugging help. I'm moving this to a PR: #62

from gitsh.

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.