Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

linecache19 not reading ruby_core_source correctly? #5

Open
merbjedi opened this issue Feb 20, 2010 · 4 comments
Open

linecache19 not reading ruby_core_source correctly? #5

merbjedi opened this issue Feb 20, 2010 · 4 comments

Comments

@merbjedi
Copy link

http://gist.github.com/309798

When I try to install the linecache19 gem, it can't find "ruby_core_source". I specifically installed the ruby_core_source gem "0.1.4".

Please note, I'm using rvm and ruby 1.9.2-head. Thanks

@merbjedi
Copy link
Author

Ok, I figured it out. Sorry for spamming the issues board with my incompetence. I'll stop now.

@bitcoiners
Copy link

i have the same issue. How did you solve it?

@merbjedi
Copy link
Author

rvm stores its src directory in ~/.rvm/src/[ruby_version]

You just need to use the linecache19 install instructions and point it to the correct src directory, which in this case is the rvm src path.

I used these instructions
http://wiki.github.com/mark-moseley/ruby-debug/installation-command-line-version

here's the line that fixed it

gem install ruby-debug19 -- --with-ruby-include=/Users/jc/.rvm/src/ruby-1.8.7-p249

All in all, this whole process is a total pain in the ass. Wish it could be streamlined in some way.

@salzig
Copy link

salzig commented Jan 21, 2011

just make sure you use ruby 1.9 right now. You're also getting this error while trying to install ruby-debug19 with Ruby 1.8.7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants