Displaying 20 results from an estimated 1000 matches similar to: "error running 'ruby script/console' => "uninitialized constant RAILS_ROOT" ??"
2006 Mar 13
2
Engines with InstantRails
I''ve recently started playing with InstantRails 1.0 and am now wanting
to experiment with the Login and active RBAC engines but having trouble
getting them to install.
I''ve checked the following but can''t find any info on how to get it to
work.
http://rails-engines.org/wiki/pages/Engines+plugin
I''ve also tried the following:
2007 Jan 20
2
Rails 1.2.1 console not working
I''m running Rails 1.2.1, Ubuntu Server 6.10 and my console isn''t
running... same project checked out via SVN runs in console on my
Windows machine.
error:
brian@rails-server:~/work/mediabump$ ruby script/console
Loading development environment.
/usr/lib/ruby/gems/1.8/gems/rails-1.1.6/lib/commands/console.rb:25:in
`exec'': No such file or directory - irb -r
2007 Jun 21
1
render :partial => :url - is it possible?
Hi, this is my first post to the list. I''m still learning the rails
framework, having done most of my previous web development in PHP. I''ve
done a bit of googling for the answer to this question, but maybe I''m
just lacking the right word to search for.
Several parts of my site, such as sidebar components, are
self-contained, modularized and re-used in several parts
2006 Jun 14
0
ACTIVE_BRAC engine migration error.
Hello Keegan,
You may already have forgotten about your posting from last month - but I
stumbled across the EXACT same error today, and figured out a way around
it.
The difficulty stems from you running under Windows XP, probably running
InstantRails, right?
I fairly quickly discovered that the reason things were not working
according to the ActiveRBAC Manual was that
the code for
2007 Oct 24
7
NameError in CustomersController#index
I''m new to Rails. I finished the Cookbook tut. no problem. I''m
trying to start a project of my own, follow the same instructions but
the difference is I created the database myself.
After I create the scaffolds and try them out I get this error
NameError in CustomersController#index
uninitialized constant Customer
RAILS_ROOT: ./script/../config/..
Application Trace |
2006 May 22
4
RMagick gem problem using Rails and possibly WEBRick...
Hello, I am new to rails but have been having fun so far. Until now.
I
am sure this is just my inexperience but I have the RMagick gem (ruby
gem
for using imagemagick manipulation) installed on my machine that I
would
like to then use in my rails app. I first installed it and tried it
out,
and it didnt do anything for me, took me a while to realize I needed
the
windows RUBYOPT
2006 Mar 08
6
GD error...
Hi!
I''m new in ruby/rails programming and i have a small problem.
I have installed InstantRails 1.0 (for Ruby/Rails/Mysql/Apache envs) and
I''m trying to make a small app working. I''m using auth_generator for
making a login page/users admin pages... and I have a problem when
trying to CHANGE the avatar for the user.
I have the following error:
MissingSourceFile
2008 Apr 13
8
Brand new to rails: can't get databases to work
Just starting to learn rails. All is going well, until I tried to hook
up a database.
"undefined method `model'' for ZingerController:Class" is the message I
get from the server.
I imagine I''ve left something out that is keeping me from connecting
to the database, but I''m not exactly sure what.
Your help is appreciated.
bests,
-rsr-
session dump:
2008 Apr 19
1
Problem with Active Web Service on InstantRails
Hi,
I''m trying to install and use activewebservice on Rails 2.0.2(using
instantrails)
the gem install activewebservice finished succesfully.
walked through the steps listed at:
http://www.texperts.com/2007/12/21/using-action-web-service-with-rails-20/
when I try to start mongrel I get the following trace
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development
2007 Sep 04
4
Errors in executing first RoR app - reg.
Hi Friends,
I am brand new to RoR.Kindly help me with the following problem.
Following are the steps i have done.
1) C:/> rails appone
2) C:/> cd appone
3) C:/appone> cd script
4) C:/appone/script> ruby generate controller appone index
5) Edited C:/appone/app/controllers/appone_controller.rb
class ApponeController < ApplicationController
def index
time = Time.now
2007 Apr 12
1
rspec on rails: undefined method ''controller_name''
Im trying to write a controller spec, but when I run it I get an error like
the one below.
I found Bug6707
(http://rubyforge.org/pipermail/rspec-devel/2007-March/002147.html
), but I get the error no matter how I run the spec
( whether I use rake or not)
Any ideas?
I am using 0.8.2
The Error:
C:/rails/InstantRails/ruby/lib/ruby/gems/1.8/gems/rspec-0.8.2/lib/spec/expectati
ons/sugar.rb:14:in
2006 Mar 30
4
Capistrano Shovel onto Textdrive SVN error
I''m using the Shovel recipe to deploy my lovely app to text drive.
everyhting seems to be ok apart from the deploy action which fails
saying that there is "No such file or directory" I''ve included the full
error listing below.
The SVN definately exists because we''re using for development.
Does any one have any ideas what might be going wrong?
Thanks
Tom
2007 Jan 06
2
S3 throwing invalid argument using AWS S3 API
Hello,
Im using the following amazon web service API for S3 :
http://amazon.rubyforge.org/
The problem is that after I establish a connection using
establish_connection!, and try using the "store" command, I keep getting
the following error. However, if I reboot my webrick server, it works
fine for about one hour and then starts throwing this error:
Errno::EINVAL in
2007 Jun 02
2
Unit tests breaks with sqlite
Hi,
I''m using an sqlite3 database with Rails and have some trouble running
unit tests
What I''ve done is
* rails my_app
* edited database.yml to use sqlite3 adapter, db/my_app_development
and db/my_app_test
* ruby script\generate model user
* edited model
class User < ActiveRecord::Base
validates_presence_of :name
validates_uniqueness_of :name
end
*
2007 Feb 20
1
error message for record not found ?
I''m using backgroundrb for session management and deletion of visitor-entered information when a session is abandoned. The visitor can either click a button to end their session and remove their data, or backgroundrb will do it for them after 5 minutes of inactivity.
Everything''s working fine, I think. If the visitor explicitly logs out, then when the worker checks for their
2008 May 09
2
Getting an error when trying to create a new application..
I''m new to Ruby/Ruby on Rails. I''m trying to create an application and
am getting this error:
C:\InstantRails\rails_apps>rails demo
C:/InstantRails/ruby/lib/ruby/site_ruby/1.8/rubygems.rb:379:in
`report_activate_
error'': RubyGem version error: activesupport(2.0.2 not = 2.0.2.9216)
(Gem::LoadE
rror)
from
2006 Jun 12
1
Instant Rails and your own applications
?I like your form css at
http://www.pllite.com/projects/new
Nice stuff!
Stuart
-----Original Message-----
From: ian.connor at gmail.com
Sent: Monday, June 12, 2006 3:14 AM -07:00
To: instantrails-users at rubyforge.org
Subject: [Instantrails-users] Instant Rails and your own applications
Here is the download link for the Instant Rails version of ProjectLounge
Lite.
2006 Aug 04
1
route error with controllers in a module, should just work
This is ALL I have added to my routes.rb
map.connect ''admin'', :controller => ''/admin/welcome''
I have found plenty of examples saying this is correct if you have a
WelcomeController in the Admin module, which I do :)
But now webrick won''t even start ??? Look at those 4 colons ::::, what
is that about ?
help !
=> Booting WEBrick...
2007 Mar 15
1
Getting the stack trace
Hi all,
I am using the following code to print the exception, but is there a
way to get the stack trace of the complete error like
Exception: No option with text of Contract form in this select element
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/watir-1.5.1.1145/./watir.rb:3656:in
`select_item_in_select_list''
2006 Jul 24
1
All functional tests fail with RoutingError
All,
I''m using InstantRails 1.0 on Windows XP and all my functional
(controller) tests fail with ActionController::RoutingError, although
the actions work OK through a web server/browser. Here''s an example of
an error:
1) Error:
test_create(AdminControllerTest):
ActionController::RoutingError: No url can be generated for the hash
{:controlle
r=>"admin",