diff --git a/jruby/README.md b/jruby/README.md index 2d9fce82..5c547e6f 100644 --- a/jruby/README.md +++ b/jruby/README.md @@ -40,7 +40,7 @@ You can then build and run the Ruby image: ### Generate a `Gemfile.lock` -The `onbuid` tag expects a `Gemfile.lock` in your app directory. This `docker +The `onbuild` tag expects a `Gemfile.lock` in your app directory. This `docker run` will help you generate one. Run it in the root of your app, next to the `Gemfile`: docker run --rm -v "$PWD":/usr/src/app -w /usr/src/app jruby:1.7 bundle install --system diff --git a/jruby/content.md b/jruby/content.md index ac63d7a9..c8c4c25a 100644 --- a/jruby/content.md +++ b/jruby/content.md @@ -29,7 +29,7 @@ You can then build and run the Ruby image: ### Generate a `Gemfile.lock` -The `onbuid` tag expects a `Gemfile.lock` in your app directory. This `docker +The `onbuild` tag expects a `Gemfile.lock` in your app directory. This `docker run` will help you generate one. Run it in the root of your app, next to the `Gemfile`: docker run --rm -v "$PWD":/usr/src/app -w /usr/src/app jruby:1.7 bundle install --system diff --git a/ruby/README.md b/ruby/README.md index 6bb78af2..10f26a88 100644 --- a/ruby/README.md +++ b/ruby/README.md @@ -42,7 +42,7 @@ You can then build and run the Ruby image: ### Generate a `Gemfile.lock` -The `onbuid` tag expects a `Gemfile.lock` in your app directory. This `docker run` will help you generate one. Run it in the root of your app, next to the `Gemfile`: +The `onbuild` tag expects a `Gemfile.lock` in your app directory. This `docker run` will help you generate one. Run it in the root of your app, next to the `Gemfile`: docker run --rm -v "$PWD":/usr/src/app -w /usr/src/app ruby:2.1 bundle install diff --git a/ruby/content.md b/ruby/content.md index 438ac45b..55db59f1 100644 --- a/ruby/content.md +++ b/ruby/content.md @@ -25,7 +25,7 @@ You can then build and run the Ruby image: ### Generate a `Gemfile.lock` -The `onbuid` tag expects a `Gemfile.lock` in your app directory. This `docker run` will help you generate one. Run it in the root of your app, next to the `Gemfile`: +The `onbuild` tag expects a `Gemfile.lock` in your app directory. This `docker run` will help you generate one. Run it in the root of your app, next to the `Gemfile`: docker run --rm -v "$PWD":/usr/src/app -w /usr/src/app ruby:2.1 bundle install