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

Fix platform detection code #113

Closed
tenderlove opened this issue Jul 30, 2009 · 1 comment
Closed

Fix platform detection code #113

tenderlove opened this issue Jul 30, 2009 · 1 comment

Comments

@tenderlove
Copy link
Member

We need to be able to tell when a user is running on windows, not by just the platform. Right now, the code looks at the platform when it needs to look at the OS. Switch to this (from Luis):

RUBY_PLATFORM + RbConfig::CONFIG['host_os']

Similar approach is being used by mspec and the RubySpec to determine
which API behavior should be checked for Java on Windows.
@tenderlove
Copy link
Member Author

using host OS to figure out ENV["PATH"]. closed by 544b431

This issue was closed.
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

1 participant