-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Attempts to install dependencies with platform :rbx on MRI #2774
Comments
I have heard from @brixen that this is working fine for many people. I'm not sure what's different in your particular case, and I'm not super familiar with using rubysl because I don't use Rubinius on a daily basis. |
I created the following repo to help debug Bundler + RubySL issues: https://github.com/rubinius/bundler-canary On eg Ubuntu 10.04 64bit, I get the following result:
As seen above, I can try with a different version of MRI if that would help. |
@brixen thanks for looking into this. My results are indeed the same as yours: |
Might this be related to #2791 |
I'm experiencing what seems to be the same issue. I'm trying to bundle the It's platforms :rbx do
gem 'rubysl', '~> 2.0'
gem 'rubysl-json'
end And running either
This is with |
@thomasfedb please use The other issue here is also that the .lock file doesn't include enough platform information to know to not even look for that gem when running MRI. |
@brixen There was no lock file present. I will change the gemfile and submit a PR to sshkit. |
I just found out this problem does not occur if, e.g., |
Note that the problem only occurs if the gem in question (in this case, |
oh! I bet the remote gemspec standin doesn't have proper platform information, and we aren't fetching it because it's expensive. It will slow things down, but we probably need to do it. :/ (Or wait for the new index format that includes it without any additional requests). On Sun, May 11, 2014 at 5:27 PM, Matijs van Zuijlen
|
@indirect it works fine when I allow Bundler to fetch remote data. It is only when running with |
Oh. So, when you use |
I think this one can now be closed. |
On Rubinius, (parts of) the ruby standard library need to be specified in the Gemfile (see rubinius/rubinius#2827). However, I can't get bunder to ignore the gem using the platform option. A minimal Gemfile that illustrates the problem looks like this:
Calling
bundle install --local
with this Gemfile on MRI causes Bundler to complain that the rubysl gem is not installed.I have made a reproduction script:
https://gist.github.com/mvz/8099820
The text was updated successfully, but these errors were encountered: