[rails 3] (eval):12: Invalid yield

147 views
Skip to first unread message

ME

unread,
Jun 13, 2011, 2:10:33 PM6/13/11
to rhom...@googlegroups.com
I am using rvm, it is finding the gem correctly so I do not think it is an rvm issue.  I have a rails 3 app al I did was install bundler and rhodes and ran the command to create the rhodes app and I run the rake run:iphone task, blows up:

Running default.rb
(eval):12: Invalid yield

You have a syntax error in your ERB: /Users/chabgood/.rvm/gems/ruby-1.9.2-p136@food_for_thought_mobile/gems/rhodes-3.0.1/platform/iphone/bin/RhoBundle/apps/app/views/layouts/application.html.erb
See log above for the line number following the string "(eval):"

Dmitry Soldatenkov

unread,
Jun 14, 2011, 6:50:43 AM6/14/11
to rhom...@googlegroups.com, chab...@gmail.com

Hi,

Rhodes building all application files inside own /platform/iphone/bin/RhoBundle/ folder. So check your application file  [your application root]/app/views/layouts/application.html.erb.
If you will still have the issue, send me your complete application code - I will investigate that issue.


--
You received this message because you are subscribed to the Google Groups "rhomobile" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rhomobile/-/484W3yR2eC0J.
To post to this group, send email to rhom...@googlegroups.com.
To unsubscribe from this group, send email to rhomobile+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rhomobile?hl=en.



--

Best regards,
  Dmitry A. Soldatenkov
  E-mail: dmi...@rhomobile.com
  Skype: soldatenkoff


evgeny vovchenko

unread,
Jun 20, 2011, 6:01:08 AM6/20/11
to rhom...@googlegroups.com

https://www.pivotaltracker.com/story/show/14746039

 

use ruby 1.8.7 at this moment

 


--

Reply all
Reply to author
Forward
0 new messages