similar to: parse error in database.yml

Displaying 20 results from an estimated 4000 matches similar to: "parse error in database.yml"

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
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
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
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
2006 Sep 15
2
unable to figure out how to get backgroundrb.yml to be used when starting backgroundrb
i ran rake backgroundrb:setup and modified the default config/backgroundrb.yml file as: --- port: "22223" timer_sleep: 60 load_rails: true environment: production host: localhost database_yml: config/database.yml acl: deny: all allow: localhost 127.0.0.1 order: deny,allow and my database.yml production: adapter: mysql database: chip2_production username: xxxxx password:
2006 Jan 25
38
Rails app won''t run on Dreamhost - "incomplet headers" error
Can anyone provide some expert debugging help here? What''s the first step to take to see what the issue is here? I have no errors in the rails app''s log files. The only errors I have are those provided by apache and they are: ''FastCGI: Incomplete headers (0) bytes received from server'' I''ve tried editing the shebang line, removing line feeds, but
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:
2011 Mar 31
1
Question about setting database config without database.yml
A little background. We are deploying a rails app on jboss by using warbler and the app is using rails 3.0.3. There are several parameters the customer may need to change. Some of these parameters include database connection information, ie shema, username, password, host, port, and database. We are connecting through oracle thorugh the jdbc adapter. My problem lies in the fact that I cannot
2006 Jan 22
2
Rails and Apache: Error
I''ve done my development using WEBrick, and now I want to put my application on a server that uses Apache. (not with fcgi) I think I''ve done everything like I''m supposed to, but when surfing to my site I get: Application error Rails application failed to start properly" In /var/log/apache/error_log, I get this error:
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 Mar 31
6
Install rubygems error
I made the mistake of trying to upgrade to 1.8.4 from 1.8.2 and had intended to upgrade to rails 1.1. I have now completely borked my ruby gems installation. After installing ruby I get the following error when trying to execute gem: /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'': no such file to load -- zlib (LoadError) from
2006 May 23
2
transpose dataset to PC-ORD?
Hello: I need to take a species-sample matrix and transpose it to the format used by PC-ORD for analysis. Unfortunately, the number of species is very large (>5000), and so this operation cannot be performed simply in an application like Excel, which has a 255 column limit. So, I wrote relatively simple code in R that I hoped would do this (appended below). But there are glitches. The
2006 Feb 13
3
TypeError
What might cause this error? TypeError (singleton can''t be dumped): /usr/lib/ruby/1.8/pstore.rb:159:in `dump'' /usr/lib/ruby/1.8/pstore.rb:159:in `dump'' /usr/lib/ruby/1.8/pstore.rb:138:in `transaction'' /usr/lib/ruby/1.8/cgi/session/pstore.rb:90:in `update'' /usr/lib/ruby/1.8/cgi/session/pstore.rb:97:in `close''
2006 Mar 07
4
Edge Rails - same code, different issues on mac and windows
Trying to get an app up and running with Edge Rails, and I''ve run into different issues on Mac and Windows with the exact same code. It''s similar to the issue posted in the previous RJS/Edge Rails thread, but I didn''t see any answers in there (maybe I missed the real answer?) Both console/error outputs listed below: I can''t even get WEBrick to start on
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)
2006 Mar 28
8
1.1 broke my app
I upgraded to Rails 1.1 (ruby 1.8.2 and ruby 1.8.4 on RHEL 4 using webrick or fastcgi) and all of a sudden I get this hitting a controller: wrong number of arguments (1 for 0) RAILS_ROOT: script/../config/.. Application Trace | Framework Trace | Full Trace /usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.0/lib/action_controller/base.rb:379:in
2006 Apr 07
4
file_column and animated gifs
hi, is it possible to resize animated gifs with file_column? if i upload an animated gif file with file_column than the animation no longer exists... -- Posted via http://www.ruby-forum.com/.
2006 Mar 08
6
GD error...
Hi! I''m new in ruby/rails programming and i have a small problem. I have installed InstantRails 1.0 (for Ruby/Rails/Mysql/Apache envs) and I''m trying to make a small app working. I''m using auth_generator for making a login page/users admin pages... and I have a problem when trying to CHANGE the avatar for the user. I have the following error: MissingSourceFile