I have been installing rails. I got through the //localhost:3000 information. At that point, I figured I need an app and have been working on salted hash login. I found http://wiki.rubyonrails.com/rails/show/SaltedLoginGeneratorQuickstart and worked through to where I want the create the db tables. Instead, I get script/create_db -bash: script/create_db: Permission denied [root@astarcc html]# ruby script/create_db ./script/../config/../lib/localization.rb:82:in `module_eval'':(eval):3:in `module_eval'': undefined method `render_body'' for class `Class'' (NameError) from ./script/../config/../lib/localization.rb:82:in `module_eval'' from ./script/../config/../lib/localization.rb:82 from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require__'' from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:18:in `require'' from /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support/dependencies.rb:200:in `require'' from ./script/../config/environment.rb:89 from script/create_db:3:in `require'' from script/create_db:3 [root@astarcc html]# please advise.
On Mon, Jul 18, 2005, Max M. Stalnaker wrote:> I have been installing rails. I got through the //localhost:3000 > information. At that point, I figured I need an app and have been > working on salted hash login. I found > http://wiki.rubyonrails.com/rails/show/SaltedLoginGeneratorQuickstart > and worked through to where I want the create the db tables. Instead, I getMy guess is that you don''t have the db_structure gem, which is required to use this script. You can just as easily examine the file in the db directory, which describes the schema in general terms. The README also contains create SQL. Ben