How to use pry with foreman

Im having trouble getting pry to run with foreman. Not sure if I've gone
about it the right way, here was my steps:
gem install pry
gem install pry-remote

cp -a /usr/local/share/gems/gems/pry-0.10.1 /opt/rh/ruby193/root/usr/share/
gems/gems/ (not sure if this step is needed)
cp -a /usr/local/share/gems/gems/pry-remote-0.1.8 /opt/rh/ruby193/root/usr/
share/gems/gems/ (not sure if this step is needed)

Add the following lines to /usr/share/foreman/Gemfile.in
gem 'pry'
gem 'pry-remote'

Add the following line to /usr/share/foreman/config/application.rb
require 'pry'

Add a line to trigger pry
(/usr/share/foreman/app/models/concerns/fog_extensions/vsphere/server.rb)
binding.pry

But after restarting foreman (touch /usr/share/foreman/tmp/restart.txt) I
get :
Web application could not be started

No such file to load – pry (LoadError)

The ruby load path looks like:

Ruby load path ($LOAD_PATH)

/usr/share/foreman/lib
/usr/share/foreman/app/controllers/concerns
/usr/share/foreman/app/models/concerns
/usr/share/foreman/app/services
/usr/share/foreman/app/observers
/usr/share/foreman/app/mailers
/usr/share/foreman/app/models/auth_sources
/usr/share/foreman/app/models/compute_resources
/usr/share/foreman/app/models/operatingsystems
/usr/share/foreman/app/models/parameters
/usr/share/foreman/app/models/trends
/usr/share/foreman/app/models/taxonomies
/usr/share/foreman/app/controllers
/usr/share/foreman/app/helpers
/usr/share/foreman/app/models
/usr/share/foreman/app/validators
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_gutterball-0.0.1/lib
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_gutterball-0.0.1/app/controllers
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_gutterball-0.0.1/app/lib
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_gutterball-0.0.1/app/services
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.3.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.3.0/vendor
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.3.0/app/assets
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.3.0/app/controllers
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.3.0/app/helpers
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.3.0/app/lib
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.3.0/app/mailers
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.3.0/app/models
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.3.0/app/presenters
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.3.0/app/services
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.3.0/engines/bastion_katello/lib
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.3.0/engines/bastion_katello/app/assets
/opt/rh/ruby193/root/usr/share/gems/gems/jquery-ui-rails-4.1.2/lib
/opt/rh/ruby193/root/usr/share/gems/gems/jquery-ui-rails-4.1.2/app/assets
/opt/rh/ruby193/root/usr/share/gems/gems/bastion-0.3.1/lib
/opt/rh/ruby193/root/usr/share/gems/gems/bastion-0.3.1/vendor
/opt/rh/ruby193/root/usr/share/gems/gems/bastion-0.3.1/app/assets
/opt/rh/ruby193/root/usr/share/gems/gems/bastion-0.3.1/app/controllers
/opt/rh/ruby193/root/usr/share/gems/gems/angular-rails-templates-0.1.2/lib
/opt/rh/ruby193/root/usr/share/gems/gems/angular-rails-templates-0.1.2/vendor
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_hooks-0.3.7/lib
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/lib
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/app/assets
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/app/controllers
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/app/helpers
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/app/lib
/opt/rh/ruby193/root/usr/share/gems/gems/foreman-tasks-0.6.13/app/models
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_bootdisk-5.0.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_bootdisk-5.0.0/app/controllers/concerns
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_bootdisk-5.0.0/app/helpers/concerns
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_bootdisk-5.0.0/app/models/concerns
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_bootdisk-5.0.0/app/controllers
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_bootdisk-5.0.0/app/helpers
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_bootdisk-5.0.0/app/models
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_bootdisk-5.0.0/app/services
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_docker-1.2.4/lib
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_docker-1.2.4/app/controllers/concerns
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_docker-1.2.4/app/models/concerns
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_docker-1.2.4/app/assets
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_docker-1.2.4/app/controllers
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_docker-1.2.4/app/helpers
/opt/rh/ruby193/root/usr/share/gems/gems/foreman_docker-1.2.4/app/models
/opt/rh/ruby193/root/usr/share/gems/gems/wicked-1.1.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/wicked-1.1.0/app/controllers
/opt/rh/ruby193/root/usr/share/gems/gems/turbolinks-2.5.3/lib
/opt/rh/ruby193/root/usr/share/gems/gems/secure_headers-1.4.1/lib
/opt/rh/ruby193/root/usr/share/gems/gems/secure_headers-1.4.1/app/controllers
/opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.2.6/lib
/opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.2.6/app/controllers
/opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.2.6/app/helpers
/opt/rh/ruby193/root/usr/share/gems/gems/apipie-rails-0.2.6/app/public
/opt/rh/ruby193/root/usr/share/gems/gems/scoped_search-2.7.1/lib
/opt/rh/ruby193/root/usr/share/gems/gems/scoped_search-2.7.1/app/assets
/opt/rh/ruby193/root/usr/share/gems/gems/sshkey-1.6.0/lib
/usr/share/gems/gems/passenger-4.0.18/lib
/opt/rh/ruby193/root/usr/share/gems/gems/rake-0.9.2.2/lib
/opt/rh/ruby193/root/usr/share/gems/gems/rack-1.4.1/lib
/opt/rh/ruby193/root/usr/share/gems/gems/passenger-4.0.18/lib
/opt/rh/ruby193/root/usr/lib64/gems/exts/passenger-4.0.18/lib
/opt/rh/ruby193/root/usr/share/gems/gems/json-1.5.5/lib
/opt/rh/ruby193/root/usr/lib64/gems/exts/json-1.5.5/lib
/opt/rh/ruby193/root/usr/share/gems/gems/rack-ssl-1.3.2/lib
/opt/rh/ruby193/root/usr/share/gems/gems/thor-0.18.1/lib
/opt/rh/ruby193/root/usr/share/gems/gems/rdoc-3.9.5/lib
/opt/rh/ruby193/root/usr/share/gems/gems/bigdecimal-1.1.0/lib
/opt/rh/ruby193/root/usr/lib64/gems/exts/bigdecimal-1.1.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/i18n-0.6.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/multi_json-1.10.1/lib
/opt/rh/ruby193/root/usr/share/gems/gems/activesupport-3.2.8/lib
/opt/rh/ruby193/root/usr/share/gems/gems/builder-3.0.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/activemodel-3.2.8/lib
/opt/rh/ruby193/root/usr/share/gems/gems/rack-cache-1.2/lib
/opt/rh/ruby193/root/usr/share/gems/gems/rack-test-0.6.1/lib
/opt/rh/ruby193/root/usr/share/gems/gems/journey-1.0.4/lib
/opt/rh/ruby193/root/usr/share/gems/gems/hike-1.2.1/lib
/opt/rh/ruby193/root/usr/share/gems/gems/tilt-1.3.3/lib
/opt/rh/ruby193/root/usr/share/gems/gems/sprockets-2.12.3/lib
/opt/rh/ruby193/root/usr/share/gems/gems/erubis-2.7.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib
/opt/rh/ruby193/root/usr/share/gems/gems/railties-3.2.8/lib
/opt/rh/ruby193/root/usr/share/gems/gems/arel-3.0.2/lib
/opt/rh/ruby193/root/usr/share/gems/gems/tzinfo-0.3.33/lib
/opt/rh/ruby193/root/usr/share/gems/gems/activerecord-3.2.8/lib
/opt/rh/ruby193/root/usr/share/gems/gems/mime-types-1.19/lib
/opt/rh/ruby193/root/usr/share/gems/gems/polyglot-0.3.3/lib
/opt/rh/ruby193/root/usr/share/gems/gems/treetop-1.4.10/lib
/opt/rh/ruby193/root/usr/share/gems/gems/mail-2.4.4/lib
/opt/rh/ruby193/root/usr/share/gems/gems/actionmailer-3.2.8/lib
/opt/rh/ruby193/root/usr/share/gems/gems/activeresource-3.2.8/lib
/opt/rh/ruby193/root/usr/share/gems/gems/bundler-1.3.5/lib
/opt/rh/ruby193/root/usr/share/gems/gems/bundler_ext-0.3.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/rest-client-1.6.7/lib
/opt/rh/ruby193/root/usr/share/gems/gems/audited-3.0.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/audited-activerecord-3.0.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/will_paginate-3.0.2/lib
/opt/rh/ruby193/root/usr/share/gems/gems/ancestry-2.0.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/net-ldap-0.10.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/ldap_fluff-0.3.4/lib
/opt/rh/ruby193/root/usr/share/gems/gems/rabl-0.11.4/lib
/opt/rh/ruby193/root/usr/share/gems/gems/oauth-0.4.7/lib
/opt/rh/ruby193/root/usr/share/gems/gems/deep_cloneable-2.0.2/lib
/opt/rh/ruby193/root/usr/share/gems/gems/foreigner-1.7.1/lib
/opt/rh/ruby193/root/usr/share/gems/gems/hpricot-0.8.6/lib
/opt/rh/ruby193/root/usr/lib64/gems/exts/hpricot-0.8.6/lib
/opt/rh/ruby193/root/usr/share/gems/gems/validates_lengths_from_database-0.4.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/friendly_id-4.0.10.1/lib
/opt/rh/ruby193/root/usr/share/gems/gems/sexp_processor-4.4.4/lib
/opt/rh/ruby193/root/usr/share/gems/gems/ruby_parser-3.6.3/lib
/opt/rh/ruby193/root/usr/share/gems/gems/ruby2ruby-2.1.3/lib
/opt/rh/ruby193/root/usr/share/gems/gems/safemode-1.2.2/lib
/opt/rh/ruby193/root/usr/share/gems/gems/fast_gettext-0.9.2/lib
/opt/rh/ruby193/root/usr/share/gems/gems/gettext_i18n_rails-1.2.1/lib
/opt/rh/ruby193/root/usr/share/gems/gems/coffee-script-source-1.3.3/lib
/opt/rh/ruby193/root/usr/share/gems/gems/execjs-1.4.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/coffee-script-2.2.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/coffee-rails-3.2.2/lib
/opt/rh/ruby193/root/usr/share/gems/gems/excon-0.43.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/formatador-0.2.1/lib
/opt/rh/ruby193/root/usr/share/gems/gems/net-ssh-2.6.7/lib
/opt/rh/ruby193/root/usr/share/gems/gems/net-scp-1.1.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/fog-core-1.29.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/addressable-2.3.6/lib
/opt/rh/ruby193/root/usr/share/gems/gems/multipart-post-1.2.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/faraday-0.9.1/lib
/opt/rh/ruby193/root/usr/share/gems/gems/jwt-1.2.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/extlib-0.9.16/lib
/opt/rh/ruby193/root/usr/share/gems/gems/signet-0.6.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/autoparse-0.3.3/lib
/opt/rh/ruby193/root/usr/share/gems/gems/launchy-2.4.3/lib
/opt/rh/ruby193/root/usr/share/gems/gems/retriable-1.4.1/lib
/opt/rh/ruby193/root/usr/share/gems/gems/google-api-client-0.8.2/lib
/opt/rh/ruby193/root/usr/share/gems/gems/nokogiri-1.5.11/lib
/opt/rh/ruby193/root/usr/lib64/gems/exts/nokogiri-1.5.11/lib
/opt/rh/ruby193/root/usr/share/gems/gems/rbovirt-0.0.35/lib
/opt/rh/ruby193/root/usr/share/gems/gems/ruby-libvirt-0.5.2/lib
/opt/rh/ruby193/root/usr/lib64/gems/exts/ruby-libvirt-0.5.2/lib
/opt/rh/ruby193/root/usr/share/gems/gems/archive-tar-minitar-0.5.2/lib
/opt/rh/ruby193/root/usr/share/gems/gems/docker-api-1.17.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/rails-3.2.8/lib
/opt/rh/ruby193/root/usr/share/gems/gems/fog-json-1.0.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/fog-xml-0.1.1/lib
/opt/rh/ruby193/root/usr/share/gems/gems/ipaddress-0.8.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/fog-aws-0.1.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/fog-1.28.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/trollop-2.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/rbvmomi-1.8.2/lib
/opt/rh/ruby193/root/usr/share/gems/gems/apipie-params-0.0.3/lib
/opt/rh/ruby193/root/usr/share/gems/gems/algebrick-0.4.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/dynflow-0.7.7/lib
/opt/rh/ruby193/root/usr/share/gems/gems/sequel-4.20.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/rack-protection-1.2.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/sinatra-1.3.2/lib
/opt/rh/ruby193/root/usr/share/gems/gems/daemons-1.2.1/lib
/opt/rh/ruby193/root/usr/share/gems/gems/haml-4.0.6/lib
/opt/rh/ruby193/root/usr/share/gems/gems/hashr-0.0.22/lib
/opt/rh/ruby193/root/usr/share/gems/gems/ansi-1.4.3/lib
/opt/rh/ruby193/root/usr/share/gems/gems/tire-0.6.2/lib
/opt/rh/ruby193/root/usr/share/gems/gems/little-plugger-1.1.3/lib
/opt/rh/ruby193/root/usr/share/gems/gems/logging-1.8.1/lib
/opt/rh/ruby193/root/usr/share/gems/gems/hooks-0.2.2/lib
/opt/rh/ruby193/root/usr/share/gems/gems/justified-0.0.4/lib
/opt/rh/ruby193/root/usr/share/gems/gems/strong_parameters-0.2.1/lib
/opt/rh/ruby193/root/usr/share/gems/gems/qpid_messaging-0.30.0/lib
/opt/rh/ruby193/root/usr/lib64/gems/exts/qpid_messaging-0.30.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/i18n_data-0.2.7/lib
/opt/rh/ruby193/root/usr/share/gems/gems/runcible-1.3.3/lib
/opt/rh/ruby193/root/usr/share/gems/gems/robotex-1.0.0/lib
/opt/rh/ruby193/root/usr/share/gems/gems/anemone-0.7.2/lib
/opt/rh/ruby193/root/usr/share/gems/gems/haml-rails-0.4/lib
/opt/rh/ruby193/root/usr/share/gems/gems/deface-0.7.2/lib
/opt/rh/ruby193/root/usr/share/gems/gems/pg-0.12.2/lib
/opt/rh/ruby193/root/usr/lib64/gems/exts/pg-0.12.2/lib
/opt/rh/ruby193/root/usr/local/share/ruby/site_ruby
/opt/rh/ruby193/root/usr/local/lib64/ruby/site_ruby
/opt/rh/ruby193/root/usr/share/ruby/vendor_ruby
/opt/rh/ruby193/root/usr/lib64/ruby/vendor_ruby
/opt/rh/ruby193/root/usr/share/rubygems
/opt/rh/ruby193/root/usr/share/ruby
/opt/rh/ruby193/root/usr/lib64/ruby
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/vendor/html-scanner

