Installed jruby-1.7.2 with rvm on 32-bit linux distro, with I5 cpu. I also installed the 'pry' parser gem, specifically these: pry (0.9.11.4 java) pry-doc (0.4.4) pry-rescue (0.16) When I try to use pry it fails to work, and spews a heap of errors onscreen. Has anyone seen/solved this problem before?
on 2013-01-28 05:05
on 2013-01-28 05:45
On Sun, Jan 27, 2013 at 8:05 PM, Jabari Z. <lists@ruby-forum.com> wrote: > Has anyone seen/solved this problem before? Seems to work fine for me: ---------------------------------------------------------------------------------------------- Mac OS (10.7.5) java version "1.6.0_37" Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909) Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode) jruby 1.7.2 (1.9.3p327) 2013-01-04 302c706 pry (0.9.11.4 java, 0.9.10 java) pry-doc (0.4.4) pry-rails (0.2.2) pry-rescue (0.16) ---------------------------------------------------------------------------------------------- You could probably be more specific about > When I try to use pry ? ______________________ > it fails to work ? ______________________ > spews a heap of errors onscreen. ? ______________________ No need to be *too* specific, error messages are just there for show. Ha. Just kidding. -- Hassan Schroeder ------------------------ hassan.schroeder@gmail.com http://about.me/hassanschroeder twitter: @hassan
on 2013-01-29 04:28
Hassan Schroeder wrote in post #1094003: > On Sun, Jan 27, 2013 at 8:05 PM, Jabari Z. <lists@ruby-forum.com> wrote: >> Has anyone seen/solved this problem before? > Seems to work fine for me: > ---------------------------------------------------------------------------------------------- > Mac OS (10.7.5) > java version "1.6.0_37" > Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909) > Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode) > > jruby 1.7.2 (1.9.3p327) 2013-01-04 302c706 > > pry (0.9.11.4 java, 0.9.10 java) > pry-doc (0.4.4) > pry-rails (0.2.2) > pry-rescue (0.16) > ---------------------------------------------------------------------------------------------- > > You could probably be more specific about > >> When I try to use pry > > ? ______________________ > >> it fails to work > > ? ______________________ > >> spews a heap of errors onscreen. > > ? ______________________ > > No need to be *too* specific, error messages are just there for show. > Ha. Just kidding. > > -- > Hassan Schroeder ------------------------ hassan.schroeder@gmail.com > http://about.me/hassanschroeder > twitter: @hassan OK, here's a screen dump of what I get. I this a jruby, pry, or rvm problem? --------------------------------------------- zakiya@localhost ~ $ ruby -v jruby 1.7.2 (1.9.3p327) 2013-01-04 302c706 on Java HotSpot(TM) Server VM 1.6.0_38-b05 [linux-i386] jzakiya@localhost ~ $ pry NameError: missing class or uppercase package name (`org.pryrepl.InterceptionEventHook') get_proxy_or_package_under_package at org/jruby/javasupport/JavaUtilities.java:54 method_missing at file:/home/jzakiya/.rvm/rubies/jruby-1.7.2/lib/jruby.jar!/jruby/java/java_package_module_template.rb:10 __singleton__ at /home/jzakiya/.rvm/gems/jruby-1.7.2/gems/interception-0.3/lib/cross_platform.rb:42 (root) at /home/jzakiya/.rvm/gems/jruby-1.7.2/gems/interception-0.3/lib/cross_platform.rb:2 require at org/jruby/RubyKernel.java:1027 require at /home/jzakiya/.rvm/rubies/jruby-1.7.2/lib/ruby/shared/rubygems/custom_require.rb:36 (root) at /home/jzakiya/.rvm/gems/jruby-1.7.2/gems/interception-0.3/lib/interception.rb:1 Interception at /home/jzakiya/.rvm/gems/jruby-1.7.2/gems/interception-0.3/lib/interception.rb:119 require at org/jruby/RubyKernel.java:1027 require at /home/jzakiya/.rvm/rubies/jruby-1.7.2/lib/ruby/shared/rubygems/custom_require.rb:36 (root) at /home/jzakiya/.rvm/gems/jruby-1.7.2/gems/interception-0.3/lib/interception.rb:5 require at org/jruby/RubyKernel.java:1027 require at /home/jzakiya/.rvm/rubies/jruby-1.7.2/lib/ruby/shared/rubygems/custom_require.rb:60 require at /home/jzakiya/.rvm/rubies/jruby-1.7.2/lib/ruby/shared/rubygems/custom_require.rb:55 (root) at /home/jzakiya/.rvm/gems/jruby-1.7.2/gems/pry-rescue-0.16/lib/pry-rescue.rb:1 require at org/jruby/RubyKernel.java:1027 require at /home/jzakiya/.rvm/rubies/jruby-1.7.2/lib/ruby/shared/rubygems/custom_require.rb:36 (root) at /home/jzakiya/.rvm/gems/jruby-1.7.2/gems/pry-rescue-0.16/lib/pry-rescue.rb:2 (root) at /home/jzakiya/.rvm/gems/jruby-1.7.2/gems/pry-rescue-0.16/lib/pry-rescue/cli.rb:1 each at org/jruby/RubyArray.java:1613 (root) at /home/jzakiya/.rvm/gems/jruby-1.7.2/gems/pry-rescue-0.16/lib/pry-rescue/cli.rb:1 (root) at /home/jzakiya/.rvm/gems/jruby-1.7.2/gems/pry-0.9.11.4-java/lib/pry/plugins.rb:1 require at org/jruby/RubyKernel.java:1027 require at /home/jzakiya/.rvm/rubies/jruby-1.7.2/lib/ruby/shared/rubygems/custom_require.rb:36 load_cli_options at /home/jzakiya/.rvm/gems/jruby-1.7.2/gems/pry-0.9.11.4-java/lib/pry/plugins.rb:38 require at org/jruby/RubyKernel.java:1027 require at /home/jzakiya/.rvm/rubies/jruby-1.7.2/lib/ruby/shared/rubygems/custom_require.rb:36 add_plugin_options at /home/jzakiya/.rvm/gems/jruby-1.7.2/gems/pry-0.9.11.4-java/lib/pry/cli.rb:39 load at org/jruby/RubyKernel.java:1046 add_plugin_options at /home/jzakiya/.rvm/gems/jruby-1.7.2/gems/pry-0.9.11.4-java/lib/pry/cli.rb:38 eval at org/jruby/RubyKernel.java:1066 (root) at /home/jzakiya/.rvm/gems/jruby-1.7.2/bin/ruby_noexec_wrapper:14
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.