Rails3 branch installation crush
Reported by e6nian | February 16th, 2011 @ 07:17 AM
when I install the rails3 branch of fat free crm,error
occurs
when I run rake crm:setup:
errors occurs:
== AddSingleAccessTokenToUsers: migrating ==================================== -- add_column(:users, :single_access_token, :string) -> 0.1864s == AddSingleAccessTokenToUsers: migrated (0.1865s) ===========================
== AddRatingAndCategoryToAccounts: migrating ================================= -- add_column(:accounts, :rating, :integer, {:default=>0, :null=>false}) -> 0.2048s -- add_column(:accounts, :category, :string, {:limit=>32}) -> 0.1852s == AddRatingAndCategoryToAccounts: migrated (0.3902s) ========================
rake aborted!
couldn't parse YAML at line 113 column 93
/opt/local/lib/ruby1.9/1.9.1/psych.rb:148:in parse'
/opt/local/lib/ruby1.9/1.9.1/psych.rb:148:inparse_stream'
/opt/local/lib/ruby1.9/1.9.1/psych.rb:119:in parse'
/opt/local/lib/ruby1.9/1.9.1/psych.rb:106:inload'
/opt/local/lib/ruby1.9/1.9.1/psych.rb:205:in load_file'
/Users/e6nian/sandbox/fat_free_crm/lib/tasks/fat_free_crm.rake:32:inblock
(3 levels) in ' /opt/local/lib/ruby1.9/1.9.1/rake.rb:634:in call'
/opt/local/lib/ruby1.9/1.9.1/rake.rb:634:inblock in execute'
/opt/local/lib/ruby1.9/1.9.1/rake.rb:629:in each'
/opt/local/lib/ruby1.9/1.9.1/rake.rb:629:inexecute'
/opt/local/lib/ruby1.9/1.9.1/rake.rb:595:in block in
invoke_with_call_chain'
/opt/local/lib/ruby1.9/1.9.1/monitor.rb:201:inmon_synchronize'
/opt/local/lib/ruby1.9/1.9.1/rake.rb:588:in invoke_with_call_chain'
/opt/local/lib/ruby1.9/1.9.1/rake.rb:581:ininvoke'
/Users/e6nian/sandbox/fat_free_crm/lib/tasks/fat_free_crm.rake:84:in
block (2 levels) in '
/opt/local/lib/ruby1.9/1.9.1/rake.rb:634:incall'
/opt/local/lib/ruby1.9/1.9.1/rake.rb:634:in block in execute'
/opt/local/lib/ruby1.9/1.9.1/rake.rb:629:ineach'
/opt/local/lib/ruby1.9/1.9.1/rake.rb:629:in execute'
/opt/local/lib/ruby1.9/1.9.1/rake.rb:595:inblock in
invoke_with_call_chain'
/opt/local/lib/ruby1.9/1.9.1/monitor.rb:201:in mon_synchronize'
/opt/local/lib/ruby1.9/1.9.1/rake.rb:588:ininvoke_with_call_chain'
/opt/local/lib/ruby1.9/1.9.1/rake.rb:581:in invoke'
/opt/local/lib/ruby1.9/1.9.1/rake.rb:2041:ininvoke_task'
/opt/local/lib/ruby1.9/1.9.1/rake.rb:2019:in block (2 levels) in
top_level' /opt/local/lib/ruby1.9/1.9.1/rake.rb:2019:ineach'
/opt/local/lib/ruby1.9/1.9.1/rake.rb:2019:in block in top_level'
/opt/local/lib/ruby1.9/1.9.1/rake.rb:2058:instandard_exception_handling'
/opt/local/lib/ruby1.9/1.9.1/rake.rb:2013:in top_level'
/opt/local/lib/ruby1.9/1.9.1/rake.rb:1992:inrun'
/usr/bin/rake:31:in '
ruby -v ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10]
Comments and changes to this ticket
-
e6nian February 16th, 2011 @ 11:43 PM
with rake crm:setup --trace
: Invoke db:schema:dump (first_time) Invoke environment Execute db:schema:dump Execute db:migrate:reset Invoke crm:settings:load (first_time) Invoke environment ** Execute crm:settings:load rake aborted!
couldn't parse YAML at line 113 column 93
/opt/local/lib/ruby1.9/1.9.1/psych.rb:148:inparse' /opt/local/lib/ruby1.9/1.9.1/psych.rb:148:in
parse_stream' /opt/local/lib/ruby1.9/1.9.1/psych.rb:119:inparse' /opt/local/lib/ruby1.9/1.9.1/psych.rb:106:in
load' /opt/local/lib/ruby1.9/1.9.1/psych.rb:205:inload_file' /Users/e6nian/sandbox/fat_free_crm/lib/tasks/fat_free_crm.rake:32:in
block (3 levels) in ' /opt/local/lib/ruby1.9/1.9.1/rake.rb:634:incall' /opt/local/lib/ruby1.9/1.9.1/rake.rb:634:in
block in execute' /opt/local/lib/ruby1.9/1.9.1/rake.rb:629:ineach' /opt/local/lib/ruby1.9/1.9.1/rake.rb:629:in
execute' /opt/local/lib/ruby1.9/1.9.1/rake.rb:595:inblock in invoke_with_call_chain' /opt/local/lib/ruby1.9/1.9.1/monitor.rb:201:in
mon_synchronize' /opt/local/lib/ruby1.9/1.9.1/rake.rb:588:ininvoke_with_call_chain' /opt/local/lib/ruby1.9/1.9.1/rake.rb:581:in
invoke' /Users/e6nian/sandbox/fat_free_crm/lib/tasks/fat_free_crm.rake:84:inblock (2 levels) in <top (required)>' /opt/local/lib/ruby1.9/1.9.1/rake.rb:634:in
call' /opt/local/lib/ruby1.9/1.9.1/rake.rb:634:inblock in execute' /opt/local/lib/ruby1.9/1.9.1/rake.rb:629:in
each' /opt/local/lib/ruby1.9/1.9.1/rake.rb:629:inexecute' /opt/local/lib/ruby1.9/1.9.1/rake.rb:595:in
block in invoke_with_call_chain' /opt/local/lib/ruby1.9/1.9.1/monitor.rb:201:inmon_synchronize' /opt/local/lib/ruby1.9/1.9.1/rake.rb:588:in
invoke_with_call_chain' /opt/local/lib/ruby1.9/1.9.1/rake.rb:581:ininvoke' /opt/local/lib/ruby1.9/1.9.1/rake.rb:2041:in
invoke_task' /opt/local/lib/ruby1.9/1.9.1/rake.rb:2019:inblock (2 levels) in top_level' /opt/local/lib/ruby1.9/1.9.1/rake.rb:2019:in
each' /opt/local/lib/ruby1.9/1.9.1/rake.rb:2019:inblock in top_level' /opt/local/lib/ruby1.9/1.9.1/rake.rb:2058:in
standard_exception_handling' /opt/local/lib/ruby1.9/1.9.1/rake.rb:2013:intop_level' /opt/local/lib/ruby1.9/1.9.1/rake.rb:1992:in
run' /usr/bin/rake:31:in<main>'
-
e6nian February 16th, 2011 @ 11:59 PM
I've found the solution of this:
http://www.ruby-forum.com/topic/1002689
it's not the fat free crm's problem,but the ruby 1.9.2's problem
http://redmine.ruby-lang.org/issues/show/4300
please close this issue.thank you and sorry.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Ruby on Rails CRM platform for Web 2.0 and beyond