Displaying 7 results from an estimated 7 matches for "rubytoken".
2005 Dec 14
1
just installed rails on ubuntu, error creating rails dir -->unexpected token: ''#<RubyToken::TkLPAREN:
Hello there good rails people!
Just did a fresh install of rails on my new (old) Ubuntu machine. I am
running ruby 1.8.2 and have installed about five extra packages that do
not come with Ubuntu. I managed to install ruby-gems and used gems to
successfully install rails but I am getting an error message when I run
rails, it seems to be choking on a Tkl paren. Google has not turned up
much
2007 Jul 16
6
RubyToken::AlreadyDefinedToken and Edge Rails Docs
I''m having a wee bit of trouble building documentation for Edge Rails
(rev 7187). When I attempt to run the doc:rails taask (or any doc:*
task), I get the following error:
-- BEGIN --
rake aborted!
uninitialized constant RubyToken::AlreadyDefinedToken
/Users/jherdman/Projects/crosslisting/vendor/rails/activerecord/
lib/../../activesupport/lib/active_support/dependencies.rb:263:in
`load_missing_constant''
/Users/jherdman/Projects/crosslisting/vendor/rails/activerecord/
lib/../../activesupport/lib/active_support/depend...
2006 Mar 05
1
rdoc on edge rail fails at generator template
Infinite loop at a generator template :-
controller.rb: c
railties/lib/rails_generator/generators/components/controller/templates/controll
er.rb:3:15: Expected class name or ''<<''. Got RubyToken::TkLT: "<"
And BTW why are templates named .rb ?
Thanks
--
Posted via http://www.ruby-forum.com/.
2005 Apr 29
2
problem installing login generator on windows
...ource index for: http://dist.leetsoft.com
Successfully installed login_generator, version 1.1.0
Installing RDoc documentation for login_generator-1.1.0...
WARNING: Generating RDoc on .gem that may not have RDoc.
templates/controller.rb:7:26: Expected class name or ''<<''. Got
RubyToken::TkLT:"<"
templates/controller_test.rb:10:9: Expected class name or ''<<''. Got
RubyToken::TkLT: "<"
ERROR: While executing gem ... (Errno::EINVAL)
Invalid argument - classes/<.html
2006 Jan 31
2
Problem generating CHM Rails doc
...doc.
I''ve commaned the rdoc to generate the chm by:
rdoc -f chm -o chm_folder action* rails-*
It gave me the following error:
vendor/rails/railties/lib/rails_generator/generators/components/controller/templates/controller.rb:3:15:
Expected class name or ''<<''. G
ot RubyToken::TkLT: "<"
By adding *.document* error has gone and I''ve reached the *Generating
CHM...*, but another error raised:
c:/ruby/lib/ruby/1.8/rdoc/generators/html_generator.rb:1286:in
`initialize'': Invalid argument - classes/<.html (Errno::EINVAL)
I''m running...
2005 Mar 05
3
login generator problem
I am trying to use the login generator, but I keep
getting the following error when I run "generate login
Account":
/usr/lib/ruby/gems/1.8/gems/rails-0.10.0/lib/rails_generator/base.rb:84:in
`manifest'': No manifest for ''login'' generator.
(NotImplementedError)
from (eval):3:in `__send__''
from (eval):3:in `manifest''
from
2005 Nov 30
2
weird errors with self-installed ruby 1.8.3 on Mac OS X 10.4.3
...ere''s another example:
> RDoc failure in lib/active_support/core_ext/time/calculations.rb at
> or around line 29 column 56
>
> Before reporting this, [...]
>
> The internal error was:
>
> ERROR: While executing gem ... (NameError)
> uninitialized constant RubyToken::TkReading2TokenNoKey
The computer is a PowerBook with 1.5GB RAM. Every other application
works fine and the machine is stable, so I''m fairly certin it''s not a
hardware problem (my first thought when I got the segfault).
I tried the preview of 1.8.4 with the same result....