Any tips on using pry with foreman?

I've tried using:
scl enable ruby193 'gem install pry-remote'

To install pry-remote (and pry) but I keep getting this error:
ERROR: While executing gem … (Zlib::GzipFile::Error)
not in gzip format

Google indicates this is normally your workplace blocking rubygems.org?

This is how you should install the gem, moving stuff around like in your
other e-mail is probably not going to work to make the gem work in the
SCL environment.

But in general, if you want to use pry, you're doing development work
and you're better off doing it in a dev environment.

··· On Wed, Apr 22, 2015 at 12:19:39PM -0700, Francois Herbert wrote: > I've tried using: > scl enable ruby193 'gem install pry-remote' > > To install pry-remote (and pry) but I keep getting this error: > ERROR: While executing gem ... (Zlib::GzipFile::Error) > not in gzip format >


Best Regards,

Stephen Benjamin
Red Hat Engineering

pretty sure ruby gems.org isn’t blocked, I can perform the same command outside the scl environment fine:

gem install pry-remote
Successfully installed pry-remote-0.1.8
Parsing documentation for pry-remote-0.1.8
1 gem installed

··· On 23/04/2015, at 7:56 am, Stephen Benjamin wrote:

On Wed, Apr 22, 2015 at 12:19:39PM -0700, Francois Herbert wrote:

