I’ve recently started to learn ruby on rails and I’m using cloud9 to learn on.
However every new Ruby on Rails workspace I create gives me errors. The workspace itself creates just fine, but whenever I try to run my project (even if I don’t do anything to any file) it just gives me an error:
Warning: PATH set to RVM ruby but GEM_HOME and/or GEM_PATH not set, see:
and a little below that:
/usr/local/rvm/rubies/ruby-2.3.0/lib/ruby/2.3.0/rubygems/dependency.rb:319:in `to_specs’: Could not find ‘railties’ (>= 0.a) among 16 total gem(s) (Gem::LoadError)
but when I type gem list in the terminal railties shows up just fine.
I’m following my course instructions to the letter so I’m a bit confused here as to why it just won’t work…
ps. The link provided in the error msg doesn’t help as I have no clue what ~/.zshrc is or where to find it (even after a google search).
Any help would be appreciated!