search for: kend

Displaying 20 results from an estimated 132 matches for "kend".

Did you mean: end
2006 Nov 24
6
Rails 1.2 RC1 problem
...ors. It works fine with rails 1.1.2 /var/rails/LocaisVoo/app/helpers/sites_helper.rb:9: parse error, unexpected tINTEGER, expecting ']' ['5', 'Castelo Branco'], ^ /var/rails/LocaisVoo/app/helpers/sites_helper.rb:9: parse error, unexpected tCONSTANT, expecting kEND ['5', 'Castelo Branco'], ^ /var/rails/LocaisVoo/app/helpers/sites_helper.rb:10: parse error, unexpected tINTEGER, expecting kEND ['6', 'Coimbra'], ^ /var/rails/LocaisVoo/app/helpers/sites_helper.rb:10: parse error, unexpected...
2002 Feb 23
2
XFS ACLs vanish. (2.2.2a and 2.2.3a)
Hiya. I've got an XFS partition, have compiled and installed all the XFS stuff, then compiled (with --with-acl-support) samba, which then returns: checking whether to support ACLs... checking for acl_get_file in -lacl... yes checking for ACL support... yes Using posix ACLs So it would seem to me that ACLs would be supported. So then I install and run it, add the box to the (Samba 2.2.2)
2007 Jun 21
2
Error when trying to run expense program
...ut since I dont know jack about rails it seems cryptic to me. Application.rb seems to be very similar to the database.yml file. I''m running everything on Mac (mysql) Cheers ./script/../config/../app/controllers/application.rb:5: syntax error, unexpected '':'', expecting kEND ./script/../config/../app/controllers/application.rb:7: syntax error, unexpected '':'', expecting kEND database: expenses_development ^ ./script/../config/../app/controllers/application.rb:8: syntax error, unexpected '':'', expecting kEND username: roo...
2003 Oct 21
1
Why does fstab fail when command line mount works?
Okay; I'm stumped. My old boss just asked me a question, and I thought I had an easy answer, but nooooooooo. I also apologize if this has been hashed out, but I'm unable to find the answers after several pages of Google hits. Anyway, if I try to do this: mount -t smbfs -o username=kend,password=blah,workgroup=xanoptix //freedom/kend /mnt/smb/ from the command line, it works fine. [Sorry for the wrappage.] However, if I plug what appears to be the complementary info into fstab, thusly: //freedom/kend /mnt/smb smbfs user=kend,password=blah,domain=xanoptix 0 0 it dies horrib...
2006 May 06
6
assert_raises --> how does it work?
Hi, I have this code fragment: def test_delete_concept assert_not_nil Concept.find(concepts(:entreprise).id) get :delete_concept, {:concept_id => concepts(:entreprise).id} assert_raises :RecordNotFound, Concept.find(concepts(:entreprise).id) end basicaly, on the first line, I make sure that the concept exist in the DB. On the second line I delete the concept fron the DB.
2010 Jun 17
1
syntax error, unexpected kEND, expecting $end
I get this error /Users/sopira/rubydev/hello/app/models/spracovatel.rb:5: syntax error, unexpected kEND, expecting $end on the 5th line of the code, which has got just (and only) 5 line: CODE: Class Spracovatel def spracovat return 5 end end What can cause this error? After digging all the internet I have not found any idea. Maybe here. Thanks, Michael. -- You received this message beca...
2007 Apr 17
2
Rake aborted - syntax error, unexpected $end, expecting kEND
I can''t create tables via rake db:migrate without encountering this error: rake aborted! ./db/migrate//001_create_users_table.rb:11: syntax error, unexpected $end, expecting kEND The 001_create_users_table.rb file contains: class CreateUsersTable < ActiveRecord::Migration def self.up create_table "users" do |table| end def self.down end end I''ve recently installed RoR (as per http://hivelogic.com/narrative/articles/ruby-rails-mongrel...
2006 Apr 16
6
sorting
I need to sort users by their rank how do I do this? -- Posted via http://www.ruby-forum.com/.
2007 Feb 12
1
Invalid char problem
...n Windows XP. I have installed 0.10.9 (mswin32) which still seems to have the problem. I am receiving error messages like: compile error C:/INSTAN~1.4P1/INSTAN~1/rails_apps/travelogue/config/../app/views/article_editor/_header_read.rhtml:2: parse error, unexpected '')'', expecting kEND C:/INSTAN~1.4P1/INSTAN~1/rails_apps/travelogue/config/../app/views/article_editor/_header_read.rhtml:3: parse error, unexpected tIDENTIFIER, expecting kEND _erbout.concat " <div class=\"article_title\">"?; _erbout.concat(( @article.title ).to_s); _erbout.concat "...
2008 Nov 22
4
"syntax error, unexpected tIDENTIFIER , expecting kEND" in RJS response
I get a "syntax error, unexpected tIDENTIFIER, expecting kEND" when the following RJS template is rendered: page.insert_html :bottom, :requisite_table, :partial => "insert_jobrequisite_select", :locals => {:job => @job, :counter => @counter} page.alert("hi") The same RJS template is rendered without errors as soon as th...
2006 Apr 30
6
Help, Gruff is killing me
...n/show_management/list_shows.rhtml where line #5 raised: compile error ./script/../config/../app/views/admin/show_management/list_shows.rhtml:5: Invalid char `\001'' in expression ./script/../config/../app/views/admin/show_management/list_shows.rhtml:6: parse error, unexpected $, expecting kEND _erbout.concat " <th>Show ID</th>\n" ^ Extracted source (around line #5): 2: 3: <table class="list"> 4: <tr class="list_header"> 5: <th>Show Name</th> 6: <th>Show ID</th> 7:...
2007 May 28
2
helper with block compile error
...ror syntax error, unexpected tASSOC, expecting ''}'' _erbout.concat " "; link_block_to_remote { :url => { :action => :start_login } }, ^ syntax error, unexpected '','', expecting kEND _erbout.concat " "; link_block_to_remote { :url => { :action => :start_login } }, ^ syntax error, unexpected kDO, expecting kEND :id => "...
2006 Apr 08
5
Strange error ...
I''m getting a very strange error in a very vanilla Rails app setup: compile error ./script/../config/../app/views/home/index.rhtml:1: parse error, unexpected $, expecting kEND _erbout = ''''; _erbout.concat " <div id=\"index_main\">\n" ... ? Anyone know what this might be? I installed the Login Engine and the error started. I''m using a Windows machine and I''d like to delete existing session files, but I'&...
2006 Aug 18
1
Migration crashes when using braces to delimit blocks
...ng, :null => false t.column :action, :string, :null => false } end def self.down drop_table :functional_rights end end ========== Output from rake: ========== rake aborted! ./db/migrate//002_simplified_version.rb:4: syntax error, unexpected ''{'', expecting kEND create_table :functional_rights { |t| # A table storing the actions on a given controller that a given right allows a user to perform. ^ ./db/migrate//002_simplified_version.rb:5: syntax error, unexpected tSYMBEG, expecting kEND t....
2004 Dec 02
2
Printer permissions from W2K
Hey all... I am trying to connect to a Epson FX-85 24-pin printer on my file/print/samba server. I am running SuSE 9.1/Samba 3.0.2a with CUPS as the print spool. When I try to connect to the printer from W2K land, I get this error: "Permission denied" I am at a loss as to where to look (sorry I dont have my smb.conf file posted. I am away from home for a couple of days). ALl else
2005 Jan 08
1
Simple Samba Guest printer setup problem
OK, I have a very simple setup problem. I have a server and three printers which I want to share. These printers should need no password. This does not work However when I login and map a network drive I can print just fin How do I bypass the need for a password or network login on these printers. Thanks I am running Fedora 3 core and samba Thanks Chip Here is the printers section of my
2006 Mar 17
6
Problem with ruby 1.8.4 One-Click Ruby Installer on windows
...alled rails, rmagick, radrails, created docs for trunk version of file_column plugin, everything works. But when i try to display any page i get lots of errors like these: compile error ./script/../config/../app/views/admin/properties/_form.rhtml:56: parse error, unexpected tCONSTANT, expecting kEND ./script/../config/../app/views/admin/properties/_form.rhtml:57: parse error, unexpected $, expecting kEND ./script/../config/../app/views/admin/properties/_form.rhtml:62: Invalid char `\002'' in expression If i remove spaces and newline characters between lines and place them again, it...
2009 Oct 23
2
Deployment syntax error: fine in dev - what's happening?
...rows a syntax error. How can that be? The error is: /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in `gem_original_require'': /Library/WebServer/staging.givetothem.co.uk/releases/20091023133654/app/controllers/bulkimport_controller.rb:32: syntax error, unexpected kRESCUE, expecting kEND (SyntaxError) rescue Exception ^ The code generating the error is: begin @parsed_file=CSV::Reader.parse(params[:dump][:file]) n=0 @parsed_file.each do |row| unless row[0].nil? c=@recipients.new c.address=row[0]...
2011 Nov 18
2
Are tildes actually valid in templates or is this a bug?
...| ruby -c* -:2: syntax error, unexpected ''~'', expecting kTHEN or '':'' or ''\n'' or '';'' ; if operatingsystem == "CentOS" ~; _erbout.concat "\n" ^ -:4: syntax error, unexpected kEND, expecting $end ; end ~; _erbout.concat "\n" ^ */tmp/puppet**$ perl -pi -e ''s/~//'' test.erb* */tmp/puppet$ erb -x -T ''-'' test.erb | ruby -c* Syntax OK */tmp/puppet$ * I thought it might just be erb/ruby that was choking so I did a full test with...
2006 Feb 11
9
Upgrading to Ruby 1.8.4 and strange problems!
...n setup process, but now, when I try run my rails application, there are many strange things happening. In one my application no CSS apply, looks like there is no CSS file, and worst in another application, I get the following error from the layout rhtml file. parse error, unexpected $, expecting kEND What''s changed in this version? Or Do I forget to install a gem or?? Thanks in advance - H -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060211/86729f14/attachment.html