Syntax error, unexpected ':', expecting $end?

I think I got the answer: my text editor was coding the end of lines as per windows and instead of Unix. I changed that bit while saving and it worked.

Up vote 0 down vote favorite share g+ share fb share tw.

I am attempting to get this going: github.com/xaviershay/db2s3 I created a file in config/initializers/db2s3. Rb DB2S3::Config. Instance_eval do S3 = { :access_key_id => 'id', :secret_access_key => 'key', :bucket => 'name' } end In the rake file I added: require 'db2s3/tasks' But when I attempt to run the rake task to push it into s3 I get an error.

Rake db2s3:backup:full ...../config/initializers/db2s3. Rb:13: syntax error, unexpected ':', expecting $end ruby-on-rails link|improve this question edited Jul 21 '10 at 2:25Ned Batchelder67.7k686180 asked Jul 21 '10 at 2:25cap11.

For a start, there aren't 13 lines in that file you posted so figuring out which is line 13 is pretty damned hard for us :-) My suggestion is that you post the whole thing (sanitised of personal information of course). – paxdiablo Jul 21 '10 at 2:34 Actually that is the entire file. I had some other lines after what you see here in it earlier which I realized were not supposed to be in there.

I'm not sure why it said 13 lines even after I removed the lines. Maybe the whitespace was causing this somehow? I ran the backspace over the end of the file and it works now.

Not sure if that is causal or coincidental. – cap Jul 21 '10 at 2:46.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions