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

Solution Unverified - Updated -


  • 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
gem 'sdoc', '~> 0.4.0',          group: :doc

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


  • OpenShift Online

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In