Giter Site home page Giter Site logo

Comments (16)

os97673 avatar os97673 commented on August 10, 2024

I've just tried this and everything works fine now, it looks like debugger-ruby_core_source has been updated with sources for 2.1.1.

from ruby-debug-ide.

 avatar commented on August 10, 2024

I just installed Ruby 2.1.1-p76 When I run bundle install I sill get this.

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

/usr/local/rvm/rubies/ruby-2.1.1/bin/ruby extconf.rb 

checking for rb_method_entry_t.called_id in method.h... no
checking for rb_control_frame_t.method_id in method.h... no
checking for rb_method_entry_t.called_id in method.h... no
checking for rb_control_frame_t.method_id in method.h... no
checking for rb_method_entry_t.called_id in method.h... no
checking for rb_control_frame_t.method_id in method.h... no
Makefile creation failed

from ruby-debug-ide.

os97673 avatar os97673 commented on August 10, 2024

I think gem should store a complete log somewhere it would be nice if you'd publish it (as a gist)

from ruby-debug-ide.

 avatar commented on August 10, 2024
    Error running parsecsv (1):

Failed to Install Gems. Following gems were not installed:
/Applications/RubyMine.app/rb/gems/ruby-debug-ide-0.4.22.gem: Error
installing ruby-debug-ide-0.4.22.gem:
ERROR: Failed to build gem native extension.
/usr/local/rvm/rubies/ruby-2.1.1/bin/ruby mkrf_conf.rb Installing base gem
Building native extensions. This could take a while... Building native
extensions. This could take a while... ERROR: Failed to build gem native
extension. /usr/local/rvm/rubies/ruby-2.1.1/bin/ruby extconf.rb checking
for vm_core.h... no checking for vm_core.h... no checking for vm_core.h...
yes creating Makefile make "DESTDIR=" clean make "DESTDIR=" compiling
breakpoint.c compiling context.c compiling debase_internals.c In file
included from debase_internals.c:2: In file included from ./hacks.h:1: In
file included from
/usr/local/rvm/rubies/ruby-2.1.1/lib/ruby/gems/2.1.0/gems/debugger-ruby_core_source-1.3.2/lib/debugger/ruby_core_source/ruby-2.1.1-p76/vm_core.h:24:
In file included from
/usr/local/rvm/rubies/ruby-2.1.1/lib/ruby/gems/2.1.0/gems/debugger-ruby_core_source-1.3.2/lib/debugger/ruby_core_source/ruby-2.1.1-p76/method.h:14:
/usr/local/rvm/rubies/ruby-2.1.1/lib/ruby/gems/2.1.0/gems/debugger-ruby_core_source-1.3.2/lib/debugger/ruby_core_source/ruby-2.1.1-p76/internal.h:209:22:
error: expected ')' nlz_int128(uint128_t x) ^

On Fri, Apr 4, 2014 at 12:10 PM, Oleg Sukhodolsky
[email protected]:

I think gem should store a complete log somewhere it would be nice if
you'd publish it (as a gist)

Reply to this email directly or view it on GitHubhttps://github.com//issues/42#issuecomment-39600452
.

from ruby-debug-ide.

 avatar commented on August 10, 2024

Thank You for looking into this sorry it took so long for me to reply.

On Fri, Apr 4, 2014 at 11:23 PM, Wayne Mattingly [email protected]:

    Error running parsecsv (1):

Failed to Install Gems. Following gems were not installed:
/Applications/RubyMine.app/rb/gems/ruby-debug-ide-0.4.22.gem: Error
installing ruby-debug-ide-0.4.22.gem:
ERROR: Failed to build gem native extension.
/usr/local/rvm/rubies/ruby-2.1.1/bin/ruby mkrf_conf.rb Installing base gem
Building native extensions. This could take a while... Building native
extensions. This could take a while... ERROR: Failed to build gem native
extension. /usr/local/rvm/rubies/ruby-2.1.1/bin/ruby extconf.rb checking
for vm_core.h... no checking for vm_core.h... no checking for vm_core.h...
yes creating Makefile make "DESTDIR=" clean make "DESTDIR=" compiling
breakpoint.c compiling context.c compiling debase_internals.c In file
included from debase_internals.c:2: In file included from ./hacks.h:1: In
file included from
/usr/local/rvm/rubies/ruby-2.1.1/lib/ruby/gems/2.1.0/gems/debugger-ruby_core_source-1.3.2/lib/debugger/ruby_core_source/ruby-2.1.1-p76/vm_core.h:24:
In file included from
/usr/local/rvm/rubies/ruby-2.1.1/lib/ruby/gems/2.1.0/gems/debugger-ruby_core_source-1.3.2/lib/debugger/ruby_core_source/ruby-2.1.1-p76/method.h:14:
/usr/local/rvm/rubies/ruby-2.1.1/lib/ruby/gems/2.1.0/gems/debugger-ruby_core_source-1.3.2/lib/debugger/ruby_core_source/ruby-2.1.1-p76/internal.h:209:22:
error: expected ')' nlz_int128(uint128_t x) ^

