similar to: More trouble connecting Rails to Oracle

Displaying 20 results from an estimated 10000 matches similar to: "More trouble connecting Rails to Oracle"

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
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
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
2009 May 06
0
OCI Library Initialization Error
I am attempting to connect to ORACLE11g however i am getting the following error: "OCI Library Initialization Error" IT always errors on OCIENV.init(). I cant see anything wrong on the ENV configurations. Has anyone had this problem, or any suggestions on where i should look for anwers? I am using the following gems: ruby-oci8 (1.0.4) activerecord-oracle-adapter (1.0.0.9250)
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
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 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 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 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
2009 Oct 08
0
autospec cannont find gems
I am trying to install rspec for rails and have the following gems install C:\INSTAN~3.0-W\rails_apps\katai>gem list --local *** LOCAL GEMS *** actionmailer (2.3.4, 2.0.2) actionpack (2.3.4, 2.0.2) activerecord (2.3.4, 2.0.2) activeresource (2.3.4, 2.0.2) activesupport (2.3.4, 2.0.2) authlogic (2.1.2) autotest-rails (4.1.0) builder (2.1.2) capistrano (2.5.9, 2.1.0) cgi_multipart_eof_fix
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:
2011 Oct 26
1
problem profiling rspec boot time with ruby-prof
We recently upgraded to rspec2 / rails 3 and our specs are taking a very long time to run. It takes nearly 12 minutes before the first dot comes out. Before the upgrade, our entire suite of 6000+ specs would run in about 6 minutes. The majority of the delay seems to be during the loading of the spec files. Adding instrumentation to the rspec-core lib/rspec/core/ command_line.rb, you can see
2008 Jan 11
0
Failure to load "openssl.bundle" (RuntimeError) - need help
I''m new to Ruby on Rails and am using the stack provided in Leopard. I''m trying to generate scaffolding for a basic app, and I''m receiving the following error message: ember:~ trey$ ruby ~/Sites/cookbook2/script/generate scaffold recipe recipe /usr/local/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/initializer.rb: 159:in `require_frameworks'': Failed to load
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:
2011 May 14
0
Undefined method `has_attached_file' with paperclip 2.3.8 gem for Rails 2 using Ruby 1.8.7
Hello, I am trying to use the paperclip plugin in my rails app to upload images for posts. I am using Rails 2.0.2 and ruby 1.8.7 on Ubuntu 10.04 os for project specific purposes. I am referring to the following tutorials for this :- 1. http://railscasts.com/episodes/134-paperclip?view=comments 2. http://jimneath.org/2008/04/17/paperclip-attaching-files-in-rails.html I did a git clone on the
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
2010 Dec 08
1
configuration issue (Uninitialized constant Aftimagr (NameError) )
Hello All I am getting this error, any one resolved this..... it''s urgent ruby script/server --debugger => Booting WEBrick... => Debugger enabled config.gem: Unpacked gem rspec-rails-1.1.11 in vendor/gems has no specification file. Run ''rake gems:refresh_specs'' to fix this. config.gem: Unpacked gem rubyist-aasm-2.0.2 in vendor/gems has no specification file. Run
2009 May 25
2
CAn u please tell wats the prob in runnning my project?
[~/kallori]# rake db:migrate (in /home/gm/kallori) no such file to load -- hmac-sha1 /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require'' /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require'' /home/gm/kallori/vendor/rails/activesupport/lib/active_support/ dependencies.rb:510:in `require''