I’ve tried using:
scl enable ruby193 ‘gem install pry-remote’

To install pry-remote (and pry) but I keep getting this error:
ERROR: While executing gem … (Zlib::GzipFile::Error)
not in gzip format

Google indicates this is normally your workplace blocking rubygems.org?

This is how you should install the gem, moving stuff around like in your
other e-mail is probably not going to work to make the gem work in the
SCL environment.

But in general, if you want to use pry, you’re doing development work
and you’re better off doing it in a dev environment.


Best Regards,

Stephen Benjamin
Red Hat Engineering


You received this message because you are subscribed to a topic in the Google Groups “foreman-dev” group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/foreman-dev/oLyjl8YNv2A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to foreman-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi,

Gem downloads from different sites depending on the version. The gem
version for ruby 1.8.7 only requires access to http://rubygems.org. Later
versions of gem will require access to more sites on https. I sugest you
run:

scl enable ruby193 'gem install --debug pry-remote'

find the url it tries to access and then use "curl -I <url>" to find where
all the redirects go and what your proxy respond with.

Regards
Rickard von Essen

PS. It looks like our proxy responds with 2XX when denying access, if that
is the case that is a really broken config.

··· On Wed, Apr 22, 2015 at 9:59 PM, Francois Herbert wrote:

pretty sure ruby gems.org isn’t blocked, I can perform the same command
outside the scl environment fine:

