Giter Site home page Giter Site logo

Comments (9)

taganaka avatar taganaka commented on June 4, 2024

This is odd
It works for me and for Travis-ci too according to the latest build

This is where the check is done.

Could you please share the output of the following command?

ruby -e 'ruby -e 'puts JRUBY_VERSION if defined?(JRUBY_VERSION)'

mine is:

me@francescos-mbp polipus (master)$ ruby -e 'puts JRUBY_VERSION if defined?(JRUBY_VERSION)'
1.7.13
me@francescos-mbp polipus (master)$

from polipus.

nengine avatar nengine commented on June 4, 2024

On Windows got nothing with ruby command, but with jruby command I got 1.7.13

ruby -e 'puts JRUBY_VERSION if defined?(JRUBY_VERSION)'
jruby -e 'puts JRUBY_VERSION if defined?(JRUBY_VERSION)'

On Ubuntu 12.04 even with ruby command I got 1.7.13, but still not sure why it is not picking up

from polipus.

nengine avatar nengine commented on June 4, 2024

Hi, Please let me know if you like me to test something. I didn't got any value returned after as you instructed.

nash@ubuntu:~/polipus/news/voa$ ruby -e puts 'JRUBY_VERSION if defined?(JRUBY_VERSION)'

nash@ubuntu:~/polipus/news/voa$ 

from polipus.

tmaier avatar tmaier commented on June 4, 2024

@neuralnw the quotation mark is on the wrong place. It must be before "puts".

from polipus.

nengine avatar nengine commented on June 4, 2024

Hi Thanks, I got below when i use before puts for quotation mark.

nash@ubuntu:~/polipus$ ruby -e 'ruby -e 'puts JRUBY_VERSION if defined?(JRUBY_VERSION)'
> -e:1: syntax error, unexpected tIDENTIFIER, expecting keyword_do or '{' or '('
-bash: syntax error near unexpected token `('
nash@ubuntu:~/polipus$ > 
-bash: syntax error near unexpected token `newline'
nash@ubuntu:~/polipus$ 

from polipus.

tmaier avatar tmaier commented on June 4, 2024

Now your wrote "ruby -e" twice...

from polipus.

nengine avatar nengine commented on June 4, 2024
nash@ubuntu:~/polipus$ jruby -e 'puts JRUBY_VERSION if defined?(JRUBY_VERSION)'
1.7.13
nash@ubuntu:~/polipus$ 
nash@ubuntu:~/polipus$ rvm use ruby
Using /home/nash/.rvm/gems/ruby-2.1.0
nash@ubuntu:~/polipus$ ruby -e 'puts JRUBY_VERSION if defined?(JRUBY_VERSION)'
nash@ubuntu:~/polipus$ 

from polipus.

akostadinov avatar akostadinov commented on June 4, 2024

Seems like bson_ext is not needed on jruby. See http://api.mongodb.org/ruby/1.9.2/

from polipus.

nofxx avatar nofxx commented on June 4, 2024

If you guys could try this fork https://github.com/nofxx/polipus , guess it's fixed.
Moved the platform to Gemfile, and requires bson_ext only on mri or rbx.

from polipus.

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.