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
Error installing Rainforest (file.metas['link']
)
#13
Comments
Can you try it without RVM and gemsets? There shouldn’t be a need for this, especially as you’re not doing any other Ruby dev, right? |
This doesn't change anything.
|
FYI:
|
Looking at the API for OpenURI, it seems the method is misspelled. It should probably be just |
Progress.
|
Hrmm, I have the feeling that the objects returned by OpenURI might have different APIs on different Ruby versions. @irrationalfab can you confirm? In this case, assuming that @irrationalfab confirms that on other Ruby versions this does return an Array, it would have to be made compatible with all. I think this should help: link = Array(file.meta['link']).first The |
This seems to work, the rake script is cloning repos right now!
|
Ok, let’s see what @irrationalfab says about why the code is as it is right now and then patch it accordingly. |
I believe that if there is only one header of a given header key (like |
Something strange about this Rakefile anyway:
Seems strange that even if I manually installed bundler explicitly before running rake, it tried to install it again, right? |
One of the repos Rakefile’s is probably trying to install Bundler as part of |
Will try, but am a bit lost with all this code in multiple Rakefiles and all the repos 😉 If it helps, this was in the "Installing gems" section of the output:
|
There we go, it’s in the CLAide Rakefile: https://github.com/CocoaPods/CLAide/blob/master/Rakefile#L8. |
CLAide is the one: https://github.com/CocoaPods/CLAide/blob/master/Rakefile#L8 |
Damn you shot first 😆 |
👯 So yeah, it probably use a check like this repo’s Rakefile has and print an error to install bundler. In any case, it should not try to install bundler. |
Just FYI, once I manually fixed both:
I was finally able to complete the installation, confirmed by running This still needs some official fix though |
file.metas['link']
)
Fixed by 4a8fac0 |
👍 |
There is an error in the Rakefile@L417
file.metas['link'].first
➡️ Undefined methodmetas
for#<Tempfile>
I just freshly cloned the repo, did execute
rvm gemset create rainforest
to have a clean gemset to start from, then followed the README instructions.The text was updated successfully, but these errors were encountered: