Displaying 20 results from an estimated 10000 matches similar to: "Depot example problem on Slackware"
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:
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:
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 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
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 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
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
2006 Jan 14
5
New problem with Mac OS X + rails + mysql. Please help!
All,
I am working through the ''depot'' sample application from the
"Pragmatic Programmers" book on my
powerbook. I was going through the install process on
http://hivelogic.com/articles/2005/12/01/
ruby_rails_lighttpd_mysql_tiger and it seemed to work fine.
But when I try to create the first table, I get the following error,
and I have no idea what this means.
Any
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 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
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
2013 Mar 14
3
Error: did not find expected key while parsing a block mapping
I run test:
test:units
lass ProductTest < ActiveSupport::TestCase
test "product attributes not be empty" do
product = Product.new
assert product.invalid?
assert product.errors[:title].any?
assert product.errors[:description].any?
assert product.errors[:price].any?
assert product.errors[:image_url].any?
end
test "price musst be
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>''
2006 Feb 19
4
Why is configuration in YAML and not Ruby?
On thing that has struck me about dynamic languages is that you don''t
need configuration files at all. You can just alter the definitions
directly in the Ruby code.
So if everything is Ruby and configuration files are frowned upon, why
does Rails store the database connectors in a config file ''database.yml''
What''s wrong with a
2006 Feb 22
15
Fixtures and Relationships
In my daily development, I migrate back and forth between versions, and
often do: rake load_fixtures...
... in order to populate my development database with fun data.
Now, with any HABTM relationship, there are failures, as there is no way to
say "which" fixtures to load first.
Within an actual functional or unit test case, you could simply load them in
the proper order, but
2010 Mar 26
6
Rake argument error
Hi,
I''m having a problem loading a sample data with simple rake command.
rake db:fixtures:load
When I run the above command,I get the following error
$rake db:fixtures:load
(in /home/raghu/www/photos)
rake aborted!
a YAML error occurred parsing
/home/raghu/www/photos/test/fixtures/photos.yml. Please note that YAML
must be consistently indented using spaces. Tabs are not allowed. Please
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 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 07
12
what is the IDE tools used in the video?
What is the IDE tools used in the video on the homepage of the
www.rubyonrails.org?I had thought it was Komodo,however after I had
installed that i found they were different.I do think the IDE used in
the video is very cool for its autocomplete abilities especially in the
Views development.Thanks!
--
Posted via http://www.ruby-forum.com/.