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, datepicker

= form_for @task do |f| = f.datetime_field :done_at = f.text_field I thought because done_at should be saved as DateTime, the field should be datetime_field. But text_field works fine. On top of that, for some browsers (Firefox, I can... Continue →