项目

一般

简介

Bitnami中如何在不联网的情况下安装下载好的bundle?

0

小 龙
2 个月 之前增加

已知Bitnami中存在redmine_crm 0.0.55,在本地下载好了redmine_crm 0.0.52,如何在不联网的情况下将其成功替换?本地安装应执行的命令是什么?需要对Bitnami中的哪些文件做改动?

redmine_crm_0.0.55的readme文件中有提示安装方法,照着执行即可。

解答 (1)

1

redmineplugins.cn Admin
2 个月 之前增加

  • 先手动下载 redmine_crm-0.0.55.gem
  • gem install -l redmine_crm-0.0.55.gem

应该将下载的包放到哪个文件路径下?

任意临时路径都可以,例如某用户的home里:gem install -l ~/redmine_crm-0.0.55.gem

执行了该命令,但一直出错,redmine_crm是从服务器中拉取的,肯定不存在问题
D:\Bitnami\redmine\apps\redmine\htdocs>gem install -l C:\Users\LENOVO\Desktop\redmine_crm-0.0.52.gem
D:/Bitnami/redmine/ruby/lib/ruby/gems/2.5.0/gems/fiddle-1.0.9/lib/fiddle.rb:67: warning: already initialized constant Fiddle::RTLD_GLOBAL
D:/Bitnami/redmine/ruby/lib/ruby/2.5.0/fiddle.rb:53: warning: previous definition of RTLD_GLOBAL was here
D:/Bitnami/redmine/ruby/lib/ruby/gems/2.5.0/gems/fiddle-1.0.9/lib/fiddle.rb:68: warning: already initialized constant Fiddle::RTLD_LAZY
D:/Bitnami/redmine/ruby/lib/ruby/2.5.0/fiddle.rb:54: warning: previous definition of RTLD_LAZY was here
D:/Bitnami/redmine/ruby/lib/ruby/gems/2.5.0/gems/fiddle-1.0.9/lib/fiddle.rb:69: warning: already initialized constant Fiddle::RTLD_NOW
D:/Bitnami/redmine/ruby/lib/ruby/2.5.0/fiddle.rb:55: warning: previous definition of RTLD_NOW was here
ERROR: Could not find a valid gem 'C:\Users\LENOVO\Desktop\redmine_crm-0.0.52.gem’ (>= 0) in any repository

$ gem install -l ~/Downloads/redmine_crm-0.0.55.gem
Successfully installed redmine_crm-0.0.55
Building YARD (yri) index for redmine_crm-0.0.55...
Done installing documentation for redmine_crm after 0 seconds
1 gem installed

    (1-1/1)