找不到 data_warehouse ruby gem
我正在开发一个项目,我正在尝试在我的本地计算机上构建并运行它。但不幸的是,该应用程序正在使用gem data_warehouse(在environment.rb中找到gem'data_warehouse','= 1.5.2'),我尝试查找此gem但找不到此gem,我无法运行该应用程序因为这。我也从未在 ruby on Rails 中使用过数据仓库。我对数据仓库这个概念略有了解。如果有人知道这个 gem,请发布这个 gem 的 url 或避免此问题的替代解决方案。
I am working on a project and i was trying make it up and running in my local machine. But unfortunately the app is using a gem data_warehouse( found gem 'data_warehouse', '= 1.5.2' in environment.rb), I tried to look for this gem but can't find this gem, I was unable to run the application because of this. I never used data warehousing in ruby on rails either. I am slightly aware of the concept data warehousing. If any one aware of this gem please post the url for this gem or an alternate solution for avoiding this problem.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我也不能。现在,假设您有一台找到此 gem 的生产计算机:
您可以使用以下命令查看已安装的 gem:
转到生产计算机并运行
在那里,您应该看到类似的内容
在本地计算机上运行相同的命令后,您可以使用以下命令添加缺少的远程源,
然后尝试安装你的 gem。
如果这不起作用,您也可以尝试猴子补丁。 运行
在您的生产服务器上 。之后,您将能够在 /vendor/gems 文件夹中找到您的 gem。将该文件夹复制到本地供应商文件夹中,它应该可以工作。
顺便说一句,因为这可能只是一个拼写错误:您是否尝试过注释配置文件中的行?
Neither can I. Now, assuming that you have a production machine where this gem is found:
You can see the installed gems with:
Go to production machine and run
There, you should see something like
After running the same command on your local computer, you can add the missing remote sources with:
and then try to install your gem.
If this doesn't work, you could also try a monkey-patch. Run
on your production server. After this, you will be able to find your gem in the /vendor/gems folder. Copy the folder into your local vendor folder and it should work.
Btw, as it could just be a typo: have you tried commenting the line in the config file?