On Fri, Apr 4, 2014 at 12:10 PM, Oleg Sukhodolsky <
[email protected]> wrote:

I think gem should store a complete log somewhere it would be nice if
you'd publish it (as a gist)

Reply to this email directly or view it on GitHubhttps://github.com//issues/42#issuecomment-39600452
.

from ruby-debug-ide.

 avatar commented on August 10, 2024

This could be a Rubymine 6.0 issue because when I did a bundle install it
loaded properly.

When I used Rubymine 6.0 it crashed so I think it is a Rubymine 6.0 issue.

On Fri, Apr 4, 2014 at 11:24 PM, Wayne Mattingly [email protected]:

Thank You for looking into this sorry it took so long for me to reply.

On Fri, Apr 4, 2014 at 11:23 PM, Wayne Mattingly [email protected]:

    Error running parsecsv (1):

Failed to Install Gems. Following gems were not installed:
/Applications/RubyMine.app/rb/gems/ruby-debug-ide-0.4.22.gem: Error
installing ruby-debug-ide-0.4.22.gem:
ERROR: Failed to build gem native extension.
/usr/local/rvm/rubies/ruby-2.1.1/bin/ruby mkrf_conf.rb Installing base gem
Building native extensions. This could take a while... Building native
extensions. This could take a while... ERROR: Failed to build gem native
extension. /usr/local/rvm/rubies/ruby-2.1.1/bin/ruby extconf.rb checking
for vm_core.h... no checking for vm_core.h... no checking for vm_core.h...
yes creating Makefile make "DESTDIR=" clean make "DESTDIR=" compiling
breakpoint.c compiling context.c compiling debase_internals.c In file
included from debase_internals.c:2: In file included from ./hacks.h:1: In
file included from
/usr/local/rvm/rubies/ruby-2.1.1/lib/ruby/gems/2.1.0/gems/debugger-ruby_core_source-1.3.2/lib/debugger/ruby_core_source/ruby-2.1.1-p76/vm_core.h:24:
In file included from
/usr/local/rvm/rubies/ruby-2.1.1/lib/ruby/gems/2.1.0/gems/debugger-ruby_core_source-1.3.2/lib/debugger/ruby_core_source/ruby-2.1.1-p76/method.h:14:
/usr/local/rvm/rubies/ruby-2.1.1/lib/ruby/gems/2.1.0/gems/debugger-ruby_core_source-1.3.2/lib/debugger/ruby_core_source/ruby-2.1.1-p76/internal.h:209:22:
error: expected ')' nlz_int128(uint128_t x) ^

On Fri, Apr 4, 2014 at 12:10 PM, Oleg Sukhodolsky <
[email protected]> wrote:

I think gem should store a complete log somewhere it would be nice if
you'd publish it (as a gist)

Reply to this email directly or view it on GitHubhttps://github.com//issues/42#issuecomment-39600452
.

from ruby-debug-ide.

os97673 avatar os97673 commented on August 10, 2024

The error you've got looks similar to one from http://youtrack.jetbrains.com/issue/RUBY-14979
and it looks like you just need to update Xcode to fix it.

from ruby-debug-ide.

 avatar commented on August 10, 2024

Wow thank you !

I will do that plus I just downloaded Rubymine 6.3 and they mention
extended debugger support, but it errors out also. I have a setup where
Xcode is not in the mix. I basically installed waynessequines' RVM without
Xcode, so basically I downloaded a package that just runs with gcc.

My version of rubymine 5.4 runs the debugger wonderfully.

I will have think about what I am going to do.

Once more thank you for the help.

Different Issue:
FYI

Also I have had issues with 2.1.1 after install 3 times in a row. The
FileUtils seems to be broken when a source file is out of the immediate
directory. I posted the error and I am waiting for a reply just anFYI

This fails No such file or directory @
rb_sysopenhttp://stackoverflow.com/questions/22818611/no-such-file-or-directory-rb-sysopen
FileUtils.move "controllers/somewhere/some.file", "/public"

This works:
FileUtils.move "some.file", "/public"

On Fri, Apr 4, 2014 at 11:31 PM, Oleg Sukhodolsky
[email protected]:

The error you've got looks similar to one from
http://youtrack.jetbrains.com/issue/RUBY-14979
and it looks like you just need to update Xcode to fix it.

Reply to this email directly or view it on GitHubhttps://github.com//issues/42#issuecomment-39630456
.

from ruby-debug-ide.

 avatar commented on August 10, 2024

Hello Oleg -

I downloaded Jetbrains new rev of Rubymine 6.3(very new). I wanted to let
you know that the debugger issue was solved. Now debugger latest version
1.6.6 works great. Sorry if I wasted your valuable time.

On Sat, Apr 5, 2014 at 8:48 AM, Wayne Mattingly [email protected]:

Wow thank you !

I will do that plus I just downloaded Rubymine 6.3 and they mention
extended debugger support, but it errors out also. I have a setup where
Xcode is not in the mix. I basically installed waynessequines' RVM without
Xcode, so basically I downloaded a package that just runs with gcc.

My version of rubymine 5.4 runs the debugger wonderfully.

