Giter Club home page Giter Club logo

ruby_193_docker's People

Contributors

mrbiggred avatar mscottford avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

sinourain

ruby_193_docker's Issues

SSL Certificates Need to be Updated

The SSL Certificates on the current v1.0.1 image are outdated. When connecting to some sites the following error is raised:

SSL_connect returned=1 errno=0 state=unknown state: certificate verify failed (OpenSSL::SSL::SSLError)

As a workaround to fix with v1.0.1 image or earlier run:

apt-get install ca-certificates

Failed to fetch Jessie Updates When Building

When building the container the following error message is displayed:

Step 2/5 : RUN apt-get update -qq && apt-get install -y build-essential
 ---> Running in 2dee8a7c01d9
W: Failed to fetch http://http.debian.net/debian/dists/jessie-updates/InRelease  Unable to find expected entry 'main/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.

It appears that Debian has moved some of it's packages to it's archive. A possible fix:

RUN sed -i '/jessie-updates/d' /etc/apt/sources.list  # Now archived
RUN apt-get update

Taken from:

https://stackoverflow.com/questions/55361762/apt-get-update-fails-with-404-in-a-previously-working-build

Failed to load rake

Hello,

I just found this docker image and I'm trying to ruby a Rails 3.2.17 project.

When I execute bundle exec rake db:setup I'm getting the following error:

root@88190767a97d:/app# bundle exec rake db:setup
bundler: failed to load command: rake (/usr/local/bundle/bin/rake)
SyntaxError: /usr/local/bundle/gems/json-2.3.0/lib/json/common.rb:156: syntax error, unexpected tPOW, expecting ')'
    Parser.new(source, **(opts||{})).parse
                         ^
/usr/local/bundle/gems/json-2.3.0/lib/json/common.rb:156: syntax error, unexpected ')', expecting keyword_end
    Parser.new(source, **(opts||{})).parse
                                    ^
/usr/local/bundle/gems/json-2.3.0/lib/json/common.rb:179: syntax error, unexpected tPOW, expecting ')'
    Parser.new(source, **(opts||{})).parse
                         ^
/usr/local/bundle/gems/json-2.3.0/lib/json/common.rb:179: syntax error, unexpected ')', expecting keyword_end
    Parser.new(source, **(opts||{})).parse
                                    ^
  /usr/local/bundle/gems/json-2.3.0/lib/json.rb:2:in `require'
  /usr/local/bundle/gems/json-2.3.0/lib/json.rb:2:in `<top (required)>'
  /usr/local/bundle/gems/honeybadger-2.7.2/lib/honeybadger/util/http.rb:3:in `require'
  /usr/local/bundle/gems/honeybadger-2.7.2/lib/honeybadger/util/http.rb:3:in `<top (required)>'
  /usr/local/bundle/gems/honeybadger-2.7.2/lib/honeybadger/config.rb:11:in `require'
  /usr/local/bundle/gems/honeybadger-2.7.2/lib/honeybadger/config.rb:11:in `<top (required)>'
  /usr/local/bundle/gems/honeybadger-2.7.2/lib/honeybadger/agent.rb:4:in `require'
  /usr/local/bundle/gems/honeybadger-2.7.2/lib/honeybadger/agent.rb:4:in `<top (required)>'
  /usr/local/bundle/gems/honeybadger-2.7.2/lib/honeybadger.rb:79:in `notify'
  /usr/local/bundle/gems/honeybadger-2.7.2/lib/honeybadger/init/rake.rb:13:in `display_error_message_with_honeybadger'
  /usr/local/bundle/gems/rake-12.2.1/lib/rake/application.rb:195:in `rescue in standard_exception_handling'
  /usr/local/bundle/gems/rake-12.2.1/lib/rake/application.rb:186:in `standard_exception_handling'
  /usr/local/bundle/gems/rake-12.2.1/lib/rake/application.rb:80:in `run'
  /usr/local/bundle/gems/rake-12.2.1/exe/rake:27:in `<top (required)>'
  /usr/local/bundle/bin/rake:23:in `load'
  /usr/local/bundle/bin/rake:23:in `<top (required)>'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.