Rails console not starting (error)

rails

#1

Whenever I try to load rails console I receive the following (lengthy) error message, and the console does not load. Please help!

Running via Spring preloader in process 10426
Loading development environment (Rails 5.0.1)
/usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:287:in load': /home/ubuntu/.irbrc:1: unterminated regexp meets end of file (SyntaxError) from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:287:inblock in load’
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:259:in load_dependency' from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:287:inload’
from /usr/local/rvm/scripts/irbrc.rb:70:in <top (required)>' from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:293:inrequire’
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:293:in block in require' from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:259:inload_dependency’
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:293:in require' from /usr/local/rvm/rubies/ruby-2.3.0/.irbrc:11:in<top (required)>'
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:287:in load' from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:287:inblock in load’
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:259:in load_dependency' from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:287:inload’
from /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/irb/init.rb:231:in run_config' from /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/irb/init.rb:20:insetup’
from /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/irb.rb:378:in start' from /usr/local/rvm/gems/ruby-2.3.0/gems/railties-5.0.1/lib/rails/commands/console.rb:65:instart’
from /usr/local/rvm/gems/ruby-2.3.0/gems/railties-5.0.1/lib/rails/commands/console_helper.rb:9:in start' from /usr/local/rvm/gems/ruby-2.3.0/gems/railties-5.0.1/lib/rails/commands/commands_tasks.rb:78:inconsole’
from /usr/local/rvm/gems/ruby-2.3.0/gems/railties-5.0.1/lib/rails/commands/commands_tasks.rb:49:in run_command!' from /usr/local/rvm/gems/ruby-2.3.0/gems/railties-5.0.1/lib/rails/commands.rb:18:in<top (required)>'
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:293:in require' from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:293:inblock in require’
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:259:in load_dependency' from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:293:inrequire’
from /home/ubuntu/workspace/sample_app/bin/rails:9:in <top (required)>' from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:287:inload’
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:287:in block in load' from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:259:inload_dependency’
from /usr/local/rvm/gems/ruby-2.3.0/gems/activesupport-5.0.1/lib/active_support/dependencies.rb:287:in load' from /usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:inrequire’
from /usr/local/rvm/ru


#2

Can you please post the contents of your Gemfile?

Also the version of Ruby your workspace is running (ruby --version).