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

[Experimental] - not compatible with system (osx lion) rubygems #294

Closed
adrianrego opened this issue Nov 20, 2011 · 6 comments
Closed

[Experimental] - not compatible with system (osx lion) rubygems #294

adrianrego opened this issue Nov 20, 2011 · 6 comments

Comments

@adrianrego
Copy link
Member

Installation bombs out when it gets to the Hammer plugin.

Line 11 in janus/ruby/janus/gems.rb throws a method not defined error.

Gem::Specification.find_all_by_name(gem_name, *requirements)

Upgrading to the latest rubygems resolves the issue. Not sure if there is a backward compatible way to resolve this or if it's just better to document the minimum version of rubygems supported along with upgrade instructions.

@kalbasit
Copy link
Member

Hmm that's weird, on the rubygems version you're having this issues, is Gem::Specification defined ? Does it respond to :find_all_by_name ?

@adrianrego
Copy link
Member Author

I'm on the latest version, but ran into the issue before I upgraded. Had a friend run into it as well. Trying to find what version of rubygems comes bundled with lion.

@kalbasit
Copy link
Member

Ok, if you can a backtrace would help too

@adrianrego
Copy link
Member Author

find_all_by_name was added in rubygems 1.8. Lion comes with 1.3.6. The Specification class exists in 1.3.6, but does not have a find_all_by_name method.

@kalbasit
Copy link
Member

Ok we need to check using irb how to get the same behaviour if the
find_all_by_name is not defined

Wael Nasreddine
Sent from my iPhone

On Nov 20, 2011, at 15:59, Adrian Rego
reply@reply.github.com
wrote:

find_all_by_name was added in rubygems 1.8. Lion comes with 1.3.6. The Specification class exists in 1.3.6, but does not have a find_all_by_name method.


Reply to this email directly or view it on GitHub:
#294 (comment)

@kalbasit
Copy link
Member

Could you try it now ? I debugged with rubygems 1.5.0 I couldn't get an earlier version because I can't get ruby 1.8 to compile with rvm and I do not want to mess up my ruby 1.8 installation..

Thanks Adrian

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