WARNING: Unable to pull data from 'http://gems.github.com': bad response Not Found 404 (http://gems.github.io/specs.4.8.gz) - github

I tried install rails 6.0.0 using command
gem install rails --pre
output:
....
WARNING: Unable to pull data from 'http://gems.github.com': bad
response Not Found 404 (http://gems.github.io/specs.4.8.gz) 40 gems
installed
System Configuration:
Mac OSX 10.13.6
ruby 2.6.1p33 (2019-01-30 revision 66950) [x86_64-darwin17]
OpenSSL 1.0.2h 3 May 2016
Since this is the test configuration with rails 6 beta, I like to clear all system warning in order to focus in rails.
Is there any solution to clear the warning?

Here what I did.
Go to my github account and add new gpg (after created new one)
Then no more warning!

Related

I get this error running PMD from salesforce CLI, "ERROR running scanner:run: Attempted to resolve unregistered dependency token: "RuleManager""

Can anyone help me with this. Im using Mac. I cant find the location of the rulemanager. Please see error below
Lxxxxxxx:pmd-bin-6.34.0 xxxxxx$ sfdx scanner:run pmd --target /usr/src --category rulesets/java/quickstart.xml -f sarif
(node:17810) [editions-autoloader-none-broadened] Error Plugin: sfdx-cli: editions-autoloader-none-broadened: Unable to determine a suitable edition, even after broadening.
module: #oclif/config#1.17.0
task: runHook init
plugin: sfdx-cli
root: /Users/xxxxxxx/.local/share/sfdx/client/7.100.0-9d243d8
See more details with DEBUG=*
(Use node --trace-warnings ... to show where the warning was created)
ERROR running scanner:run: Attempted to resolve unregistered dependency token: "RuleManager"
Kieran, this is an issue that we just discovered. It is related to an incompatibility with the version of Node.js that is bundled with the Salesforce CLI and a library that is used by sfdx-scanner.
A temporary workaround can be found at https://github.com/forcedotcom/sfdx-scanner/issues/412
You will need to use the npm installation instead of the pkg installer since you are interested in the Sarif output. Sarif output was added in version 2.6.0. The issue affects versions 2.6.0-2.8.0 when using the pkg installer on a Mac.
We hope to have a fix rolled out in the next couple of days. I will post here when version 2.9 has been released. Sorry for any inconvenience.
Kieran, this issue has been fixed in version 2.9.1. You can upgrade by executing the following commands in your shell.
sfdx plugins:uninstall #salesforce/sfdx-scanner
sfdx plugins:install #salesforce/sfdx-scanner

I am trying to install Vapor on my raspberrypi but getting strange errors

I am running Raspbian and have so far installed Swift 5.1.5 and cloned Vapor Branch 18.0.0 beta 27. I can't seem to get version 5.2 of Swift installed on my system somehow.
Nonetheless, the next step is to build Vapor, but it gives me the following error:
sudo swift build -c release
Updating https://github.com/jpsim/Yams.git
Updating https://github.com/apple/swift-nio.git
Updating https://github.com/vapor/console-kit.git
Updating https://github.com/apple/swift-log.git
Updating https://github.com/tanner0101/mustache.git
https://github.com/apple/swift-nio.git # master: error: terminated(128): git -C /home/pi/Downloads/toolbox/.build/repositories/swift-nio-b68c973e rev-parse --verify 'master^{commit}' output:
fatal: Needed a single revision
Not sure where to go from there, can't find any relevant info online.
Vapor 4 and the new toolbox all require Swift 5.2 - you'll need to get the installed before anything else.
Next that's an old version of the toolbox, you can find the latest release at https://github.com/vapor/toolbox/releases
Finally, the chances are you don't need the toolbox. It's used for creating new projects. If you just want to build or run existing ones, just use the swift commands

go-get cannot download from github

I installed a go and I think it is correct.
$go version
go version go1.15.2 darwin/amd64
$GO111MODULE=on go get -d github.com/XXX#v0.XXX
when I downloaded a gihub repo using go, it showed error:
go: downloading github.com/XXX/XXX v0.XXX
go get github.com/XXX/XXX#v0.XXX: github.com/XXX/XXX#v0.XXX: verifying module: github.com/XXX/XXX#v0.XXX: reading https://sum.golang.org/lookup/github.com/XXX/XXX#v0.XXX: 410 Gone
server response: not found: github.com/XXX/XXX#v0.XXX: invalid version: unknown revision v0.XXX
I do not know much about go language. why the go get does not work? is it because I did not install go correctly or go version is too new?

Installing Cocoapods Error

When I try to install cocoapods I get this error message:
ERROR: Could not find a valid gem 'cocoapods' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - SSL_connect
returned=1 errno=0 state=SSLv2/v3 read server hello A: tlsv1 alert
protocol version (https://rubygems.org/latest_specs.4.8.gz)
I thought I had already downloaded cocoapods but when I check for the version using
pods --version
I get this:
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/dependency.rb:296:in to_specs': Could not find 'cocoapods' (>= 0) among 30 total gem(s) (Gem::LoadError)
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/dependency.rb:307:into_spec'
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_gem.rb:47:in gem'
from /usr/local/bin/pod:22:in'
Any ideas on how to fix it? Thanks in advance and sorry for the formatting.
Figured it out! Just had to update Ruby and it worked. Credit to this post: How to update Ruby Version 2.0.0 to the latest version in Mac OSX Yosemite?

Meteor error reffering 'uglify-js' on deployment to Modulus.IO

I use Modulus.IO to deploy my Meteor app.
When I am on the development environment there is no problem at all, not in the 'meteor' console nor in the browser js console. But when I deploy it to Modulos.IO, this error appears in Modulus:
Error: Can't find npm module 'uglify-js'. Did you forget to call 'Npm.depends' in package.js within the 'minifiers' package?
at Object.Npm.require (/mnt/data/1/programs/server/boot.js:106:17)
at Package (packages/minifiers/minifiers.js:1)
at packages/minifiers.js:307:4
at packages/minifiers.js:317:3
at /mnt/data/1/programs/server/boot.js:155:10
at Array.forEach (native)
at Function._.each._.forEach (/mnt/data/1/node_modules/underscore/underscore.js:79:11)
at /mnt/data/1/programs/server/boot.js:82:5
[2014-05-16T11:48:10.665Z] Application CRASH detected. Exit code 8.
[2014-05-16T11:48:12.326Z] Application restarted.
/mnt/data/1/programs/server/boot.js:186
}).run();
I have no minifiers package installed and no underscore.js as well.
Ok, good news.
That was some error between NPM and Modulus module version.
I've uninstalled NPM, Modulus module and stopped the deploy environment.
Then installed the latest version of NPM and installed the latest version of Modulus module.
Finally, I've made the deploy again and it's everything ok.
Thanks for all the attention.
P.S.: Remember to install Modulus module globally (-g).