Could not find json-1.8.6 in any of the sources Run `bundle install` to install missing gems

时间:2017-08-30 20:43:03

标签: ruby-on-rails json ruby rubygems bundle

When trying to run rails s, I got the above error Could not find json-1.8.6 in any of the sources Run USE Database2 INSERT INTO [dbo].[Inbound] ( InboundMessageId ,[EncryptedMessage] ) SELECT Id ,EncryptedMessage FROM [Database1].[dbo].[Outbound] WHERE Id = 208 DECLARE @Message NVARCHAR(Max) = '' ,@Encrypted VARBINARY(Max) SELECT @Encrypted = EncryptedMessage FROM dbo.Inbound WHERE InboundMessageId = 208 to install missing gems. This is what I've tried so far:

SELECT [dbo].[Fn_DecryptByPassphrase](@Encrypted)

1 个答案:

答案 0 :(得分:1)

此命令修复了此问题:     brew更新; brew安装coreutils 然后我运行了bundle install并正确加载了json。