similar to: Error in rails on unbuntu.

Displaying 20 results from an estimated 6000 matches similar to: "Error in rails on unbuntu."

2006 May 06
1
Rails Project only with root rights
I try to create a rails project as usual user. It does not work. If I do that as root it works fine. Also commands rails -v and gem -v does work only with root rights. On the command: developer@linux:~/data> rails test I get following output: /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:95:in `const_missing'': undefined method
2006 Apr 04
0
rails Test problem
Hi- I''m trying to install the latest version (1.1) of Ruby on Rails on an Ubuntu 5.10 (Breezy Badger) system. I compiled ruby, installed gems, and gem installed rails, no problem. However, when I try and set up a test app a get the following error: ~> rails Test /usr/local/lib/ruby/gems/1.8/gems/activesupport-1.3.0/lib/active_support/dependencies.rb:84:in
2006 May 03
0
const_missing & undefined method problems upgrading to Rails 1.1.2
Finally getting around to upgrading our application to Rails 1.1.2. Of course, nothing runs correctly after the upgrade. So far two major problems, perhaps related. Any help would be greatly appreciated. 1. We''re getting const_missing errors. Specifically when trying to use class constants in a custom helper method, being called from a layout template. The class constants were for
2006 Jul 05
1
Routing error "unitialized constant" after refactoring
Hi. I''ve heavily refactored an application. When I access http://0.0.0.0:3000/ I now get the stack trace at the end of this mail. My routes.rb: ActionController::Routing::Routes.draw do |map| map.connect '''', :controller => ''user/dashboard'', :action => ''boo'' map.connect '':controller/:action/:id'',
2006 Jul 01
0
Paypal IPN Gem
Having some problems. Using instant rails 1.3 updated with to rails 1.1.4. Gem Paypal and Money gems are installed. Also installed the plugin paypal, I see it in /vendor/plugins/paypal and restarted the server. I posted my error at the bottom. Any Ideas? Thanks Kindly -Ryan # I have a controller called byc, in it I have this action. def create @registrant =
2006 Jun 06
0
Scaffolding Extension - Polimorphic Associations
When I try to use it with polimorphic associations I get the following error In browse action: activesupport-1.3.1/lib/active_support/dependencies.rb:100:in `const_missing'': uninitialized constant Privable activerecord-1.14.2/lib/active_record/base.rb:1246:in `compute_type'' activesupport-1.3.1/lib/active_support/dependencies.rb:131:in `const_missing''
2007 Mar 06
2
Rails 1.2.2 upgrade problem
I was upgrading today from 1.1.2 to 1.2.2. When I attempt to run the ruby script/server process now, I get the errors below. I have looked through the source files, but nothing obvious. The problem may be a constant which now requires an explicit ''require filename'', but don''t know how to find that constant. Any help would be appreciated! Regards, Don McClean **
2006 Sep 04
5
uninitialized constant BooleanClause
I''ve installed the latest Win32 gem and the acts_as_ferret plugin (i checked out the files and placed them in the vendor/plugins directory). When I try to search I get the following error: uninitialized constant BooleanClause RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace
2006 Aug 25
3
uninitialised constant LoginEngine
In my worker class, when i try to start the worker thread, it throws the error: uninitialized constant LoginEngine - (NameError) /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in `const_missing'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:131:in `const_missing''
2006 Apr 30
1
no such file to load -- net/https
Hi, Came across the substruct project and decided to download and play with it. Am running rails 1.1.2 with ruby 1.8.4 on Ubuntu. I start webrick .. went to the admin section of the store. Create a product. Went to the store section and put this product in my cart and then clicked on checkout. I fill the form and submit it . I click on the "Finish Order" button and get the following
2006 Nov 07
1
Two ActiveSupport Tests Failing with Update Today
I just updated to the latest revision (5445) and ran rake for ActiveSupport and received the following failures: 1) Failure: test_autoload_doesnt_shadow_name_error(DependenciesTest) [./test/dependencies_test.rb:662:in `test_autoload_doesnt_shadow_name_error'' ./test/dependencies_test.rb:655:in `test_autoload_doesnt_shadow_name_error''
2006 Dec 28
3
NET::IMAP / Runner problems
Hello, I have a runner script that is meant to check a mailbox using imap and insert them into the application. The method I am using to do this was taken directly off the rails wiki: require ''net/imap'' # above the class, not within it def self.check_mail imap = Net::IMAP.new(''localhost'') imap.authenticate(''LOGIN'',
2006 May 18
5
Uninitialized Constant in scaffold list page
I''m new to Ruby on Rails and just trying to get it up and running. I''m using RadRails, but I don''t think that matters for this problem. I''ve got a very basic app with one table and I used the scaffold generator for a table called datedgoals. The new page works fine, but then when it switches over to the list page, I get the errors below. Any idea how to fix
2007 Apr 09
2
Errno::EACCES in Controller / Permission denied
Hello, I did a seemingly smooth install of ferret, but when I try to add it to my model, I get an error. My info: My rails site: shelikes (a restaurant review site) My controller: Display My model: Review My only line of code added for ferret is: class Review < ActiveRecord::Base acts_as_ferret ...( more stuff not related )... end Below is the error information. Any thoughts on how
2006 Jul 11
0
"uninitialized constant Enum" in RoR app under Apache
Hi, all. I am trying to manage to run my application under Apache+Mongrel but i am stucked with very difficult (for me) problem. The problem is: RMagick stuff works perfectly under WebRick. My environment is Ubuntu 5.10, ImageMagick 6.2.8, latest version of mongrel, rails, rmagick... Apache 2.2 But if I start the same application under Mongrel I get following error NameError (uninitialized
2006 Nov 27
1
rails environment loaded but one plugin is undefined (using backgroundrb 0.2.0)
Hello all, I''m using BackgroundRb 0.2.0 (standalone) and in the do_work method of my worker, I''m working with objects from my Rails application. So in my config/backgroundrb.yml file, I added this line: :load_rails: true I think my worker isn''t doing what I want him to do. So I opened the console and read these error lines: # ruby script/backgroundrb console
2006 Aug 15
5
ActiveRecord inheritance
Hello, I got the following issue and I do not know how to resolve it: #1. created parent class (AccountExtended) for some my models (lib/classes_lib.rb): class AccountExtended < ActiveRecord::Base def self.findByAccount end end #2. created model Country: require ''lib/classes_lib'' class Country < AccountExtended end #3. and added a test controller what shows
2008 Mar 16
0
ar_mailer problem
Hi, I am having the following problem with ar_mailer. FOr the time being i have manualyy created a record for the email to be sent, in the database in a table named ''emails''. Now if I run ar_sendmail i get the follwing error. C:\Inetpub\event>ar_sendmail Unhandled exception uninitialized constant ActionMailer::ARMailer(NameError):
2006 May 18
1
Unnecessary Gem modules loaded under Rails 1.1.2
All, Rails 1.1.2 Win XP Pro Rubyful Soup 1.0.4 htmltools 1.0.9 I am terribly confused as to what pulling in a gem does with respect to how many modules get loaded at runtime. I am using two gems in my app, Rubyful Soup and htmltools. RubyfulSoup requires one module from the htmltools gem (html/sgml-parser). My app requires the RubyfulSoup gem. When I started my app, something was causing
2006 Jul 29
2
uninitialized constant ApplicationController
Hey, I am getting a weird error that doesn''t give much helpful debug output because the application controller can not be found. The actual error output actually shows up in the webrick server, i''m trying right now wether this could be because of my computer configuration but i don''t think so because it was working yesterday and i must have changed something that