Home > Unexpected End > Unexpected $end Expecting Kend Syntax Error

Unexpected $end Expecting Kend Syntax Error

Take note that white space is important in Ruby as with many programming languages, so make sure that you follow examples carefully. :-) -Jeremy -- Caselle da 1GB, trasmetti allegati fino share|improve this answer answered Apr 9 '12 at 19:06 Amadan 92.1k885134 add a comment| up vote 4 down vote On this line: open(#{add}) do |f| You are trying to use #{} Here is the error log. /home/jeevan/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:234:in `load': /home/jeevan/csv/config/routes.rb:64: syntax error, unexpected keyword_end, expecting $end (SyntaxError) from /home/jeevan/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:234:in `block in load' from /home/jeevan/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in `block in load_dependency' from /home/jeevan/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:640:in `new_constants_in' from /home/jeevan/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in `load_dependency' Modify functions in R using body, formals and environment methods Dozens of earthworms came on my terrace and died there Output a googol copies of a string fraction line in French this contact form

Why are only passwords hashed? very lightweight low power microcontroller with memory? Output a googol copies of a string 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 How much more than my mortgage should I charge for rent? http://stackoverflow.com/questions/18973899/unexpected-end-expecting-kend

It sounds like you forgot to put the closing paren at the end of either a method call or a method parameter list. asked 7 years ago viewed 4654 times active 5 years ago Get the weekly newsletter! Why do the Sparkfun and Adafruit Eagle libraries use smaller footprints than the manufacturer's recommended land pattern? "Full-time Employment is a Loophole in the Law to Make Wages Lower"? 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.

Is there a word for "timeless" that doesn't imply the passage of time? can you tell me what are you doing here p % p-1.downto(1):0 ? –Arup Rakshit Dec 22 '13 at 21:12 1 What's that unless line doing? Number sets symbols in LaTeX Why cast an A-lister for Groot? asked 2 years ago viewed 1105 times active 2 years ago Linked 8 unexpected keyword_end, expecting $end (SyntaxError) Related 1Ruby unexpected kEND, expecting $end0syntax error, unexpected keyword_end, expecting $end-5“Line 357: syntax

Die Liebe höret nimmer auf Partial sum of the harmonic series between two consecutive fibonacci numbers How would a person see with an adjustable cross-shaped pupil? What object can prove the equations? Why is the size of my email so much bigger than the size of its attached files? http://stackoverflow.com/questions/25475525/syntax-error-unexpected-end-expecting-kend-syntaxerror-from-e1 How to fix a bent lens mount hook?

Browse other questions tagged ruby or ask your own question. What does this ice key do? Registration is free and takes only a minute. Here's how it would look: puts 'You see a lamp on the floor of a dusty room.

It's just something I did for fun to > impress freinds/family. http://stackoverflow.com/questions/20734097/syntax-error-unexpected-end-expecting-kend Legal Privacy Policy Terms of Use © 2016 Puppet Please note: AskPuppet requires javascript to work properly, please enable javascript in your browser, here is how ( 2016-10-30 20:49:35 -0500 )editnone× Output a googol copies of a string Who was Mikael Blomkvist with at the end of the movie and why did Lisbeth hate it so much? The has_one thing is a method and it takes a symbol as an argument.

Partial sum of the harmonic series between two consecutive fibonacci numbers Who was Mikael Blomkvist with at the end of the movie and why did Lisbeth hate it so much? http://fullflash.net/unexpected-end/unexpected-end-ruby.html For some reason, ruby is giving me the error:findimages.rb:8: syntax error, unexpected kEND, expecting $end Why is this? Help would be greatly appreciated for anyone who would be kind enough to give it. 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

http://goodbadtech.com/2009/05/13/ruby-on-rails-import-csv-data-into-database/ Could not able to figure out the solution. Not the answer you're looking for? Compare these two: if x puts "x is true" elsif y puts "y is true" else puts "Neither is true" end if x puts "x is true" else if y puts http://fullflash.net/unexpected-end/syntax-error-unexpected-end-of-file-bash-script.html asked 4 years ago viewed 5569 times active 4 years ago Related 1490How to write a switch statement in Ruby655What is attr_accessor in Ruby?-1unexpected end kend ruby piglatin program-5“Line 357: syntax

Every if statement has to have an 'end'. You are using many Movie methods that you have not defined. ruby share|improve this question asked Dec 22 '13 at 21:10 Reoxy 377 closed as unclear what you're asking by Arup Rakshit, bensiu, carols10cents, Paul Beckingham, the Tin Man Dec 23 '13

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.

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 How strange is it (as an undergrad) to email a professor from another institution about possibly working in their lab? Thank you for your help 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)

Browse other questions tagged ruby-on-rails ruby or ask your own question. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed I didn't think about end my if and after putting my name in string it works correctly. his comment is here How to create a torus with divided cuts that correspond to the direction of the torus Does Nietzsche's rejection of Socrates mean that he is a relativist about ethics?

Click here to learn more. This would make your code shorter and much easier to read and debug. Strange device identification "Squeezing out of a dead man" proverb Print some JSON Why is the size of my email so much bigger than the size of its attached files? fraction line in French Why do we need blockchains?

Why does removing Iceweasel nuke GNOME? Not the answer you're looking for? current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list. In it, you'll get: The week's top questions and answers Important community announcements Questions that need answers see an example newsletter By subscribing, you agree to the privacy policy and terms

Add Answer Question Tools Follow 1 follower subscribe to rss feed Stats Asked: 2015-01-27 07:59:27 -0500 Seen: 486 times Last updated: Jan 28 '15 Related questions PE 2015.2 upgrade module from Before I leave my company, should I delete software I wrote during my free time? Not the answer you're looking for? What are the German equivalents of “First World War”, “World War I”, and “WWI”?

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed What was the first operating system to feature a separate kernel? What was the first operating system to feature a separate kernel? How strange is it (as an undergrad) to email a professor from another institution about possibly working in their lab?

Details: <% if definition == "someserver" -%> $ModLoad imfile.so <% i = exec( "date +%Y_%m_%d" ) -%> $InputFileName /data/logs/weblogs/jetty-<%= i -%>.request.log <% end -%> Log anything (except mail) of level info 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 Lengthwise or widthwise. asked 4 years ago viewed 31504 times active 12 months ago Visit Chat Linked 0 Ruby syntax error: unexpected $end, expecting keyword_end -2 syntax error, unexpected $end, expecting kEND Related 4syntax

Please use our new forums at discuss.codecademy.com. How to create a torus with divided cuts that correspond to the direction of the torus very lightweight low power microcontroller with memory?