Chronicling my journey and discoveries in cutting-edge software development. Here, I share practical knowledge and solutions, focusing on Ruby on Rails, Node.js, and JavaScript, alongside explorations into Kubernetes, distributed systems, and latest web technologies.
I got this error while installing Rest client perl module $ HOME=/tmp /home/perl/5.10/bin/cpanm REST::Client ! Finding REST::Client on cpanmetadb failed. ! cannot open file '/tmp/.cpanm/sources/http%www.cpan.org/02packages.details.txt.gz': No such file or directory opening compressed index ! Couldn't find module or a distribution REST::Client Solution: The problem is because of "LWP::Protocol::https" module. Removing the directory worked for me. $ cd /perl_installed_path/perl/5.10/lib/site_perl/5.10.1 $ rm –rf LWP* or try with option "--no-lwp" cpanm REST::Client --no-lwp
Hi, In Rails 3. there was a problem with rake 0.9.0 gemset. When i do rake db:create I got the following error, undefined method `task' for # The fix is as follows, go to config/application.rb file. Add this line inside the class, include Rake::DSL That fixed the problem
Comments
We are using Ruby-2.1.0 and I tried to add two gem sources url, but it is working with single url only.
We've native gems(built) of Slackware OS in https://gemfury/io23232/something.. already defaulf https://rubygems is there in gem sources list
I've added my gem sources..
for example,..
gem install kgio --source https://gemfury/soemthien..
getting error, if i removed default(rubygems.org), the gem will be installed//