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

Mention in readme that gem facets is needed #2

Closed
dentarg opened this issue Sep 1, 2010 · 2 comments
Closed

Mention in readme that gem facets is needed #2

dentarg opened this issue Sep 1, 2010 · 2 comments
Labels

Comments

@dentarg
Copy link

dentarg commented Sep 1, 2010

I think you should mention in the readme that you need (or was it only me?) facets as well.

Without facets gem installed:

>> require 'rubygems'
=> false
>> require 'crypt3'
LoadError: no such file to load -- facets/string/xor.rb
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
    from /Users/dentarg/.gem/ruby/1.8/gems/crypt3-1.1.0/lib/crypt3.rb:36
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
    from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `require'
    from (irb):4

After doing gem install facets I had better luck:

>> require 'rubygems'
=> false
>> require 'crypt3'
=> true
>> Crypt3.crypt('pass')
=> "$1$qEfNSNGZ$jRUCV6eauhk5SUFDWHgv8/"
@trans
Copy link
Member

trans commented Sep 3, 2010

Indeed you are right. Thanks for reporting this. Looks like I misconstrued crypt3's need for this extension. Apparently the String xor method isn't actually needed at all. I went ahead and removed it and released a new version.

Thanks again.

@trans
Copy link
Member

trans commented Sep 3, 2010

Fixed as of 1.1.1/1.1.2.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants