Hey all, Just tried to install the salted login generator and got the following errors: Attempting local installation of ''salted_login_generator'' Local gem file not found: salted_login_generator*.gem Attempting remote installation of ''salted_login_generator'' Updating Gem source index for: http://gems.rubyforge.org Successfully installed salted_login_generator, version 1.0.9 Installing RDoc documentation for salted_login_generator-1.0.9... WARNING: Generating RDoc on .gem that may not have RDoc. templates/controller.rb:2:14: Expected class name or ''<<''. Got RubyToken::TkLT: "<" templates/controller_test.rb:7:9: Expected class name or ''<<''. Got RubyToken::Tk LT: "<" templates/helper.rb:16:71: '':'' not followed by identified or operator templates/helper.rb:35:28: '':'' not followed by identified or operator templates/helper.rb:39:28: Expected class name or ''<<''. Got RubyToken::TkASSIGN: "=" templates/helper.rb:40:27: Expected class name or ''<<''. Got RubyToken::TkASSIGN: "=" templates/helper.rb:46:29: Expected class name or ''<<''. Got RubyToken::TkASSIGN: "=" templates/helper.rb:53:62: '':'' not followed by identified or operator templates/helper.rb:59:60: '':'' not followed by identified or operator templates/helper.rb:68:79: '':'' not followed by identified or operator templates/helper.rb:99:55: '':'' not followed by identified or operator After this last line it hangs. It''s been hanging for the past 20 minutes. Please advise! =) Jin
Following the advice of http://wiki.rubyonrails.com/rails/show/SaltedHashLoginGenerator and using --no-rdoc as an option to gem seems to solve the problem. Jin Lee wrote:> Hey all, > > Just tried to install the salted login generator and got the following errors: > > Attempting local installation of ''salted_login_generator'' > Local gem file not found: salted_login_generator*.gem > Attempting remote installation of ''salted_login_generator'' > Updating Gem source index for: http://gems.rubyforge.org > Successfully installed salted_login_generator, version 1.0.9 > Installing RDoc documentation for salted_login_generator-1.0.9... > WARNING: Generating RDoc on .gem that may not have RDoc. > > templates/controller.rb:2:14: Expected class name or ''<<''. Got RubyToken::TkLT: > "<" > > templates/controller_test.rb:7:9: Expected class name or ''<<''. Got RubyToken::Tk > LT: "<" > > templates/helper.rb:16:71: '':'' not followed by identified or operator > > templates/helper.rb:35:28: '':'' not followed by identified or operator > > templates/helper.rb:39:28: Expected class name or ''<<''. Got RubyToken::TkASSIGN: > "=" > > templates/helper.rb:40:27: Expected class name or ''<<''. Got RubyToken::TkASSIGN: > "=" > > templates/helper.rb:46:29: Expected class name or ''<<''. Got RubyToken::TkASSIGN: > "=" > > templates/helper.rb:53:62: '':'' not followed by identified or operator > > templates/helper.rb:59:60: '':'' not followed by identified or operator > > templates/helper.rb:68:79: '':'' not followed by identified or operator > > templates/helper.rb:99:55: '':'' not followed by identified or operator > > > > After this last line it hangs. It''s been hanging for the past 20 minutes. > > Please advise! =) > > Jin > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails