I have the following error when I try to run RAILS (on ubuntu linux).
jan@meskens:~/ruby$ rails /home/jan/ruby/test
/usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support
/dependencies.rb:186:in `const_missing': uninitialized constant Base
(NameError)
from
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_view.rb:30
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in
'require__' from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require' from
/usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support
/dependencies.rb:200:in
`require' from
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller.rb:54
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require__' from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require' from
/usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support
/dependencies.rb:200:in
`require' from /usr/local/lib/site_ruby/1.8/rubygems.rb:175:in
`activate' from /usr/local/lib/site_ruby/1.8/rubygems.rb:162:in
`activate' from /usr/local/lib/site_ruby/1.8/rubygems.rb:161:in
`each' from /usr/local/lib/site_ruby/1.8/rubygems.rb:161:in
`activate' from /usr/local/lib/site_ruby/1.8/rubygems.rb:37:in
`require_gem_with_options' from
/usr/local/lib/site_ruby/1.8/rubygems.rb:31:in `require_gem' from
/usr/bin/rails:17
Is there something I do wrong? I am totaly new in Ruby and Rails... .
I have the following error when I try to run RAILS (on ubuntu linux).
jan@meskens:~/ruby$ rails /home/jan/ruby/test
/usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support
/dependencies.rb:186:in `const_missing': uninitialized constant Base
(NameError)
from
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_view.rb:30
Is there something I do wrong? I am totaly new in Ruby and Rails... .
I am getting this as well, and I know of at least one other getting the
same error.
Nobody on #rubyonrails seemed to know much about it though.
I've got everything working on ubuntu without any problems. Did you
use wajig or apt-get to install ruby or did you build ruby? From the
paths it looks like a wajig install. Did you add links in your
/usr/local/bin for ruby and gem:
I'm a relatively new to ruby/rails so I'm not sure if this has
anything to do with the problems you're getting. There was a previous
post on this list that went through the whole apache2 fcgi ruby/rails
setup that was very good and what I followed to get me up and running.
I've installed ruby with synaptec. Than I made a link for ruby in
/usr/local/bin. Gem I have installed with the command 'ruby setup.rb'.
Then I've done the following for installing rails :
# gem install rails --include-dependencies
At the end I've got the 'success' message, so it's installed.
# rails test
With this command I get the error as mentioned in the first post of me.
[error]
jan@meskens:~/ruby$ rails /home/jan/ruby/test
/usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support
/dependencies.rb:186:in `const_missing': uninitialized constant Base
(NameError)
from
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_view.rb:30
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in
'require__' from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require' from
/usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support
/dependencies.rb:200:in
`require' from
/usr/lib/ruby/gems/1.8/gems/actionpack-1.9.1/lib/action_controller.rb:54
from /usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require__' from
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:18:in
`require' from
/usr/lib/ruby/gems/1.8/gems/activesupport-1.1.1/lib/active_support
/dependencies.rb:200:in
`require' from /usr/local/lib/site_ruby/1.8/rubygems.rb:175:in
`activate' from /usr/local/lib/site_ruby/1.8/rubygems.rb:162:in
`activate' from /usr/local/lib/site_ruby/1.8/rubygems.rb:161:in
`each' from /usr/local/lib/site_ruby/1.8/rubygems.rb:161:in
`activate' from /usr/local/lib/site_ruby/1.8/rubygems.rb:37:in
`require_gem_with_options' from
/usr/local/lib/site_ruby/1.8/rubygems.rb:31:in `require_gem' from
/usr/bin/rails:17
[/error]
Jan
···
Op Mon, 15 Aug 2005 22:44:58 +0900, schreef Andrew Stone:
I've got everything working on ubuntu without any problems. Did you
use wajig or apt-get to install ruby or did you build ruby? From the
paths it looks like a wajig install. Did you add links in your
/usr/local/bin for ruby and gem:
I've installed the things you mentioned but without result. Actually, It's
impossible to create a rails application, and thats my problem. I don't
have the opportunity to use fcgi or postgresql or ... . The execution of
the command 'rails applicationName' fails... .
Jan
···
Op Tue, 16 Aug 2005 00:52:19 +0900, schreef Andrew Stone:
I'm just throwing things out because I have no idea what the problem
may actually be...
What database are you using? If postgres did you do: gem install postgres-pr?
Are you using fcgi? Did you do: gem install fcgi? I've forgotten to
do this one a couple of time
-----Original Message-----
From: Jan Meskens [mailto:janmeskens@pandora.be]
Sent: Monday, August 15, 2005 12:31 PM
To: ruby-talk ML
Subject: Re: Troubles with the installation of RAILS
Op Tue, 16 Aug 2005 00:52:19 +0900, schreef Andrew Stone:
I'm just throwing things out because I have no idea what the problem
may actually be...
What database are you using? If postgres did you do: gem install
postgres-pr?
Are you using fcgi? Did you do: gem install fcgi? I've forgotten to
do this one a couple of time
Hi,
Thanks for answering.
I've installed the things you mentioned but without result. Actually, It's
impossible to create a rails application, and thats my problem. I don't have
the opportunity to use fcgi or postgresql or ... . The execution of the
command 'rails applicationName' fails... .
If you didn't get any errors on the gem install of rails and you have
all the gems I listed then the only other place (I can think of) to
look is at your ruby installation. So check for the above listed
items and see if you are missing any of these...
If you didn't get any errors on the gem install of rails and you have
all the gems I listed then the only other place (I can think of) to
look is at your ruby installation. So check for the above listed
items and see if you are missing any of these...
Okay,
I've made my ruby installation exactly like yours, and have reinstalled my
rails. It seems to be better, I get a 'cleaner' error.
[error]
$>rails test
Rails requires Ruby version 1.8.2 (2004-12-25) or later.
You're running 1.8.2 (2004-12-23); please upgrade to continue.
[/error]
Now I need to reinstall some things of ruby maybe...
On 8/15/05, Jan Meskens <janmeskens@pandora.be> wrote:
> If you didn't get any errors on the gem install of rails and you have
> all the gems I listed then the only other place (I can think of) to
> look is at your ruby installation. So check for the above listed
> items and see if you are missing any of these...
Okay,
I've made my ruby installation exactly like yours, and have reinstalled my
rails. It seems to be better, I get a 'cleaner' error.
[error]
$>rails test
Rails requires Ruby version 1.8.2 (2004-12-25) or later.
You're running 1.8.2 (2004-12-23); please upgrade to continue.
[/error]
Now I need to reinstall some things of ruby maybe...