Setup Ruby with Macintosh

http://www.gotealeaf.com/blog/how-to-install-ruby-on-rails-development-environment-for-mac-os-x/

when install rbenv:

echo 'eval "$(rbenv init -)"' >> ~/.bash_profile

if (~/.bashrc) : ‘gem install rails’ not working. why?

when upgrade rubygems:

$ gem update --system
          # may need to be administrator or root

https://rubygems.org/pages/download

when install sublime_text

ln -s "/Applications/Sublime Text 2.app/Contents/SharedSupport/bin/subl" /usr/local/bin/subl

~/bin/subl seems not working. why?

 
0
Kudos
 
0
Kudos

Now read this

Rails prototype Post-It: Lesson 1

This is what I have done on week 1, course 2 of Tealeaf Academy: Database tables - schema view # posts: ‘url’, ‘title’, ‘description’ users: ‘username’ comments: ‘body’ categories: ‘name’ foreign keys (and primary keys) Migration files #... Continue →