similar to: beginner's problem after changing the database configuration file

Displaying 20 results from an estimated 20000 matches similar to: "beginner's problem after changing the database configuration file"

2006 Jun 08
2
Am i missing a library?
[xxxxx@fedora test]$ script/generate model contact /usr/lib/ruby/1.8/yaml.rb:133:in `load'': syntax error on line 17, col 2: ` host: localhost'' (ArgumentError) from /usr/lib/ruby/1.8/yaml.rb:133:in `load'' from /usr/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/initializer.rb:459:in `database_configuration'' from
2006 Apr 28
0
error with database.yml when running rails generate script
Hi All, I''m learn about ruby and rails in the same time. I got error when running rails generate script when trying to create application with db When I execute "ruby script/generate scaffold Product Admin" It give me error like this "/usr/local/lib/ruby/1.8/yaml.rb:133:in `load'': syntax error on line 33, col 8: ` #host: localhost'' (ArgumentError)
2009 Aug 14
1
starting up server
I am working on an existing application and the first time I try and start up the server I get this message. I have not gotten this message before when I start the server on other apps. ruby script/ server. There must be things I need to change in the config. There is a load statement in yaml.rb but not sure of the context as it relates to argument. Is the error related to the current
2009 Jul 17
1
Mongrel Server error - newbie question.
Dear All, I am very new to RoR. I have got the following error after Chnaging mysql database.yml and restart the Server. - rails employee rails -d mysql employee and insert Username & Password in the database.yml and I restart the server. - => Booting Mongrel => Rails 2.3.2 application starting on http://0.0.0.0:3000 /usr/local/lib/ruby/1.8/yaml.rb:133:in `load'': syntax
2008 Jul 17
0
More trouble connecting Rails to Oracle
Hi, I have an application under development that I have been working on with a PC. I have just checked out the code on a Mac, and I cannot get my server to start. I am using Rails 2.0.2. Below is the error: wireless:events me$ ruby script/server => Booting Mongrel (use ''script/server webrick'' to force WEBrick) => Rails application starting on http://0.0.0.0:3000 =>
2006 Apr 05
3
Rails 1.1 and webrick/mysql problems
i just upgraded to rails 1.1 yesterday and since then i could?nt make it work with mysql, for example i have my database "todo" and one table "todos", i create the app and generate the model but when i try to generate the scaffold with "ruby script/generate scaffold Todo Todo" i get this error " error Before updating scaffolding from new DB schema, try
2006 Jan 29
6
Depot example problem on Slackware
Hello. I''m new to RoR. I run RoR on my Slackware. I follow the depot example and have a problem when run the script: root@localhost:~/work/depot# ruby script/generate scaffold Admin Product /usr/lib/ruby/1.8/yaml.rb:133:in `load'': syntax error on line 5, col 2: ` socket:/var/run/mysql/mysql.sock'' (ArgumentError) from /usr/lib/ruby/1.8/yaml.rb:133:in
2010 Aug 12
3
script/server problem/...
root@essc-openvpn:/websites/teambox.mydomain.com/teambox# sudo script/ server -e development /usr/lib/ruby/gems/1.8/gems/bundler-1.0.0.rc.5/lib/bundler/runtime.rb: 132: warning: Insecure world writable dir /usr/bin in PATH, mode 040777 => Booting Mongrel => Rails 2.3.8 application starting on http://0.0.0.0:3000 /usr/lib/ruby/1.8/yaml.rb:133:in `load'': syntax error on line 6, col 2:
2006 Jun 20
4
Newbie Question to Get Rolling on Rails
I''m not sure if this is the right place to ask such questions. If not, my apologies and please direct me where such questions are handled. I am new to RoR and have been following the tutorial in Agile Web Developement with Rails. I have successfully gotten RoR up and running on my Mac (OS X 10.4.6) and created a MySQL database. However, on page 57 of the tutorial, the command
2005 Dec 02
3
yaml Error When Trying to Generate Scaffold
Hello there, I am a Ruby on Rails newbie, and have been reading the book, "Agile Web Development with Rails", by Dave Thomas. Seem to be stuck on page 57, when trying to invoke "ruby script/ generate scaffold Product Admin"... My depot/config/database.yml file''s contents are: development: adapter: mysql database: depot_development socket:
2009 Feb 10
3
scaffold macro problem
Hello, I am using Komodo Edit 5.0 for ROR. I have made the database by using the macros in it. But when I make model using sacffold, I get error. The details are given below: C:/Ruby/lib/ruby/1.8/yaml.rb:133:in `load'': syntax error on line 22, col 2: ` password:'' (ArgumentError) from C:/Ruby/lib/ruby/1.8/yaml.rb:133:in `load'' from
2005 Oct 27
0
Skipping framework in new initializer doesn't skip framework
Hi, rails-0.14.2/lib/initializer.rb states: # This initialization routine does nothing unless <tt>:active_record</tt> # is one of the frameworks to load (Configuration#frameworks). If it is, # this sets the database configuration from Configuration#database_configuration # and then establishes the connection. def initialize_database # code end In
2005 Oct 27
0
Re: Skipping framework in new initializer doesn't skip framework - IGNORE
Please ignore. Sorry for the garbage on the list. I had accidently pasted this at the bottom of environment.rb ActiveRecord::Base.establish_connection ouch... jh On 10/27/05, James Hughes <hughes.james-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > Hi, > > rails-0.14.2/lib/initializer.rb states: > > # This initialization routine does nothing unless
2007 Dec 11
2
RoR Error When Doing: rake db:schema:load
Hey, I am new to this and I thought I had finally set up everything perfectly after three days of trying to configure it. However I run this command: rake db:schema:load and I get an error "syntax error on line 23, col 11: `''". The error however is now with the schema it''s with the ruby install itself as you can see with the trace I ran:
2006 Jan 08
5
parse error in database.yml
Since upgrading to rails 1.0 I keep getting a parse error in database.yml. I have tried multiple configurations of both mysql and postgres and continue getting this error message when trying to generate a model or scaffold. -Andrew
2006 May 24
3
Error when *just* adding utf8 encoding to database.yaml
Hi, I have Ruby 1.8.4 and have my MyISAM db and tables created via the migration files to utf8. A check with MySQL Front shows that all the tables and the db have been correctly created as I wanted them. I want the site to be in UTF8 format, and added the bit to application_controller.rb to get the correct header. All still worked fine at this stage. But I run into trouble when adding:
2010 Sep 02
1
Error No such file or directory
Hi, I have a website deployed on heroku, but my local git repository was ereased, so I m trying to create a new local repository pulling my deployed site. I run : git clone -o heroku git-Vgi1d2+GxVTQT0dZR+AlfA@public.gmane.org:my_app.git, but now when I run script/server I get this error msg: pedro@ubuntu:~/proj/my_app$ script/server => Booting WEBrick => Rails 2.3.8 application starting
2013 Feb 05
3
dashboard permission issue
I''m having trouble getting puppet dashboard (1.2.21) to run on apache. i installed puppetmaster-passenger and puppet-dashboard package. It didn''t create user puppet-dashboard automatically as stated in the installation guide, so i created one manually and chowned all files under /puppet-dashboard. when testing with webrick everything works fine (as root). when i try with
2013 Feb 02
2
rake db:migrate problem
mini@mini:~/Sites/music_library$ rake db:migrate rake aborted! couldn''t parse YAML at line 28 column 6 /home/mini/my_gems/gems/railties-3.2.9/lib/rails/application/configuration.rb:115:in `database_configuration'' /home/mini/my_gems/gems/activerecord-3.2.9/lib/active_record/railtie.rb:78:in `block (2 levels) in <class:Railtie>''
2011 May 06
1
scaffold didn't work
i am using rails -v 3.0.7.when i tried "rails generate scaffold try name:string number:decimal" , it gave following error message invoke active_record /usr/lib/ruby/1.8/yaml.rb:133:in `load'': syntax error on line 7, col 2: ` pool: 5'' (ArgumentError) from /usr/lib/ruby/1.8/yaml.rb:133:in `load'' from