Comments (7)
I finally got rake bootstrap
to complete with this specific setup:
- ruby version 2.3.8 (kudos to rbenv)
gem install bundler -v 1.17.3
gem install rspec
And then rake bootstrap
succeeded
I was getting failures with ruby version 2.5.3 and also with bundler 2.x. Not sure why I had to explicitly install rspec.
from rainforest.
Can you try running gem install bundler
?
from rainforest.
Some progress, ran gem install bundler
and also removed /usr/local/bin
from head of PATH
. Was then able to run $ rake bootstrap
. However $ CocoaPods/bin/pod --help
(or any other attempt to use the development version) gives error:
$ CocoaPods/bin/pod --help
Could not find rake-10.5.0 in any of the sources
Do I need make some further changes to PATH to locate rake-10.5.0
?
Thanks!
from rainforest.
Odd, further changes shouldnt be necessary but it seems like your local ruby install is in a weird state.
from rainforest.
@icecrystal23 why 2.3.8? for example Specs's Gemfile is pointing to:
ruby '> 2.0.0'
from rainforest.
Not sure. It was likely just another ruby version I already had set up so I tried it and it worked. Or I saw it referenced somewhere in one of the tools and decided to give it a shot.
I find ruby versions to be quite finicky and even minor version updates can easily break things.
from rainforest.
@icecrystal23
Your setup helped better understand the whole Ruby setup. Yet I think your fix can no longer work 😕 :
See https://github.com/rails/rails/blob/master/activesupport/activesupport.gemspec#L12
and https://github.com/CocoaPods/Core/blob/master/cocoapods-core.gemspec#L22-L23
basically the current setup for the core gem has a dependency on activesupport which has a dependency on: s.required_ruby_version = ">= 2.5.0"
Among a few other errors I was getting and thought to dig deeper in the gemspec
of Core. Ultimately I realized the ruby versions are never going to work.
Bootstrapping Core
[!] Some Rake tasks haven been disabled because the environment couldn’t be loaded. Be sure to runrake bootstrap
first.
rake --no-search bootstrap
[!] Some Rake tasks haven been disabled because the environment couldn’t be loaded. Be sure to runrake bootstrap
first.
Updating submodules...
/Users/mfaani908/.rbenv/versions/2.3.8/bin/bundle
Installing gems
Maybe I need to bump the ruby version to 2.5.0
instead of 2.3.8
Or I might have to abandon your setup and try again the original setup with no rbenv
involvement. I had some errors with that, but circumvented them a bit as outlined here 🤔 🤔 🤔
This is all a huge/fun learning curve for someone who's never done any Ruby development, but I feel I'm super close to getting my setup right
EDIT:
The cocoapods-try
repo was also failing. Because that also has a dependency on cocoapods-core: https://github.com/CocoaPods/cocoapods-try/blob/master/Gemfile#L8
rake boostrap
builds with a development environment right?
from rainforest.
Related Issues (20)
- Update homebrew version for CocoaPods
- rake bootstrap fails with Ruby 2.2 due to json gem HOT 4
- cant bootstrap HOT 4
- rake bootstrap fails due to cocoapods-docs Ruby version requirement HOT 5
- Please document the ruby/rake/etc configuration necessary run rake bootstrap
- `rake bootstrap` fails with ruby version error HOT 2
- Warnings using unshallow_all HOT 1
- Bootstrap fails even though bundler 1.17 installed HOT 2
- Failure in Bootstrapping Xcodeproj
- Co
- Rainforest
- Failure bootstrapping setup HOT 1
- rake bootstrap fails with different errors HOT 4
- ( ˶ ̇ ̵ ̇˶ )
- Confised
- Hi
- The
- Bb
- Trees
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rainforest.