0
所以我安裝了rails,Lion和pow服務器與MAMP一起運行rvm。一切都工作得不錯,直到我打開一個新的rails new project -d mysql
Rails中的新項目(1.9.3 | 3.2.0) - 一堆錯誤
當我打開索引頁的索引頁,然後點擊「關於環境」,我得到這個:
SyntaxError: /Users/hb/Projects/mon/config/initializers/session_store.rb:3: syntax error, unexpected ':', expecting $end
...sion_store :cookie_store, key: '_mon_session'
^
/Library/Ruby/Gems/1.8/gems/activesupport- 3.2.0/lib/active_support/dependencies.rb:245:in `load'
/Library/Ruby/Gems/1.8/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:245:in `load'
/Library/Ruby/Gems/1.8/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:236:in `load_dependency'
/Library/Ruby/Gems/1.8/gems/activesupport-3.2.0/lib/active_support/dependencies.rb:245:in `load'
/Library/Ruby/Gems/1.8/gems/railties-3.2.0/lib/rails/engine.rb:588
Show 17 more lines (<--a link)
另外,我得到這個每隔一段時間發出警告: Users/me/.rvm/gems/ruby-1.9.3-p0/gems/railties-3.2.0/lib/rails/script_rails_loader.rb:11: warning: Insecure world writable dir /Applications in PATH, mode 040777