Restarting Rails for terminal session -
i doing ruby on rails tutorial martl , closed terminal on mac. had reached chapter 10 without problem. when opened terminal nothing working. when run bundle install following error message:
/library/ruby/site/1.8/rubygems/dependency.rb:247:in to_specs': not find bundler (>= 0) amongst [rake-0.8.7, rake-0.8.7] (gem::loaderror) /library/ruby/site/1.8/rubygems/dependency.rb:256:in
to_spec' /library/ruby/site/1.8/rubygems.rb:1182:in `gem' /usr/bin/bundle:18
how terminal was?
sounds rvm environment not being loaded when restart terminal. ruby on rails tutorial glosses on rvm installation rather , thats why step gets missed.
check out rvm installation guide here in particular section 2 describes how ensure rvm commands go .bash_profile.
let me know if need further help.
Comments
Post a Comment