Windows installation configuration Ruby Debug Tools Ruby-debug-base19_ruby Topics

Source: Internet
Author: User
Tags curl

Gems use proxies in two ways:

Mode one:

>>set http_proxy=http://ip_or_host:port 
>>gem Install The_package_name 

Mode two:
>>gem list-p Http://user:passwd@ip_or_host:8080-r 

Install Ruby-debug-base19
There are 2 different ways:
Method One:
download the. gem file first, then install the. gem file directly, which requires compilation, so you need to take the With-ruby-include parameter, which is the Ruby development package

>>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 Linecache19-0.5.13.gem Ruby-debug-base19-0.11.26.gem----with-ruby-include= $rvm _path/src/ruby-1.9.3-p125/  

Method Two:
Download the ruby-debug version of Windows free of compilation.

Finally, use the agent to install Ruby-debug-base19

Copy Code code as follows:

>>gem install ruby-debug-base19-p http://ip_or_host:8080-r----with-ruby-include=d:/ruby-1.9.3-p125/


Gems can also view Remote Installation library packages to distinguish the local installation library
Gem list-r 
gem Install-r gem_package_name 

Configuration in the RubyMine IDE
in RubyMine, if the Ruby interpreter chooses 1.9.3, then the ruby-debug-base19x must be installed when debugging, and no other installation is possible, even if it is ruby-debug-base193, but the installation is often an error. Find the answer on the stackoverflow.com website.

Curl-l "Http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem"-o/tmp/linecache19-0.5.13.gem 
Gem install Linecache19-0.5.13.gem----with-ruby-include=d:\ruby-1.9.3-p125 
gem install ruby-debug-base19x-v 0.11.30.pre10 
gem install ruby-debug-ide-v 0.4.17.BETA14 

If the also reported is wrong, then uninstall all the Ruby-debug-base versions and reinstall them.
In RubyMine, if the Ruby interpreter chooses 1.9.3, then the ruby-debug-base19x must be installed when debugging, and no other installation is possible, even if it is ruby-debug-base193, but the installation is often an error. Find the answer on the stackoverflow.com website.

Curl-l "Http://rubyforge.org/frs/download.php/75414/linecache19-0.5.13.gem"-o/tmp/linecache19-0.5.13.gem 
Gem install Linecache19-0.5.13.gem----with-ruby-include=d:\ruby-1.9.3-p125 
gem install ruby-debug-base19x-v 0.11.30.pre10 
gem install ruby-debug-ide-v 0.4.17.BETA14 

If the also reported is wrong, then uninstall all the Ruby-debug-base versions and reinstall them.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.