gem install pry-remote
Successfully installed pry-remote-0.1.8
Parsing documentation for pry-remote-0.1.8
1 gem installed

On 23/04/2015, at 7:56 am, Stephen Benjamin stephen@redhat.com wrote:

On Wed, Apr 22, 2015 at 12:19:39PM -0700, Francois Herbert wrote:

I’ve tried using:
scl enable ruby193 ‘gem install pry-remote’

To install pry-remote (and pry) but I keep getting this error:
ERROR: While executing gem … (Zlib::GzipFile::Error)
not in gzip format

Google indicates this is normally your workplace blocking rubygems.org?

This is how you should install the gem, moving stuff around like in your
other e-mail is probably not going to work to make the gem work in the
SCL environment.

But in general, if you want to use pry, you’re doing development work
and you’re better off doing it in a dev environment.


Best Regards,

Stephen Benjamin
Red Hat Engineering


You received this message because you are subscribed to a topic in the
Google Groups “foreman-dev” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/foreman-dev/oLyjl8YNv2A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
foreman-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


You received this message because you are subscribed to the Google Groups
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Turns out I needed to run sudo within the scl env, so this was the command
to get it working:

scl enable ruby193 'sudo gem install pry-remote'

··· On Thursday, April 23, 2015 at 6:29:50 PM UTC+12, Rickard von Essen wrote: > > Hi, > > Gem downloads from different sites depending on the version. The gem > version for ruby 1.8.7 only requires access to http://rubygems.org. Later > versions of gem will require access to more sites on https. I sugest you > run: > > scl enable ruby193 'gem install --debug pry-remote' > > find the url it tries to access and then use "curl -I " to find where > all the redirects go and what your proxy respond with. > > Regards > Rickard von Essen > > PS. It looks like our proxy responds with 2XX when denying access, if that > is the case that is a really broken config. > > On Wed, Apr 22, 2015 at 9:59 PM, Francois Herbert > wrote: > >> pretty sure ruby gems.org isn’t blocked, I can perform the same command >> outside the scl environment fine: >> >> gem install pry-remote >> Successfully installed pry-remote-0.1.8 >> Parsing documentation for pry-remote-0.1.8 >> 1 gem installed >> >> On 23/04/2015, at 7:56 am, Stephen Benjamin > > wrote: >> >> > On Wed, Apr 22, 2015 at 12:19:39PM -0700, Francois Herbert wrote: >> >> I've tried using: >> >> scl enable ruby193 'gem install pry-remote' >> >> >> >> To install pry-remote (and pry) but I keep getting this error: >> >> ERROR: While executing gem ... (Zlib::GzipFile::Error) >> >> not in gzip format >> >> >> > >> > Google indicates this is normally your workplace blocking rubygems.org? >> > >> > This is how you should install the gem, moving stuff around like in your >> > other e-mail is probably not going to work to make the gem work in the >> > SCL environment. >> > >> > But in general, if you want to use pry, you're doing development work >> > and you're better off doing it in a dev environment. >> > >> > >> > >> > -- >> > Best Regards, >> > >> > Stephen Benjamin >> > Red Hat Engineering >> > >> > -- >> > You received this message because you are subscribed to a topic in the >> Google Groups "foreman-dev" group. >> > To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/foreman-dev/oLyjl8YNv2A/unsubscribe. >> > To unsubscribe from this group and all its topics, send an email to >> foreman-dev...@googlegroups.com . >> > For more options, visit https://groups.google.com/d/optout. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "foreman-dev" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to foreman-dev...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > >