similar to: strange rails error on ubuntu 8.10

Displaying 20 results from an estimated 6000 matches similar to: "strange rails error on ubuntu 8.10"

2007 Sep 16
2
Problem with recognize_path
Hello, I am experiencing a weird problem on one of the 3 test servers I''m using: There is a controller named admin/statistics and I am trying to access /admin/statistics The matching rule is: map.connect '':controller/:action/:id'' On 2 of the 3 servers, recognize_path correctly matches to Parameters: {"action"=>"index",
2010 Apr 27
2
how to start an edge rails app
I want to check out an issue in edge rails. I''ve never used edge before and am having a lot of trouble getting it up and running. Following modified instructions from http://ariejan.net/2009/01/04/how-to-start-a-rails-edge-app-the-easy-way/ $ mkdir -p app/vendor $ cd app $ git clone git://github.com/rails/rails.git vendor/rails $ ruby vendor/rails/railties/lib/rails/cli.rb .
2008 Jan 29
4
Setting up release-1.0.1
Hello, I am unable to get the backgroundrb server to run. Initially I got: /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.1/lib/active_support/dependencies.rb:263:in `load_missing_constant'': uninitialized constant BackgrounDRb::MasterProxy (NameError) from /usr/local/lib/ruby/gems/1.8/gems/activesupport-2.0.1/lib/active_support/dependencies.rb:453:in
2009 Jan 20
5
Problem running rake test
I''m using the One-click 1.8.7rc2 Ruby Windows installer, everything has been working fine up till now, when i want to start getting into testing, i got this error, any reason why? C:/Ruby/bin/ruby -Ilib;test "C:/Ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/ lib/rake/rake_test_loader.rb" "test/unit/word_test.rb" C:/Ruby/lib/ruby/1.8/erb.rb:469:in `scan'': You have a
2006 Apr 03
4
How to create new rails 1.1 app if only rails 1.0 installed?
I have rails 1.0 and I cannot install rails-1.1 system-wide. However, I can freeze_edge (but just once because of svn 1.1.4 on Debian). Under this scenario, how can I create brand new rails-1.1 apps? I know how to freeze_edge *existing* rails-1.0 apps but that process seems to be imperfect because the script/about command and /rails/info/properties URL do not work after freezing to 1.1.0
2011 Mar 07
1
has_one :dependent => :destroy error (in `configure_dependency_for_has_one': compile error (SyntaxError))
Hi I''m getting the following error : /Users/nikosd/.rvm/rubies/ree-1.8.7-2011.02/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/nikosd/.rvm/gems/ree-1.8.7-2011.02@.../bin/rake test Testing started at 12:00 PM ... (in /Users/nikosd/Work/.../.../...)
2012 Oct 16
5
`method_missing_without_paginate': undefined method `class_attribute' for ActiveRecord::Base:Class
hi i am using radiant 0.8.2 , rails 2.3.4, ruby 1.8.7 and rubygems 1.4.2. and i can''t able to run my existing application. error occurred : run command for server "script/server -e production -p 3001" error: => Booting WEBrick => Rails 2.3.4 application starting on http://0.0.0.0:3001 config.gem: Unpacked gem rack-rewrite-1.2.1 in vendor/gems has no specification
2012 Oct 17
2
autolog: set_trace_func without all the typing
If it helps anyone developing Rails, apps, or gems, I wrote a shortcut for set_trace_func, so next time you want to just add a line before and after some function you are trying to debug you can have Ruby temporarily output every line, method, etc. executed. Also, it lets you define the format, use other loggers, etc. via a proc/lambda define, since you might not like the default format.
2011 Dec 07
1
Errors when running the local server
Hi all, I''m running an application on my localhost, but the command "rails server" behaves very inconsistently. About an hour ago it ran well on another app, but got errors now. According to the errors it seemed that the server began to run but the there is something missing in the library. But I''m very new to Rails so cannot figure out what do these lines mean:
2012 Jan 26
2
Problem while creating new resource on ActiveAdmin
HI All, I have installed the Active Admin successfully, but facing the following error while restarting the server after generating an resource. *rails generate active_admin:resource item* /home/logs/Desktop/training/RAILS/courier/app/admin/items.rb:1:in `<top (required)>'': uninitialized constant Item (NameError) from
2010 Feb 06
4
500 Internal Error
I have on ubuntu a digital library application Kete which gives in the log/production.log: Please help, thnx. /!\ FAILSAFE /!\ Fri Feb 05 19:05:08 +0200 2010 Status: 500 Internal Server Error No connection to server (localhost:11211 DEAD (Errno::ECONNREFUSED: Connection refused - connect(2)), will retry at Fri Feb 05 19:05:38 +0200 2010)
2009 Mar 14
5
The 2.3 branch and Rails Edge failing
I found Brandon''s 2.3 branch for Facebooker and thought I''d give that a try to get around the problems I ran into starting script/server with Rails Edge. Unfortunately, no go. The error I get on start up is: > /Users/user/Sites/iwr2/vendor/rails/activesupport/lib/active_support/ > dependencies.rb:440:in `load_missing_constant'': uninitialized > constant
2007 Mar 31
5
DRb server & aaf gem
I''m having problems getting the DRb server running with the aaf gem. I tried it with the plugin installed in my application, and it worked. I suspect the problem has something to do with the startup scripts expecting certain files to be in certain relative file paths. Any insights are appreciated, and maybe if you have time you can update the wiki document :) Thanks for a great
2010 Aug 18
6
undefined method `eq' for nil:NilClass
I''m walking through an example in the "Head First Rails" book, but, instead doing the examples using Rails3.0.0.rc. But, I''m getting this error when browsing for example: http://localhost:3000/advs/1 undefined method `eq'' for nil:NilClass Provided that my advs_controller.rb is as follows: http://pastie.org/private/cd9zntg2ite57ept288kfa Any ideas why
2009 Jun 25
8
Mongrel service keeps re-starting ruby
On Thu, Jun 25, 2009 at 2:07 AM, Michael Pliskin<mike at comapping.com> wrote: > Hi all, > > > > Some disclaimer first: I am a complete newbie in mongrel and this list, so > please forgive me if I say something weird. I have a problem, I?ve googled > for a solution for quite a while and failed so far, so decided to ask here. > > > > I am trying to set up my
2010 Jun 10
9
Rails3 beta4 + Ruby 1.9
When I try rails console using Rails3 beta4 and Ruby 1.9.1-p378 I cannot save a record: > rails console Loading development environment (Rails 3.0.0.beta4) ruby-1.9.1-p378 > g = Game.new => #<Game id: nil, player_id: nil, versus_id: nil, finished: nil, created_at: nil, updated_at: nil> ruby-1.9.1-p378 > g.save NameError: undefined method `<=>'' for class
2006 Aug 17
10
Expected ... to define ...
Hi, I have edge frozen on vendor, and getting these errors logged: Expected ../config/../app/controllers/store_controller.rb to define StoreController ../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:177:in `load_missing_constant'' ../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:275:in
2006 Mar 23
4
Error with Rails 1.1RC1 and Properties page
I just tried setting up a simple Rails app, after updating to the 1.1RC1 version of Rails. Generating a simple scaffold worked fine, and WEBrick started fine with script/server. I then went to the http://localhost:3000 page and clicked on the "About your application''s environment" link, and an error was displayed: NoMethodError in Rails/info#properties private method
2012 Jun 06
1
why to get the error 'undefined method `write_inheritable_attribute''
I started getting this error message when I attempt to do some rake tasks: $ rails destroy scaffold genotypes /usr/share/rails-ruby1.8/railties/lib/rails_generator/options.rb:32:in `default_options'': undefined method `write_inheritable_attribute'' for Rails::Generator::Base:Class (NoMethodError) from /usr/share/rails-ruby1.8/railties/lib/rails_generator/base.rb:90:in
2006 Apr 02
2
Recognition failed for "/rails_info/properties"
Hello. I can''t figure out why I''m getting the following problem, or how to fix it. I have Rails 1.1.0 installed on both OS X and Solaris, and in both new and old projects, and using either WEBrick or lighttpd, I get: Recognition failed for "/rails_info/properties" when lining to it off the welcome to rails page. I get the following errors through the console: