ruby - Openshift rails app open4 (LoadError) -
i getting following error when trying deploy openshift online (small gear):
remote: /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:60:in require': cannot load such file -- open4 (loaderror) remote: /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:60:in
rescue in require' remote: /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:35:in require' remote: /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.30.5/lib/openshift-origin-node/utils/shell_exec.rb:19:in
' remote: /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:55:in require' remote: /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:55:in
require' remote: /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.30.5/lib/openshift-origin-node/model/frontend_proxy.rb:18:in <top (required)>' remote: /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:55:in
require' remote: /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:55:in require' remote: /opt/rh/ruby193/root/usr/share/gems/gems/openshift-origin-node-1.30.5/lib/openshift-origin-node/model/application_container.rb:18:in
' remote: /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:60:in require' remote: /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:60:in
rescue in require' remote: /opt/rh/ruby193/root/usr/share/rubygems/rubygems/custom_require.rb:35:in require' remote: /usr/bin/gear:21:in
' ssh://5410444f5973ca809a000005@wikipin-nopressurelabs.rhcloud.com/~/git/wikipin.git/ ! [remote rejected] openshift -> master (pre-receive hook declined)
i have tried to:
rhc env set bundle_without=development -a wikipin
but without success. other idea? not understand why if app on ruby 2.0 see ruby193 in errors.. suspect linked active record 4.0 haven't been able troubleshoot it.
gemfile:
source 'http://mirror1.prod.rhcloud.com/mirror/ruby/' #source 'https://rubygems.org' gem 'rails', '4.1.4' gem 'rails-api' gem 'open4' # have added see if error resolved.. gem 'spring', :group => :development gem 'pg' gem 'rgeo-activerecord', :git => 'https://github.com/nopressurelabs/rgeo-activerecord', :branch => 'master' gem 'activerecord-postgis-adapter' # serializer json gem 'active_model_serializers'
rhc app show
domain: nopressurelabs created: sep 10 2:30 pm gears: 1 (defaults small) git url: ssh://########################@wikipin-nopressurelabs.rhcloud.com/~/git/wikipin.git/ initial git url: git://github.com/hiromipaw/wikipin.git ssh: ##############################@wikipin-nopressurelabs.rhcloud.com deployment: auto (on git push) ruby-2.0 (ruby 2.0) ------------------- gears: located jenkins-client-1, postgresql-9.2 jenkins-client-1 (jenkins client) --------------------------------- gears: located ruby-2.0, postgresql-9.2 job url: https://jenkins-nopressurelabs.rhcloud.com/job/wikipin-build/ postgresql-9.2 (postgresql 9.2) ------------------------------- gears: located ruby-2.0, jenkins-client-1 connection url: postgresql://$openshift_postgresql_db_host:$openshift_postgresql_db_port database name: wikipin password: ############ username: ############
Comments
Post a Comment