Coder Social home page Coder Social logo

Comments (5)

segiddins avatar segiddins commented on July 2, 2024

I'm pretty sure we have a .ruby_version?

from rainforest.

andreamazz avatar andreamazz commented on July 2, 2024

This repo doesn't seem to have one.

from rainforest.

segiddins avatar segiddins commented on July 2, 2024

Ah yeah json 1.7.7 doesn't compile on 2.2, I've needed to manually patch it to work. I just recommend using system ruby for CocoaPods development, honestly.

from rainforest.

smileyborg avatar smileyborg commented on July 2, 2024

I just ran into this same issue; perhaps it would be a good idea to specify which Ruby version(s) should be used when running rake bootstrap in the README?

Switching to ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0] worked for me, with the exception of this failure:

Bootstrapping Molinillo
rake --no-search bootstrap
/Users/tfox1/.rvm/gems/ruby-2.1.2@global/bin/bundle

--------------------------------------------------------------------------------
Installing gems
--------------------------------------------------------------------------------

bundle install
Undefined local variable or method `install_if' for Gemfile
        from /Users/tfox1/Developer/Forks/Rainforest/Molinillo/Gemfile:17
rake aborted!
Command failed with status (4): [bundle install...]
/Users/tfox1/Developer/Forks/Rainforest/Molinillo/Rakefile:9:in `block in <top (required)>'
/Users/tfox1/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in `eval'
/Users/tfox1/.rvm/gems/ruby-2.1.2/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => bootstrap
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [rake --no-search bootstrap...]
/Users/tfox1/Developer/Forks/Rainforest/Rakefile:93:in `block (3 levels) in <top (required)>'
/Users/tfox1/Developer/Forks/Rainforest/Rakefile:90:in `chdir'
/Users/tfox1/Developer/Forks/Rainforest/Rakefile:90:in `block (2 levels) in <top (required)>'
/Users/tfox1/Developer/Forks/Rainforest/Rakefile:89:in `each'
/Users/tfox1/Developer/Forks/Rainforest/Rakefile:89:in `block in <top (required)>'
/Users/tfox1/Developer/Forks/Rainforest/Rakefile:50:in `block in <top (required)>'
Tasks: TOP => bootstrap_repos
(See full trace by running task with --trace)

I fixed the above issue by commenting out Line 17 (and the corresponding end) in Molinillo's Gemfile:

install_if RUBY_VERSION >= '2.0.0' do

Not sure what the issue causing that is though.

from rainforest.

segiddins avatar segiddins commented on July 2, 2024

install_if is a bundler 1.10 feature

from rainforest.

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.