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

Issue bootstrapping rainforest #26

Closed
orta opened this issue Aug 12, 2014 · 6 comments
Closed

Issue bootstrapping rainforest #26

orta opened this issue Aug 12, 2014 · 6 comments

Comments

@orta
Copy link
Member

orta commented Aug 12, 2014

Bootstrapping CLAide
rake aborted!
NameError: uninitialized constant RuboCop
/Users/orta/dev/ruby/Rainforest/CLAide/Rakefile:38:in `<top (required)>'
(See full trace by running task with --trace)
@fabiopelosin
Copy link
Member

This should have been solved in CLAide head, can you run rake pull and rake bootstrap and report back?

@orta
Copy link
Member Author

orta commented Aug 12, 2014

neither of those commans seem to run an update on CLAide

   Rainforest   master ✔  rake bootstrap                                                                                                                                                                                                                                                                       11:39:14
/usr/local/var/rbenv/versions/2.1.1/bin/bundle

--------------------------------------------------------------------------------
Fetching repositories list
--------------------------------------------------------------------------------
Found 33 public repositories

--------------------------------------------------------------------------------
Cloning the GEM repositories
--------------------------------------------------------------------------------

Cloning CocoaPods
Already cloned

Cloning Xcodeproj
Already cloned

Cloning CLAide
Already cloned

Cloning Core
Already cloned

Cloning cocoapods-downloader
Already cloned

Cloning pod-template
Already cloned

Cloning VersionKit
Already cloned

Cloning cocoapods-docs
Already cloned

Cloning cocoapods-trunk
Already cloned

Cloning cocoapods-try
Already cloned

Cloning cocoapods-podfile_info
Already cloned

Cloning cocoapods-plugins
Already cloned

Cloning shared
Already cloned

--------------------------------------------------------------------------------
Bootstrapping all the repositories
--------------------------------------------------------------------------------

Bootstrapping CLAide
rake aborted!
NameError: uninitialized constant RuboCop
/Users/orta/dev/ruby/Rainforest/CLAide/Rakefile:38:in `<top (required)>'
(See full trace by running task with --trace)

Bootstrapping CocoaPods
rake --no-search bootstrap

--------------------------------------------------------------------------------
Environment bootstrap
--------------------------------------------------------------------------------

Updating submodules
/usr/local/var/rbenv/versions/2.1.1/bin/bundle
Installing gems
rake aborted!
Updating https://github.com/CocoaPods/cocoapods-try.git
fatal: Refusing to fetch into current branch refs/heads/master of non-bare repository
Unexpected end of command stream
Retrying git fetch --force --quiet --tags 'https://github.com/CocoaPods/cocoapods-try.git' "refs/heads/*:refs/heads/*" due to error (2/3): Bundler::Source::Git::GitCommandError Git error: command `git fetch --force --quiet --tags 'https://github.com/CocoaPods/cocoapods-try.git' "refs/heads/*:refs/heads/*"` in directory /usr/local/var/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/cache/bundler/git/cocoapods-try-b6b0cdfb56561579b77f8a36a9dc8564cc7bad71 has failed.
If this error persists you could try removing the cache directory '/usr/local/var/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/cache/bundler/git/cocoapods-try-b6b0cdfb56561579b77f8a36a9dc8564cc7bad71'
fatal: Refusing to fetch into current branch refs/heads/master of non-bare repository
Unexpected end of command stream
Retrying git fetch --force --quiet --tags 'https://github.com/CocoaPods/cocoapods-try.git' "refs/heads/*:refs/heads/*" due to error (3/3): Bundler::Source::Git::GitCommandError Git error: command `git fetch --force --quiet --tags 'https://github.com/CocoaPods/cocoapods-try.git' "refs/heads/*:refs/heads/*"` in directory /usr/local/var/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/cache/bundler/git/cocoapods-try-b6b0cdfb56561579b77f8a36a9dc8564cc7bad71 has failed.
If this error persists you could try removing the cache directory '/usr/local/var/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/cache/bundler/git/cocoapods-try-b6b0cdfb56561579b77f8a36a9dc8564cc7bad71'
fatal: Refusing to fetch into current branch refs/heads/master of non-bare repository
Unexpected end of command stream
Git error: command `git fetch --force --quiet --tags 'https://github.com/CocoaPods/cocoapods-try.git' "refs/heads/*:refs/heads/*"` in directory /usr/local/var/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/cache/bundler/git/cocoapods-try-b6b0cdfb56561579b77f8a36a9dc8564cc7bad71 has failed.
If this error persists you could try removing the cache directory '/usr/local/var/rbenv/versions/2.1.1/lib/ruby/gems/2.1.0/cache/bundler/git/cocoapods-try-b6b0cdfb56561579b77f8a36a9dc8564cc7bad71'
/Users/orta/dev/ruby/Rainforest/CocoaPods/Rakefile:269:in `execute_command'
/Users/orta/dev/ruby/Rainforest/CocoaPods/Rakefile:27:in `block in <top (required)>'
Tasks: TOP => bootstrap
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [rake --no-search bootstrap...]
/Users/orta/dev/ruby/Rainforest/Rakefile:91:in `block (3 levels) in <top (required)>'
/Users/orta/dev/ruby/Rainforest/Rakefile:88:in `chdir'
/Users/orta/dev/ruby/Rainforest/Rakefile:88:in `block (2 levels) in <top (required)>'
/Users/orta/dev/ruby/Rainforest/Rakefile:87:in `each'
/Users/orta/dev/ruby/Rainforest/Rakefile:87:in `block in <top (required)>'
/Users/orta/dev/ruby/Rainforest/Rakefile:48:in `block in <top (required)>'
Tasks: TOP => bootstrap_repos
(See full trace by running task with --trace)

   Rainforest   master ✔  rake pull                                                                                                                                                                                                                                                                            11:39:26

--------------------------------------------------------------------------------
Pulling all the repositories
--------------------------------------------------------------------------------

Pulling Rainforest
git remote update
Fetching origin
git pull --no-commit
Already up-to-date.

[!] The Rainforest repository itself has been updated.
You should run `rake bootstrap` to update all repositories
and fetch the potentially new ones.

   Rainforest   master ✔ 

@fabiopelosin
Copy link
Member

What about manually pulling CLAide and running rake bootstrap from there?

@orta
Copy link
Member Author

orta commented Aug 12, 2014

everything seems to imply it's at head, I had to cd in to CLAide then bundle install

@fabiopelosin
Copy link
Member

I think that the CLAide issue is a one time error related to: CocoaPods/CLAide@2d1ade5 (Rubocop changing to RuboCop) and you having an old version of RuboCop installed.

@alloy should we switch to all errors instead of LoadError?

@fabiopelosin
Copy link
Member

Closing as I have been shown the light by @alloy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants