Home > Syntax Error > Unexpected Kend

Unexpected Kend

Contents

class AdAssistedController < CommonController def initialize super @pageJs = ['ad_assisted'] @pageCSS = ['ad_creator', 'fbx_launcher', 'score_dashboard', 'slider_dashboard_new', 'score-dashboard_new', 'jquery-ui'] end def index begin @feed_names = FbxLauncher::Feed.find(:all) rescue Exception => e log_error(e.message) log_error(e.backtrace) See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question. Browse other questions tagged ruby or ask your own question. Do you pick it up and rub it?' lamp=gets.chomp if lamp=='No' puts 'You turn around, and walk out of the room, always to wonder whether or not you should have rubbed Source

Register here. wrote: > home/gbolahan/sites/spotvilla/app/models/clisting.rb:2: syntax error, > unexpected ':', expecting kEND > has_one: category > ^ Replace the above with this: has_one :category Note the new location of the colon. Browse other questions tagged ruby-on-rails ruby or ask your own question. share|improve this answer answered Aug 24 '14 at 19:34 Tamer Shlash 5,35522849 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google

Unexpected Kend

As it's currently written, it’s hard to tell exactly what you're asking. home/gbolahan/sites/spotvilla/app/models/clisting.rb:2: syntax error, unexpected ':', expecting kEND has_one: category ^ Rails.root: /home/gbolahan/sites/spotvilla Application Trace | Framework Trace | Full Trace app/controllers/clistings_controller.rb:1 Report post Edit Delete Reply with quote Re: genie.rb:20: syntax I've looked over it many times, trying to mess with things a little to fix it, but nothing seems to work. Report post Edit Delete Reply with quote Re: genie.rb:20: syntax error, unexpected $end, expecting kEND gbolahan a. (gbolahan_a) on 2011-11-16 11:53 i need help on this piece of code, i am

Browse other questions tagged ruby syntax-error or ask your own question. How could I have modern computers without GUIs? Remove the unbalanced one, and you should be all set. I'm pretty > new to the whole programming scene (I actually started yesterday) so I > probably missed something really easy but it still baffels me.

more hot questions question feed lang-rb about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation share|improve this answer answered Dec 22 '13 at 21:43 Huluk 833615 +1 for starting with 2 –steenslag Dec 22 '13 at 21:55 add a comment| Not the answer you're How to write an effective but very gentle reminder email to supervisor to check the Manuscript? Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 187 Star 2,508 Fork 352 sensu/sensu Code Issues 116 Pull requests 7 Projects

Especially the colon zero? –Dave Newton Dec 22 '13 at 21:12 Sorry, Here's my new code: prime_nums = [] (1..2000000).each {|p| prime_nums << p unless p% p-1.downto(1) == 0} Aligning texts side by side with equations in \align environment How can I stun or hold the whole party? Positivity of certain Fourier transform Can a creature with 0 power attack? I've looked over it many times, trying to mess > with things a little to fix it, but nothing seems to work.

Syntax Error, Unexpected ':', Expecting Kend

Black (Guest) on 2009-07-19 03:19 Hi -- On Sun, 19 Jul 2009, Alec Williams wrote: > I get "genie.rb:20: syntax error, unexpected $end, expecting kEND" every > I try to run Abinoam Jr. Unexpected Kend MikeMcQuaid closed this Feb 23, 2015 MikeMcQuaid locked and limited conversation to collaborators Jul 10, 2016 Sign up for free to subscribe to this conversation on GitHub. Should a country name in a country selection list be the country's local name?

asked 3 years ago viewed 3017 times active 3 years ago Related 4syntax error, unexpected $end, expecting keyword_end1Ruby unexpected kEND, expecting $end0unexpected 'expecting kEND'-5“Line 357: syntax error, unexpected kEND, expecting $end”0unexpected this contact form Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Join them; it only takes a minute: Sign up syntax error, unexpected $end, expecting kEND (SyntaxError) from -e:1 up vote -1 down vote favorite class Movie class Playlist def initialize(name) @name Word that includes "food, alcoholic drinks, and non-alcoholic drinks"?

And there is one "end" missing in the end of your file (that kEND) means. that was the problem. Deep theorem with trivial proof Why are terminal consoles still used? have a peek here State it, and it shall be done."' wish=gets.chomp if (wish== 'I wish for world peace' or wish== 'I wish for the end of world hunger') puts 'That\'s very thoughtful of you.

What mechanical effects would the common cold have? We recommend upgrading to the latest Safari, Google Chrome, or Firefox. Already have an account?

Please use our new forums at discuss.codecademy.com.

Skip to content Ignore Learn more Please note that GitHub no longer supports old versions of Firefox. Did millions of illegal immigrants vote in the 2016 USA election? I've just learned about "embedded Ruby" through another thread.. I'm pretty new to the whole programming scene (I actually started yesterday) so I probably missed something really easy but it still baffels me.

Existing account User name or e-mail address Password Always use SSL (experimental!) NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 1,052 Star 29,435 Fork 13,948 Homebrew/legacy-homebrew Code Issues 0 Pull requests 0 Projects Otherwise, it may be difficult to tell exactly why the error occurs.GregLarkin( 2015-01-27 22:14:17 -0600 )editHi, Added the full file. Check This Out Browse other questions tagged ruby or ask your own question.

Grass grows through the floor of my building Binary to decimal converter Unable to complete a task at work. check-procs.rb seems to be resulting in syntax errors, which i can see in the sensu client log. Join them; it only takes a minute: Sign up Ruby unexpected $end, expecting kEND up vote -1 down vote favorite I am getting the following error: unexpected $end, expecting kEND Does edit flag offensive delete link more add a comment Your Answer Please start posting anonymously - your entry will be published after you log in or create a new account.

Terms Privacy Security Status Help You can't perform that action at this time. I shall now grant you one wish! If I remove this bit the template runs fine.wingZero( 2015-01-27 15:23:47 -0600 )edit1It looks like you have unbalanced end statements, but it would be helpful if you posted a link to Why is bench pressing your bodyweight harder than doing a pushup?

Sorry! How should I tell my employer? split strings and add them as new row Close current window shortcut Grass grows through the floor of my building How to construct a 3D 10-sided Die (Pentagonal trapezohedron) and Spin Why does MIT have a /8 IPv4 block?

You signed in with another tab or window. It's just something I did for fun to impress freinds/family. Suddenly a genie bursts out and says "You have released me from my eternal prison. No registration required!

You should complete your Movie class before being able to use it in the Playlist class. Not the answer you're looking for? Reload to refresh your session. Log in with Google account | Log in with Yahoo account | Log in with Facebook account No account?

David Report post Edit Delete Reply with quote Re: genie.rb:20: syntax error, unexpected $end, expecting kEND Stefano Crocco (crocco) on 2009-07-19 09:30 On Sunday 19 July 2009, Alec Williams wrote: > class AdAssistedController < CommonController def initialize super @pageJs = ['ad_assisted'] @pageCSS = ['ad_creator', 'fbx_launcher', 'score_dashboard', 'slider_dashboard_new', 'score-dashboard_new', 'jquery-ui'] end def index begin @feed_names = FbxLauncher::Feed.find(:all) rescue Exception => e log_error(e.message) log_error(e.backtrace)