Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rails 3 rc1 and yUMLmeRails uninitialized constant AppDiagram::PLATFORM #3

Open
bitcoiners opened this issue Aug 6, 2010 · 2 comments

Comments

@bitcoiners
Copy link

Hello,
I am gettinng an error when trying to use yUMLmeRails with latest Rails 3 rc. I have Shoes installed.
rake yUMLmeRails:show --trace
(in /home/slava/dev/projects/statitnow)
** Invoke yUMLmeRails:show (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute yUMLmeRails:show
rake aborted!
uninitialized constant AppDiagram::PLATFORM
/home/slava/dev/projects/statitnow/vendor/plugins/yUMLmeRails/lib/railroad/app_diagram.rb:59:in disable_stdout' /home/slava/dev/projects/statitnow/vendor/plugins/yUMLmeRails/lib/railroad/app_diagram.rb:77:inload_environment'
/home/slava/dev/projects/statitnow/vendor/plugins/yUMLmeRails/lib/railroad/app_diagram.rb:20:in initialize' /home/slava/dev/projects/statitnow/vendor/plugins/yUMLmeRails/lib/railroad/models_diagram.rb:14:ininitialize'
/home/slava/dev/projects/statitnow/vendor/plugins/yUMLmeRails/lib/yUMLmeRails.rb:38:in new' /home/slava/dev/projects/statitnow/vendor/plugins/yUMLmeRails/lib/yUMLmeRails.rb:38:ingenerate_diagram'
/home/slava/dev/projects/statitnow/vendor/plugins/yUMLmeRails/lib/tasks/yUMLmeRails.rake:8:in block in generate_diagram' /home/slava/dev/projects/statitnow/vendor/plugins/yUMLmeRails/lib/tasks/yUMLmeRails.rake:7:inopen'
/home/slava/dev/projects/statitnow/vendor/plugins/yUMLmeRails/lib/tasks/yUMLmeRails.rake:7:in generate_diagram' /home/slava/dev/projects/statitnow/vendor/plugins/yUMLmeRails/lib/tasks/yUMLmeRails.rake:16:inblock (2 levels) in <top (required)>'
/home/slava/.rvm/gems/ruby-1.9.2-rc2/gems/rake-0.8.7/lib/rake.rb:636:in call' /home/slava/.rvm/gems/ruby-1.9.2-rc2/gems/rake-0.8.7/lib/rake.rb:636:inblock in execute'
/home/slava/.rvm/gems/ruby-1.9.2-rc2/gems/rake-0.8.7/lib/rake.rb:631:in each' /home/slava/.rvm/gems/ruby-1.9.2-rc2/gems/rake-0.8.7/lib/rake.rb:631:inexecute'
/home/slava/.rvm/gems/ruby-1.9.2-rc2/gems/rake-0.8.7/lib/rake.rb:597:in block in invoke_with_call_chain' /home/slava/.rvm/rubies/ruby-1.9.2-rc2/lib/ruby/1.9.1/monitor.rb:201:inmon_synchronize'
/home/slava/.rvm/gems/ruby-1.9.2-rc2/gems/rake-0.8.7/lib/rake.rb:590:in invoke_with_call_chain' /home/slava/.rvm/gems/ruby-1.9.2-rc2/gems/rake-0.8.7/lib/rake.rb:583:ininvoke'
/home/slava/.rvm/gems/ruby-1.9.2-rc2/gems/rake-0.8.7/lib/rake.rb:2051:in invoke_task' /home/slava/.rvm/gems/ruby-1.9.2-rc2/gems/rake-0.8.7/lib/rake.rb:2029:inblock (2 levels) in top_level'
/home/slava/.rvm/gems/ruby-1.9.2-rc2/gems/rake-0.8.7/lib/rake.rb:2029:in each' /home/slava/.rvm/gems/ruby-1.9.2-rc2/gems/rake-0.8.7/lib/rake.rb:2029:inblock in top_level'
/home/slava/.rvm/gems/ruby-1.9.2-rc2/gems/rake-0.8.7/lib/rake.rb:2068:in standard_exception_handling' /home/slava/.rvm/gems/ruby-1.9.2-rc2/gems/rake-0.8.7/lib/rake.rb:2023:intop_level'
/home/slava/.rvm/gems/ruby-1.9.2-rc2/gems/rake-0.8.7/lib/rake.rb:2001:in block in run' /home/slava/.rvm/gems/ruby-1.9.2-rc2/gems/rake-0.8.7/lib/rake.rb:2068:instandard_exception_handling'
/home/slava/.rvm/gems/ruby-1.9.2-rc2/gems/rake-0.8.7/lib/rake.rb:1998:in run' /home/slava/.rvm/gems/ruby-1.9.2-rc2/gems/rake-0.8.7/bin/rake:31:in<top (required)>'
/home/slava/.rvm/gems/ruby-1.9.2-rc2/bin/rake:19:in load' /home/slava/.rvm/gems/ruby-1.9.2-rc2/bin/rake:19:in

'

@tute
Copy link

tute commented Oct 16, 2010

Hi! I do also have this error. How may we fix this?
Regards,
Eugenio.

@tute
Copy link

tute commented Oct 29, 2010

Well, works with this patch:
http://gist.github.com/653662

Kind regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants