-
Notifications
You must be signed in to change notification settings - Fork 19
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
jgem install sisimai
fails on JRuby
#46
Comments
jrjackson did not defined in metadata.gz of sisimai-4.15.0.gem % gem fetch sisimai
Fetching: sisimai-4.15.0.gem (100%)
Downloaded sisimai-4.15.0
% tar xvf sisimai-4.15.0.gem
x metadata.gz
x data.tar.gz
x checksums.yaml.gz
% zgrep -i 'Oj' metadata.gz
name: oj
rubyforge_project:
% zgrep -i 'JrJackson' metadata.gz
% |
% sudo /usr/local/jruby/bin/jgem install bunlder
Password:
Fetching: bunlder-0.0.1.gem (100%)
Successfully installed bunlder-0.0.1
1 gem installed
sudo /usr/local/jruby/bin/jgem install bunlder 23.23s user 1.15s system 118% cpu 20.501 total
% /usr/local/jruby/bin/rake build
rake aborted!
no such file to load -- bundler/gem_tasks
org/jruby/RubyKernel.java:937:in `require'
/Users/ak/localrepos/rr.nyaan.jp/rb-Sisimai/Rakefile:1:in `<top>'
org/jruby/RubyKernel.java:955:in `load'
org/jruby/RubyKernel.java:955:in `load'
(See full trace by running task with --trace) |
I've released fixed version as v4.15.1 just now on https://rubygems.org/gems/sisimai/versions/4.15.1 # gem install sisimai
Fetching: sisimai-4.15.1.gem (100%)
Successfully installed sisimai-4.15.1
Parsing documentation for sisimai-4.15.1
Installing ri documentation for sisimai-4.15.1
Done installing documentation for sisimai after 10 seconds
1 gem installed
# ruby -rsisimai -e 'puts RUBY_PLATFORM, Sisimai.version'
x86_64-freebsd10.1
4.15.1 The same test on JRuby # /usr/local/jruby/bin/jgem install sisimai
Fetching: sisimai-4.15.1.gem (100%)
Successfully installed sisimai-4.15.1
1 gem installed
# /usr/local/jruby/bin/jruby -rsisimai -e 'puts RUBY_PLATFORM, Sisimai.version'
java
4.15.1 |
Installation using jgem is completed successfully but JrJackson is not installed as a dependent module. # /usr/local/jruby/bin/jruby -rsisimai -e 'puts Sisimai.dump($*.shift)' ./set-of-emails/maildir/bsd/sendmail-22.eml
LoadError: no such file to load -- jrjackson
require at org/jruby/RubyKernel.java:937
require at /usr/local/jruby/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:54
dump at /usr/local/jruby/lib/ruby/gems/shared/gems/sisimai-4.15.1/lib/sisimai.rb:52
<top> at -e:1 |
Reference.
|
@hiroyuki-sato Thanks for many advices. I've released v4.16.0 just now and have made sure that the latest version works properly !
|
👍 |
I've tested on JRuby 9.0.5.0 on FreeBSD and got the same error message when "jgem install sisimai".
This problem is reported from @hiroyuki-sato at his Gist: https://gist.github.com/hiroyuki-sato/b71049e3dfb20e5408fb
The text was updated successfully, but these errors were encountered: