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

`require': no such file to load -- open3_backport (LoadError) #167

Merged
merged 1 commit into from
Jan 20, 2014

Conversation

carlossg
Copy link
Collaborator

Copied from maestrodev#16 (was raised for librarian-puppet-maestrodev but looks like it would affect this as well)

Hello,

I have a failure in Travis on Ruby 1.8.7 - the open3_backport gem isn't being installed. This appears to be due to the gemspec conditionally adding this as a dependency, but it's evaluated at build time, not install time, so the dependency isn't added to Ruby < 1.9 installs.

Apparently this is the required approach: http://en.wikibooks.org/wiki/Ruby_Programming/RubyGems#How_to_install_different_versions_of_gems_depending_on_which_version_of_ruby_the_installee_is_using

References:

@carlossg
Copy link
Collaborator

Not particularly happy to install a gem at runtime but it only affects 1.8 users. Could have the same problem with the json gem

carlossg added a commit that referenced this pull request Jan 20, 2014
`require': no such file to load -- open3_backport (LoadError)
@carlossg carlossg merged commit e9e832a into master Jan 20, 2014
@carlossg carlossg deleted the open3_backport branch January 20, 2014 11:32
carlossg pushed a commit that referenced this pull request Feb 11, 2014
carlossg pushed a commit that referenced this pull request Feb 11, 2014
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

Successfully merging this pull request may close these issues.

1 participant