Giter VIP home page Giter VIP logo

Comments (4)

domitry avatar domitry commented on May 31, 2024

IRuby v0.1.13 is deprecated. See README.md and install the newest version of IRuby instead.

from iruby.

MatthewSteen avatar MatthewSteen commented on May 31, 2024

@domitry so the instructions at the top in bold are outdated?

The current master branch and gem version >= 0.2 are compatible with IPython3/Jupyter. If you require IPython2 support, please install an older gem version < 0.2 or use the branch ipython2

I would like to install for Python27, is IRuby compatible?

from iruby.

domitry avatar domitry commented on May 31, 2024

so the instructions at the top in bold are outdated?

Oops, no, but maybe the version of IPython installed in your environment is not 2.x. Please try ipython --version. If the result is higher than 3, remove IPython once and run pip install ipython==2.1.0 then IRuby v0.1.13 will work.

BTW you can also install the newest version of IRuby for Python2.7. v0.1.13 is for IPython 2.x, not Python 2.x. Just try commands listed in README.md.

from iruby.

MatthewSteen avatar MatthewSteen commented on May 31, 2024

@domitry thanks for pointing that out. I tried gem install iruby -v 0.2.0 but got the error below. For now using %%ruby in an IPython cell is working better for me. Thanks for your help.

$ gem install iruby -v 0.2.0
ERROR: Error installing iruby:
ERROR: Failed to build gem native extension.

C:/Ruby200-x64/bin/ruby.exe extconf.rb

checking for windows.h... yes
checking for winsock.h... yes
checking for main() in -lkernel32... yes
checking for main() in -lrpcrt4... yes
checking for main() in -lgdi32... yes
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.

Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=C:/Ruby200-x64/bin/ruby
--with-kernel32lib
--without-kernel32lib
--with-rpcrt4lib
--without-rpcrt4lib
--with-gdi32lib
--without-gdi32lib
extconf.rb:49:in `

': uninitialized constant GNU_CHAIN (NameError)

Gem files will remain installed in C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rbczmq-1.7.9 for inspection.
Results logged to C:/Ruby200-x64/lib/ruby/gems/2.0.0/gems/rbczmq-1.7.9/ext/rbczmq/gem_make.out
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...

from iruby.

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.