corgibytes / ruby_193_docker Goto Github PK
View Code? Open in Web Editor NEWDocker image with latest Ruby 1.9.3 compatible Bundler, RubyGems, etc.
Home Page: https://corgibytes.com/
License: MIT License
Docker image with latest Ruby 1.9.3 compatible Bundler, RubyGems, etc.
Home Page: https://corgibytes.com/
License: MIT License
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
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:
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)>'
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.