README.md Ruby Enterprise Edition • It's based upon a trusted build. • This build is in-turn based upon the phusion-baseimage 0.9.9 image • The additional apt-packages are the same as those present on the buildpacks:jessie repo, to give us a fighting changce of installing gems. Download Ruby 1.8.7 (patchlevel 370) Code![]() Download Ruby 1.8.7Cool, but what's it for? Some of our older apps are currently in production on REE. This is the first step to getting them onto a densely-utilised fleet of docker hosts. Add the following Dockerfile in the root of any legacy project to get started. The next steps will be about serving traffic (via unicorn, etc) and logging to STDOUT / STDERR. Installing Ruby 1.8.7 (and other stuff) manually. Did you know you can download the 1.8.7 Windows binary from the. MultiClassing and Gaining Abilities on Level up. The easy way to install Ruby on Windows This is a self-contained Windows-based installer that includes the Ruby language, an execution environment, important. FROM everydayhero/ruby-ree MAINTAINER Dan Sowter '[email protected]' RUN mkdir -p /usr/src/app WORKDIR /usr/src/app ADD Gemfile /usr/src/app/ ADD Gemfile.lock /usr/src/app/ RUN bundle install ADD. /usr/src/app CMD ['/bin/bash'] Using this image just for deploys (via capistrano)? Don't forget to give the container access to your host's SSH agent. I have successfully installed Ruby 1.8.7 on Ubuntu 14.04 by downloading the package, building locally and installing. The command ruby -v, outputs Ruby 1.8.7 (2012-02-08 patchlevel 358) [i686-Linux] as expected, this is the same output on another server running Ubuntu 12.04 where my application is working as expected. The output of which ruby is /usr/local/bin/ruby on Ubuntu 14.04 and /usr/bin/ruby on Ubuntu 12.04. This gives me the impression that Ruby 1.8 (which is what my application needs) is installed. However, when I try to install the rails gem: gem install rails (logged in as root; I also installed ruby as root), I get the following error: The program 'gem' can be found in the following packages: * ruby * rubygems Try: apt-get install While running apt-get install ruby will fix this, it will install ruby 1.9.x which is not the version I need. Even with the new name, there are no technical differences from USB 3.0, and so the terms can be used synonymously. I already have the required version installed as stated above. Running apt-get install ruby1.8 which will work on Ubuntu 12.04, throws up an error on 14.04 because ruby1.8 is a bit outdated and has been removed from the official ubuntu 14.04 repositories, but my application is yet to be ported to the newer ruby versions. So the question is, how do I install rubygems, specifically version 1.3.7 manually? Please don't suggest adding the Ubuntu 12.04 repositories back to 14.04, that's a terrible solution and can break the system moving forward. I also don't want to use RVM to accomplish this. I will prefer to manually configure the system to execute the gem commands under the currently installed 1.8 version located at /usr/local/bin/ruby. Any help is appreciated.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2018
Categories |