I am trying to install '''sudo gem install soap4r'''
But am facing the below issue..
Successfully installed httpclient-2.2.4
Successfully installed soap4r-1.5.8
2 gems installed
Installing ri documentation for httpclient-2.2.4...
RDoc failure in lib/httpclient.rb at or around line 405 column 16
Before reporting this, could you check that the file
you're documenting compiles cleanly--RDoc is not a
full Ruby parser, and gets confused easily if fed
invalid programs.
The internal error was:
ERROR: While executing gem ... (NoMethodError)
undefined method `name' for #<RubyToken::TkLPAREN:0xb6598024>
Select Tools | Bundler | Install from the main menu. Open the Gemfile, place the caret at any highlighted gem missing in the project SDK and press Alt+Enter . Select Install missing gems using 'bundler' and press Enter .
Since your goal is to verify a gem is installed with the correct version, use gem list . You can limit to the specific gem by using gem list data_mapper . To verify that it's installed and working, you'll have to try to require the gem and then use it in your code.
To install a gem, use gem install [gem] . Browsing installed gems is done with gem list . For more information about the gem command, see below or head to RubyGems' docs. There are other sources of libraries though.
Don't worry about it too much, it only failed trying to install the ri documentation for the gem, but as it states, the gem itself installed successfully. If you don't use ri/Rdoc, you can pass --no-rdoc --no-ri
when running gem install
to skip installing the local documentation, or you can modify your .gemrc
file to make it the default.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With