0

gemfile here I'm new to coding and having trouble connecting to the rails server on cloud 9. I keep getting this error message, How do I resolve this issue? ] !] There was an error parsing Gemfile: Undefined local variable or method `resource' for Gemfile. Bundler cannot continue.

# from /home/ubuntu/workspace/blog/Gemfile:1 # -------------------------------------------

resource 'https://rubygems.org'

jalesi02
  • 11
  • 1

1 Answers1

0

In your Gemfile, instead of:

resource 'https://rubygems.org'

It should be:

source 'https://rubygems.org'
HashRocket
  • 778
  • 1
  • 5
  • 15