I will have think about what I am going to do.

Once more thank you for the help.

Different Issue:
FYI

Also I have had issues with 2.1.1 after install 3 times in a row. The
FileUtils seems to be broken when a source file is out of the immediate
directory. I posted the error and I am waiting for a reply just anFYI

This fails No such file or directory @ rb_sysopenhttp://stackoverflow.com/questions/22818611/no-such-file-or-directory-rb-sysopen
FileUtils.move "controllers/somewhere/some.file", "/public"

This works:
FileUtils.move "some.file", "/public"

On Fri, Apr 4, 2014 at 11:31 PM, Oleg Sukhodolsky <
[email protected]> wrote:

The error you've got looks similar to one from
http://youtrack.jetbrains.com/issue/RUBY-14979
and it looks like you just need to update Xcode to fix it.

Reply to this email directly or view it on GitHubhttps://github.com//issues/42#issuecomment-39630456
.

from ruby-debug-ide.

os97673 avatar os97673 commented on August 10, 2024

@whoru7777777 I'm happy to here that now it works ;)

from ruby-debug-ide.

tioteath avatar tioteath commented on August 10, 2024

Cannot install on Debian GNU Linux Jessie:

sudo gem install ruby-debug-ide
Building native extensions.  This could take a while...
ERROR:  Error installing ruby-debug-ide:
    ERROR: Failed to build gem native extension.

    /usr/bin/ruby2.1 mkrf_conf.rb
Installing base gem
Building native extensions.  This could take a while...

/usr/bin/ruby2.1 -rubygems /usr/share/rubygems-integration/all/gems/rake-10.1.1/bin/rake RUBYARCHDIR=/var/lib/gems/2.1.0/extensions/x86_64-linux/2.1.0/ruby-debug-ide-0.4.22 RUBYLIBDIR=/var/lib/gems/2.1.0/extensions/x86_64-linux/2.1.0/ruby-debug-ide-0.4.22
/usr/bin/ruby2.1: No such file or directory -- /usr/share/rubygems-integration/all/gems/rake-10.1.1/bin/rake (LoadError)

rake failed, exit code 1

Gem files will remain installed in /var/lib/gems/2.1.0/gems/ruby-debug-ide-0.4.22 for inspection.
Results logged to /var/lib/gems/2.1.0/extensions/x86_64-linux/2.1.0/ruby-debug-ide-0.4.22/gem_make.out

from ruby-debug-ide.

 avatar commented on August 10, 2024

What is your IDE e.g.(Aptana 3) and the rev number. I found that your IDE
rev has a lot to do with the debugger working properly.

On Thu, Jun 12, 2014 at 10:39 AM, tioteath [email protected] wrote:

Cannot install on Debian GNU Linux Jessie:

sudo gem install ruby-debug-ide
Building native extensions. This could take a while...
ERROR: Error installing ruby-debug-ide:
ERROR: Failed to build gem native extension.

/usr/bin/ruby2.1 mkrf_conf.rb

Installing base gem
Building native extensions. This could take a while...

/usr/bin/ruby2.1 -rubygems /usr/share/rubygems-integration/all/gems/rake-10.1.1/bin/rake RUBYARCHDIR=/var/lib/gems/2.1.0/extensions/x86_64-linux/2.1.0/ruby-debug-ide-0.4.22 RUBYLIBDIR=/var/lib/gems/2.1.0/extensions/x86_64-linux/2.1.0/ruby-debug-ide-0.4.22
/usr/bin/ruby2.1: No such file or directory -- /usr/share/rubygems-integration/all/gems/rake-10.1.1/bin/rake (LoadError)

rake failed, exit code 1

Gem files will remain installed in /var/lib/gems/2.1.0/gems/ruby-debug-ide-0.4.22 for inspection.
Results logged to /var/lib/gems/2.1.0/extensions/x86_64-linux/2.1.0/ruby-debug-ide-0.4.22/gem_make.out


Reply to this email directly or view it on GitHub
#42 (comment)
.

from ruby-debug-ide.

tioteath avatar tioteath commented on August 10, 2024

I'm using RubyMine 6.3 Build#RM-135.588. But I'm not sure if it's somehow connected as I'm trying to install the gem system wide.

from ruby-debug-ide.

os97673 avatar os97673 commented on August 10, 2024

I'd check that RubyMine correctly detected language level for ruby sdk as 2.1, if it is 1.8 then you should try to update RubyMine, remove the sdk and restart ide (RubyMine will add sdk again with correct language level)

from ruby-debug-ide.

tioteath avatar tioteath commented on August 10, 2024

I'm using ruby 2.1.2p95, but anyway, thanks for advice, I'll try that.

from ruby-debug-ide.

 avatar commented on August 10, 2024

All is working well after using your suggestion.!
THX!

On Fri, Jun 27, 2014 at 8:05 AM, tioteath [email protected] wrote:

I'm using ruby 2.1.2p95, but anyway, thanks for advice, I'll try that.


Reply to this email directly or view it on GitHub
#42 (comment)
.

from ruby-debug-ide.

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.