Unable to access the rails console in a ruby 2.0 application on OpenShift

Solution Unverified - Updated -

Issue

  • When attempting to access the rails console within a ruby 2.0 & rails 4 application, the following errors are seen:
Gemfile syntax error:
/var/lib/openshift/54aaf5825973ca0042000061/app-root/runtime/repo/Gemfile:52: syntax error, unexpected ':', expecting
$end
gem 'sdoc', '~> 0.4.0',          group: :doc
                                       ^
OR

bundler: command not found: rails
Install missing gem executables with `bundle install`

Environment

  • OpenShift Online

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content