Giter VIP home page Giter VIP logo

Comments (7)

azumakuniyuki avatar azumakuniyuki commented on May 20, 2024

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
%

from rb-sisimai.

azumakuniyuki avatar azumakuniyuki commented on May 20, 2024
% 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)

from rb-sisimai.

azumakuniyuki avatar azumakuniyuki commented on May 20, 2024

I've released fixed version as v4.15.1 just now on https://rubygems.org/gems/sisimai/versions/4.15.1
The following output is the results of installation and running test on CRuby.

#  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

from rb-sisimai.

azumakuniyuki avatar azumakuniyuki commented on May 20, 2024

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

from rb-sisimai.

hiroyuki-sato avatar hiroyuki-sato commented on May 20, 2024

Reference.

rubygems/rubygems#1492

This is currently a limitation of RubyGems -- if you want platform-specific dependencies, you will have to release platform-specific versions of your own gem

from rb-sisimai.

azumakuniyuki avatar azumakuniyuki commented on May 20, 2024

@hiroyuki-sato Thanks for many advices. I've released v4.16.0 just now and have made sure that the latest version works properly !

% sudo PATH="$PATH:/usr/local/jr/bin" /usr/local/jr/bin/jgem install sisimai
Fetching: sisimai-4.16.0-java.gem (100%)
Successfully installed sisimai-4.16.0-java
1 gem installed

% /usr/local/jr/bin/jruby -rsisimai -e 'puts RUBY_PLATFORM, Sisimai.version'
java
4.16.0

% /usr/local/jr/bin/jruby -rsisimai -e 'puts Sisimai.dump($*.shift)' set-of-emails/maildir/bsd/sendmail-22.eml
[{"token":"cf17945938502bd876603a375f0e9517c921bbab","lhost":"localhost","rhost":"mx-s.neko.example.jp","alias":"","listid":"","reason":"hasmoved","action":"failed","subject":"Nyaaaan","messageid":"[email protected]","replycode":"551","smtpagent":"Sendmail","softbounce":0,"smtpcommand":"DATA","destination":"example.net","senderdomain":"example.co.jp","feedbacktype":"","diagnosticcode":"551 not our customer","diagnostictype":"SMTP","deliverystatus":"5.1.6","timezoneoffset":"+0900","addresser":"[email protected]","recipient":"[email protected]","timestamp":1397054085}]

from rb-sisimai.

hiroyuki-sato avatar hiroyuki-sato commented on May 20, 2024

👍

from rb-sisimai.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.