I am trying to run rails on FreeBSD 7.1. I've already installed Ruby
1.9.1 (from ports), apache, passenger (edge version from git), Rails
2.3 RC 1 (using gem --source like described on the
weblog.rubyonrails.org). Everything installed smoothly and I am able
to run ruby 1.9.1 programs. The problem is when I try to run rails. It
fails with this error:

[grze...@cratan ~/.gem/ruby/1.9/gems]$ rails
undefined method `camelize' for "app":String

I tried to run the bin/rails script manually using irb19, and this
script at some points does "load 'rails'", which fails in this line:

Rails::Generator::Scripts::Generate.new.run(ARGV, :generator => 'app')

I didn't manage to track it down further. I would appreciate any help.

A bit about my configuration. I have both, ruby18 and ruby19 installed
on my system, but I installed rails from gem19 (I haven't been using
ruby18 and I don't even have gem for ruby18 installed, it's only here
because portupgrade needs it). These gems were installed from root
account:

fastthread-1.0.1.1 (patched version of fastthread-1.0.1)
rack-0.9.1
rake-0.8.3

and these from the user account (to local .gem repository):

actionmailer-2.3.0
actionpack-2.3.0
activerecord-2.3.0
activeresource-2.3.0
activesupport-2.3.0
rails-2.3.0

Many thanks in advance if anyone can help with this.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to