尝试安装Openshift Origin。
http://127.0.0.1/console
开始其他信息
注意:问题似乎与我机器上的两个不同版本的rake有关,因为有人建议我运行这些命令**
yum info rubygem-rake
名称:rubygem-rake 版本:0.8.7 发布:2.1.el6 来自repo:rhel-6-server-optional-rpms
yum info ruby193-rubygem-rake
名称:ruby193-rubygem-rake 版本:0.9.2.2 发布:38.el6 来自repo:openshift-origin-deps
结束其他信息
原始问题: 当我进入控制台目录
cd /var/www/openshift/console
bundle --local
我收到了消息:
Your bundle is complete! Use bundle show [gemname] to see where a bundled gem is installed.
该网站声明:
错误讯息: 无法在任何来源中找到rake-10.1.0(Bundler :: GemNotFound) 例外类: PhusionPassenger ::不明错误 应用程序根: 的/ var / WWW / openshift /控制台
# File Line Location
0 /opt/rh/ruby193/root/usr/share/gems/gems/bundler-1.1.4/lib/bundler/spec_set.rb 90 in
阻止实现'
{/ 1}} materialize'中的1 /opt/rh/ruby193/root/usr/share/gems/gems/bundler-1.1.4/lib/bundler/spec_set.rb 83
3 {/ 1}} specs_for'中的/opt/rh/ruby193/root/usr/share/gems/gems/bundler-1.1.4/lib/bundler/definition.rb 127
{/ 1}} requested_specs中的5 /opt/rh/ruby193/root/usr/share/gems/gems/bundler-1.1.4/lib/bundler/definition.rb 161
7 /opt/rh/ruby193/root/usr/share/gems/gems/bundler-1.1.4/lib/bundler/runtime.rb 11 map!'
2 /opt/rh/ruby193/root/usr/share/gems/gems/bundler-1.1.4/lib/bundler/spec_set.rb 83 in
setup'
9 /opt/rh/ruby193/root/usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/utils.rb 326 in specs'
4 /opt/rh/ruby193/root/usr/share/gems/gems/bundler-1.1.4/lib/bundler/definition.rb 172 in
block in initialize_server'
11 /opt/rh/ruby193/root/usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/utils.rb 563 requested_specs'
6 /opt/rh/ruby193/root/usr/share/gems/gems/bundler-1.1.4/lib/bundler/environment.rb 23 in
initialize_server'
13 /opt/rh/ruby193/root/usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_server.rb 204 setup'
8 /opt/rh/ruby193/root/usr/share/gems/gems/bundler-1.1.4/lib/bundler.rb 107 in
start'
15 /opt/rh/ruby193/root/usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/rack/application_spawner.rb在spawn_rack_application'prepare_app_process'
10 /opt/rh/ruby193/root/usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/rack/application_spawner.rb 156 in
块(2级)中129
17 /opt/rh/ruby193/root/usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_server_collection.rb 132 in spawn_rack_application'report_app_init_status'
12 /opt/rh/ruby193/root/usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/rack/application_spawner.rb 154 in
块
19 /opt/rh/ruby193/root/usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_server_collection.rb 82 start_synchronously'
14 /opt/rh/ruby193/root/usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_server.rb 180 in
synchronize'
21 /opt/rh/ruby193/root/usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_server_collection.rb 79 start'
16 /opt/rh/ruby193/root/usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/spawn_manager.rb 253 in
spawn_rack_application'
{/ 1}} handle_spawn_application'中的/ {///ruby193/root/usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/spawn_manager.rb 137
{/ 1}} start_synchronously'中的25 /opt/rh/ruby193/root/usr/share/gems/gems/passenger-3.0.21/lib/phusion_passenger/abstract_server.rb 357
27 /opt/rh/ruby193/root/usr/share/gems/gems/passenger-3.0.21/helper-scripts/passenger-spawn-server 102 in`
答案 0 :(得分:0)
以下是一些提示......我花了很多时间,尝试了许多解决方案。这是我发现的。
ruby --version
显示正确的1.9.3版本,但如果我尝试捆绑安装,则会出现一个冲突的版本1.8.7。所以,我删除了它。gem list
后跟yum list *rubygem*[gemnname]*
以确保我只有一个版本的gem,并且它与ruby193存储库中的版本相匹配。如果我找到了: yum list *rubygem*rdisc*
ruby193-rubygem-rdiscount.x86_64 1.6.8-2.el6_3 @ openshift-origin-deps
gem list rdisc
*本地宝石*
rdiscount(1.7.2,1.6.8)
我会删除1.7.2
gem uninstall rdiscount --version 1.7.2
请勿忘记
每一个之后。