Displaying 20 results from an estimated 40000 matches similar to: "capistrano error: uninitialized constant WEBrick"
2006 Apr 10
0
uninitialized constant WEBrick
I have just upgraded installed rails 1.1 using gem. I have set up a
rails app using radrails. I have set up one model for testing and set
up one migration in order to create the table for that model. When I
type rake migrate I get the following error message.
rake aborted!
uninitialized constant WEBrick
(See full trace by running task with --trace)
I have attached the trace below.
This happens
2010 Dec 08
1
configuration issue (Uninitialized constant Aftimagr (NameError) )
Hello All
I am getting this error, any one resolved this..... it''s urgent
ruby script/server --debugger
=> Booting WEBrick...
=> Debugger enabled
config.gem: Unpacked gem rspec-rails-1.1.11 in vendor/gems has no
specification file. Run ''rake gems:refresh_specs'' to fix this.
config.gem: Unpacked gem rubyist-aasm-2.0.2 in vendor/gems has no
specification file. Run
2006 Mar 27
2
Capistrano deployment issues under Ubuntu Dapper
I''ve recently upgraded my box from Ubuntu Breezy to Dapper, and for
the life of me can''t figure out why I''m getting this exception thrown.
I''ve switched from Switchtower to Capistrano, and when I run rake
deploy I get this output:
** [update_code] exception while rolling back: NameError,
uninitialized constant Net::SSH::Transport::OSSL
2007 Jan 17
1
Get "Uninitialized constant" with Globalize
Hey there :)
Wondering what''s up with this... I just installed the Globalize plug-in
in my current project, ran the rake globalize:setup script, then added
"include Globalize" to my config/environment.rb.
Now, when I try to start my server, I get:
=> Booting Mongrel (use ''script/server webrick'' to force WEBrick)
=> Rails application starting on
2006 Jul 26
4
BackgrounDRb - uninitialized constant
I installed BackgrounDRB as instructed:
script/plugin install svn://rubyforge.org//var/svn/backgroundrb
rake backgroundrb:setup
I started it with:
rake backgroundrb:start
In a model I make the call:
MiddleMan.new_worker :class => :rss_worker
In /lib/workers I have file rss_worker.rb, which contains the class:
Class RssWorker < BackgrounDRb::Rails
def do_work(args)
...
end
end
2010 Apr 11
10
rake db:create uninitialized constant Mysql::Error
I have yet to find a solution for this issue I have tried multiple
things that I have found on google, but yet have i found a solution. If
someone could help me and point me in the right direction I would be
much appreciated.
Thanks.
rake aborted!
uninitialized constant Mysql::Error
** Invoke db:create (first_time)
** Invoke db:load_config (first_time)
** Invoke rails_env (first_time)
**
2007 Nov 02
0
uninitialized constant CreateDatabase
I''m trying to run db:migrate and get the error below.
What''s wrong?
(in C:/projects/rails/admin)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
rake aborted!
uninitialized constant CreateDatabase
c:/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:266:in
2006 Apr 20
1
Capistrano not working for me
Hello fellow railers,
I''m new to the whole RoR thing and I have finished installing and setting
everything up on my OSX G4 Powerbook. I followed the step by step
instructions at Hivelogic, running lighttpd and everything else. I''m having
an issue with Capistrano.
I''m following the tutorial at Apple:
http://developer.apple.com/tools/rubyonrails.html
Everything in
2006 Feb 16
5
Edge Rails, Ruby 1.8.2 and "uninitialized constant ''modelname''" error
I know it might seem like I am repeating myself but I can''t seem to
find the solution to my problem. I am trying to run edge rails using
"rake freeze_edge" and every time I do that my application stops to
work. I get an error on every page. I get a "uninitialized constant
modelname" error where modelname is the object being created for that
view
Has
2006 Jan 08
0
uninitialized constant Test
I recently upgraded to Rails 1.0 and started a new project. I''ve
started writing some tests, but when I run rake, I just get the
following...
Amnesia:~/Development/Rails/pog shad$ rake
(in /Users/shad/Development/Rails/pog)
/usr/bin/ruby -Ilib:test
"/usr/lib/ruby/gems/1.8/gems/rake-0.6.2/lib/rake/rake_test_loader.rb"
"test/unit/pog_test.rb"
2006 Nov 07
0
Remote migration problem: uninitialized constant Enum
When I run ''rake remote:migrate'' teh task fails with the error:
''uninitialized constant Enum''
Other rake remote tasks including rake deploy, update_code etc all work fine.
I get the same error whether I run ''rake remote:migrate'' from my local
machine or when i run ''rake RAILS_ENV=production migrate'' in the root
of my
2010 May 05
2
uninitialized constant when trying to migrate files
Hi,
i am having this problem:
kevinngsw$ rake db:migrate --trace
(in /Users/kevinngsw/Documents/Programming/*******)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
rake aborted!
An error has occurred, this and all later migrations canceled:
uninitialized constant CreateUrls
2005 Oct 15
1
uninitialized constant errors?
Running with WEBrick, I seem to be occasionally
getting these odd "uninitialized constant XXX" errors.
Where the XXX is the first class that whatever action
I run uses (e.g. Product, CartItem etc).
>From the backtrace, it looks almost like the server is
somehow trying to reinitialize?
Any thoughts?
2008 Jun 10
1
NameError in AdminController, uninitialized constant
Hi there basically following the "Agile Web Development With Rails, 2nd
Edition"
i followed the tutorial exaclty, worked fine, so i decided to change one
thing
on page 74 instead of:
ruby script/generate model product
i used:
ruby script/generate model propertys
and:
depot_a/db/migrate/001_create_products.rb
~/Rails/ecom/db/migrate$ cat 001_create_propertys.rb
class
2006 Mar 20
4
Capistrano: cap show_tasks working but rake show_tasks not?
Does it make sense that if I type cap show_tasks it works but when I
type rake show_tasks I get:
rake aborted!
Don''t know how to build task ''show_tasks''
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1287:in `[]''
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:300:in `[]''
2007 Oct 22
4
HOW TO REBUILD DATABASE WITH CAPISTRANO
I''ve deployed an application using Capistrano.
But on my local machine I edited one of the earlier migrations. I''ve
tried "cap deploy_with_migrations", but it looks like it didn''t rebuild
the database.
How can I do the equivalent of this using Capistrano?
"rake db:migrate VERSION=0"
"rake db:migrate"
--
Posted via
2007 Nov 02
1
uninitialized constant ActAsAuthenticated
Hi,
I followed the installation guide on http://technoweenie.stikipad.com/plugins/show/Acts+as+Authenticated,
but db:migrate fails:
$ rake db:migrate --trace
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
rake aborted!
uninitialized constant ActAsAuthenticated
Tried to move include AuthenticatedSystem to ApplicationController,
2007 Jan 12
1
capistrano setup bails with RegexpErr on show_tasks
I am new to RoR, but I have had RoR running with Capistrano on a
different box. However I''m installing a fresh copy now and am finding
constant regex errors from the standard.rb file while attempting to
"show_tasks". As this is a new installation, everything is up-to-date.
Here''s the environment:
FreeBSD 6.2-RC2
ruby 1.8.5
gem 0.9.0
rake 0.7.1
net-ssh 1.0.10, 1.0.9
2006 Mar 08
2
Rake error after installing Capistrano
After I uninstalled SwitchTower and installed Capistrano, I tried run rake
--tasks and got the error message below:
rake aborted!
undefined method `namespace'' for #<Object:0x28a9258>
./rakefile:10
I''ve run "cap -A ." on my Rails application before running rake --tasks. The
same thing happens when I overwrite my copy of deploy.rb.
Hmm, what could be going wrong
2010 Apr 07
1
rake aborted! uninitialized constant Encoding ubuntu
I am new in Ruby on Rails, I am working on ubuntu10.04
I get this error when i run rake db:migrate
(in /home/mostafa/Desktop/book_tracker)
rake aborted!
uninitialized constant Encoding
(See full trace by running task with --trace)
Hope Someone can help in such matter
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core"