ruby-debug-base19-0.11.26 installation errror

自古美人都是妖i 提交于 2019-12-11 11:03:14

问题


I'm trying to get ruby-debug working with ruby 1.9.3 and rails on OSX Lion. I've been following http://blog.wyeworks.com/2011/11/1/ruby-1-9-3-and-ruby-debug , but my problem is I can't get ruby-debug-base19-0.11.26.gem

In my .Gemfile for sources i have

source 'http://rubygems.org'    
source :rubyforge     
source 'http://gems.rubyforge.org' 

when I do

gem install ruby-debug-base19-0.11.26.gem -- --with-ruby- include=/Users/minadoroudi/.rvm/rubies/ruby-1.9.3-p0/include=/Users/me/.rvm/rubies/ruby-1.9.3-p0/
or 
gem install ruby-debug-base19-0.11.26 -- --with-ruby- include=/Users/me/.rvm/rubies/ruby-1.9.3-p0/ 

I get:

ERROR:  Could not find a valid gem 'ruby-debug-base19-0.11.26.gem' (>= 0) in any repository
0ERROR:  Possible alternatives: ruby-debug-base19, ruby-debug-base19x

Looks like it doesn't pick rubyforge, any ideas?


回答1:


You need to type gem install ruby-debug-base19 to install the latest version of ruby-debug-base-19.
If you absolutely need to have version 0.11.26, use the v switch, like so:

gem install ruby-debug-base19 -v 0.11.26


来源:https://stackoverflow.com/questions/8935772/ruby-debug-base19-0-11-26-installation-errror

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!