ruby on rails syntax error unexpected $end expecting kend Polaris Montana

Address 610 N Montana St Ste 1, Dillon, MT 59725
Phone (406) 683-6179
Website Link
Hours

ruby on rails syntax error unexpected $end expecting kend Polaris, Montana

asked 3 years ago viewed 1533 times active 3 years ago Related 8What are the pros and cons of using Nginx over Apache with Rails when using Passenger1How Do You Set http://goodbadtech.com/2009/05/13/ruby-on-rails-import-csv-data-into-database/ Could not able to figure out the solution. Which kind of "ball" was Anna expecting for the ballroom? Why is the bridge on smaller spacecraft at the front but not in bigger vessel?

I reverted to a previous version and just worked from there. asked 3 years ago viewed 41397 times active 1 year ago Linked 0 syntax error, unexpected end-of-input Related 8unexpected keyword_end, expecting $end (SyntaxError)0unexpected keyword_end, expecting end-of-input2Ruby code has syntax error, unexpected Browse other questions tagged ruby-on-rails ruby or ask your own question. New employee has offensive Slack handle due to language barrier How to slow down sessions?

share|improve this answer answered Nov 3 '15 at 14:08 proutray 4861823 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign Why is the bridge on smaller spacecraft at the front but not in bigger vessel? Found out, it was due to my editor changing the quotes " 'smartly' in the mac editor. For instance, foo.rb: (demonstration) if true puts "hello world" end # the indent end # is a lie Line 4: syntax error, unexpected kEND [keyword_end], expecting $end Happy coding.

Computing only one byte of a cryptographically secure hash function Can I Exclude Movement Speeds When Wild Shaping? How do you say "enchufado" in English? 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. Which is missed in your class definition.

Am I missing an end somewhere? Our mission is to bring affordable, technology education to people everywhere, in order to help them achieve their dreams and change the world. It's because you're using this: else if (with no 'end' for the if) instead of: elsif They're both OK, but if you use the first one, you're starting a new if If the square root of two is irrational, why can it be created by dividing two numbers?

Log in with Google account | Log in with Yahoo account | Log in with Facebook account No account? Not the answer you're looking for? Our Company About Us Contact Us Community Treehouse Stories Student Perks Treehouse Blog Affiliate Program Careers Topics HTML CSS Design JavaScript Ruby PHP WordPress iOS Android Development Tools Business Tracks Web class Speech def initialize print "What is the speech name? " @title = gets.chomp @lines = [] while add_line puts "Line added." end end def title @title end def add_line puts

what does that mean? –drewwyatt Aug 12 '13 at 22:32 add a comment| 1 Answer 1 active oldest votes up vote 3 down vote accepted First, you need to use ruby Not the answer you're looking for? Could not find a JavaScript runtime. You can form a symbol by prefixing some kinds of text with a colon, so :category is a symbol that is going to be passed to the has_one method.

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 Edit 2 (I was developing on Ruby 2.0, my VPS is on 1.8) Here is the problem I am running into when trying to upgrade: [ps93785]$ rvm upgrade 2.0 The source Are there other Pokemon with higher spawn rates right now? Our Company About Us Contact Us Community Treehouse Stories Student Perks Treehouse Blog Affiliate Program Careers Topics HTML CSS Design JavaScript Ruby PHP WordPress iOS Android Development Tools Business Tracks Web

Take note that white space is important in Ruby as with many programming languages, so make sure that you follow examples carefully. :-) -Jeremy Report post Edit Delete Reply with quote Now there is a new issue - dump below: [ps93785]$ rake about rake aborted! Sign in Email Address Password I forgot my password Sign in This is an archive from Rails Forum. deleting folders with spaces in their names using xargs Why were Native American code talkers used during WW2?

The Last Monday 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 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 When a girl mentions her girlfriend, does she mean it like lesbian girlfriend? 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

Is the Gaussian Kernel still a valid Kernel when taking the negative of the inner function? Did I participate in the recent DDOS attacks? share|improve this answer answered Sep 24 '13 at 10:35 Steve Robinson 1,98721734 add a comment| up vote 0 down vote Try to use consistent tags/spaces when you write your code. Registration is free and takes only a minute.

What does the "stain on the moon" in the Song of Durin refer to? It's just something I did for fun to impress freinds/family. How to inform adviser that morale in group is low? Algebraic objects associated with topological spaces.

syntax error, unexpected keyword_end, expecting end-of-input (Mac)0rspec: syntax error, unexpected keyword_end, expecting end-of-input (SyntaxError)1SyntaxError unexpected keyword_ensure, expecting keyword_end0syntax error, unexpected end-of-input, expecting keyword_end (SyntaxError)-4syntax error, unexpected end-of-input, expecting keyword_end (SyntaxError) Address_book Too many "end" perhaps in 2 different files? How to explain centuries of cultural/intellectual stagnation?