Created
December 11, 2011 01:31
-
-
Save phillipkoebbe/1457544 to your computer and use it in GitHub Desktop.
Installing ruby-debug19 on ruby 1.9.3-p0 on Mac OS X Lion 10.7.2 with Xcode 4.2.1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# assumes 1.9.3-p0 is already installed in RVM (1.9.2) and you are in an empty gemset | |
curl -OL http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem | |
curl -OL http://rubyforge.org/frs/download.php/75415/ruby-debug-base19-0.11.26.gem | |
gem install rake | |
gem install archive-tar-minitar | |
gem install ruby_core_source | |
gem install columnize | |
gem install linecache19-0.5.13.gem -- --with-ruby-include="$rvm_path/src/`rvm tools strings`" | |
gem install ruby-debug-base19-0.11.26.gem -- --with-ruby-include="$rvm_path/src/`rvm tools strings`" | |
gem install ruby-debug19 |
Hi mdoroudi,
I don't have any ideas. Even though the above method seemed to work for me, I had other problems (can't remember them now) with 1.9.3 and just went back to 1.9.2. If you figure it out, please do share your solution in the comments of your gist so it will help someone else.
Thanks a lot
~Mina
www.MinaDoroudi.com
…On Fri, Jan 20, 2012 at 4:25 AM, Phillip Koebbe < ***@***.*** > wrote:
Hi mdoroudi,
I don't have any ideas. Even though the above method seemed to work for
me, I had other problems (can't remember them now) with 1.9.3 and just went
back to 1.9.2. If you figure it out, please do share your solution in the
comments of your gist so it will help someone else.
---
Reply to this email directly or view it on GitHub:
https://gist.github.com/1457544
worked, thanks!
Immensely useful— just re-ran the two --with-ruby-include
lines after a Ruby update and everything worked à la magique.
Merci.
Good job.
Also, seems they're on gemfury now:
Manual install
gem sources -a https://gems.gemfury.com/8n1rdTK8pezvcsyVmmgJ/ # creates ~/.gemrc
gem install ruby-debug19 -- --with-ruby-include="$rvm_path/src/`rvm tools strings`" # -- --with... for RVM only
Or with a Gemfile
source ...
source 'https://gems.gemfury.com/8n1rdTK8pezvcsyVmmgJ/' # for working pre-release ruby-debug19
...
gem 'ruby-debug19', :platforms => [ :ruby_19, :mingw_19 ]
... and to keep the build flag on Bundler ( only needed when using RVM ):
bundle config build.ruby-debug-base19 --with-ruby-include="$rvm_path/src/`rvm tools strings`" # creates ~/.bundle/config
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I still have problem with this, pretty much installing the ruby-debug-base19-0.11.26.gem doesn't work. I filed a gist for it, any ideas?
https://gist.github.com/1646085