Displaying 20 results from an estimated 3000 matches similar to: "Rake DB Migration"
2013 Oct 20
1
cannot load such file -- unicode (LoadError)
I''m new to RoR and working on a migration of project developed by another
team.
I''m using Rails version (3.2.13) and my bundle install works successfully.
However while running "rails server", I get the error below.
Any suggestions are most appreciated.
Thanks!
-------------- rails server output --------------
2012 Jun 09
0
custom_require.rb:36:in `require': 193: %1 is not a valid Win32 application
I just installed rails using Rails installer.
and when I ran the following code:
> rails new blog
>
I got the following errors:
F:/dev/ruby/RailsInstaller/Ruby1.9.3/lib/ruby/site_ruby/1.9.1/rubygems/custom_re
quire.rb:36:in `require'': 193: %1 is not a valid Win32 application. - F:/dev/r
uby/RailsInstaller/Ruby1.9.3/lib/ruby/1.9.1/i386-mingw32/digest/md5.so (LoadErro
r)
2006 Apr 17
20
Rubricks - CMS on Rails
Hi list,
I made an open source CMS powered by Rails, named Rubricks.
I have a web page for Rubricks.
You can download it or view a flash demo there.
Please try them and feed me back, like bug report etc.
Check it out at:
http://rubricks.org/index_en.html
Thanks.
Shouta
2007 Sep 12
0
Error when running migrations
I''ve checked out a rails project that i''m working on from a repository,
and created a new database for it. However whenever i try and run the
migrations i get the following error:
rake aborted!
#<AppConfig:0xb7870f84> is not a class/module
Whenever I try to fire up a webrick server, i get the following error:
=> Booting WEBrick...
2008 Oct 14
1
Starting Server gives an error
Hi,
I had created a new environment and tried to start the webrick server
for that environment but it is giving an error:-
E:/demo/vendor/rails/railties/lib/commands/servers/
webrick.rb:11: warning: already initialized constant OPTIONS
E:/demo/vendor/rails/activesupport/lib/active_suppo
rt/dependencies.rb:249:in `load_missing_constant'': Expected E:/Demo
2008 Mar 28
1
undefined method ''alias_method_chain''
Running Rails 2.0.2, I get this error:
./script/../config/../vendor/plugins/facebooker/lib/facebooker/rails/facebook_url_rewriting.rb:29:
undefined method `alias_method_chain'' for
ActionController::UrlRewriter:Class (NoMethodError)
from /usr/local/rubygems/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
from
2006 Jun 15
1
Unicode hacks - problem
I have updated to latest Unicode hacks plugin and now it fails when
rails are started ....
C:\ruby_projects\radrails\workspace\auth_template>mongrel_rails start
** Starting Mongrel in development mode at 0.0.0.0:3000
** Starting Rails in environment development ...
C:/ruby_projects/radrails/workspace/auth_template/config/../vendor/plugins/scoped_access/init.rb:17:in
2008 Oct 28
1
Old Rails app: can't find file_column gem?
Hi all
I''m trying to get some old Rails app to work. But when trying to start
it, I get the following error:
josh$ script/server
=> Booting WEBrick...
./script/../config/../config/environment.rb:5: warning: already
initialized constant RAILS_ENV
/Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'': no such file to load -- file_column
2006 Feb 09
4
Login_Engine: trouble configuring
Hi Guys,
I''m having some trouble getting login_engine to work. I''ve followed the
steps in the README file to the letter (I think) with the exception of
the Mailer stuff and cannot get my application to run. Heres what I have;
module ApplicationHelper
include login_engine
end
#####################################
require ''login_engine''
class
2006 Feb 01
2
Uninitialized constant ApplicationController?
Hello list,
I''m trying to start my Rails server after doing a long complex switch
from Postgres to MySQL, and I''m getting the following error:
=> Booting WEBrick...
/usr/lib/ruby/gems/1.8/gems/activesupport-1.2.5/lib/active_support/dependencies.rb:200:in
`const_missing'': uninitialized constant ApplicationController
(NameError)
from
2007 Feb 08
1
Problem with acts_as_taggable table migration
I just installed acts_as_taggable in my Rails app, and built the
migration for the needed tables. When I went to run the migration via
the rake command I got this:
/Users/brianlandau/rails/lispr/config/../vendor/plugins/
acts_as_taggable/lib/acts_as_taggable.rb:1: syntax error, unexpected
$end
"WHERE #{table_name}.#{primary_key} = taggintags, taggings
" +e_record_descendant,
2005 Nov 16
1
Rails app exception "can't activate active support"
I have gotten several rails apps running under Apache.
However today when I tried to run them I get exceptions like this in the
http error_log:
sh-2.05b$ tail /var/log/httpd/error_log
/usr/lib/ruby/site_ruby/1.8/rubygems.rb:144:in `activate'': can''t activate
active
support (= 1.1.1), already activated activesupport-1.2.3] (Gem::Exception)
from
2008 Nov 05
1
Removed edge rails but cannot find installed rails
I removed edge-rails from a project, git rm, committed and pushed the
revised project to the shared repository, and then git pulled it onto my
Windows XPpro laptop.
Both the original host and my laptop have Rails-2.2.0RC1 installed. The
Gem environment is:
$ rails --version
Rails 2.2.0
$ gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.1
- RUBY VERSION: 1.8.7 (2008-08-11 patchlevel
2007 Sep 28
4
RSpec + EdgeRails on Windows
I recently post on my blog about setting up a Rails environment with RSpec
in Windows, and someone left a comment saying that it doesn''t work in
EdgeRails. I so I played around with it a bit and was able to confirm that
none RSpec appears broken on EdgeRails. I''ll post the various error messages
I received below. I''m not expecting any sort of patch or something for this
2006 Nov 29
6
Noob needs help installing backgroundrb on Windows XP
Hey Guys,
In the readme for Backgroundrb it says that windows support has been
depcreated for this version, but then it goes on to mention how to use
it in Windows. So I''m not sure if it should be running on windows or
not, so I''ll ask anyway. Also, I''m new to ruby and I''m also new to
server administration, so I apologize if my questions are pretty
2007 May 15
5
rake db:migrate sucks
I have installed ruby1.8.5-22 under windows,
and then rails 1.2.3
and also i update rubygems to 0.9.3 with gems update --system
however,when i enter the project directory and input the command rake
db:migrate,it sucks with the following errors:
rake aborted!
uninitialized constant ActionController
c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:2028:in
`const_missing''
2007 Jun 20
4
custom menu plugin not working in 0.4.4
I was pushing out a new version of a site I have that I think was last
generated with webgen 0.4.1. Since my gems are updated to 0.4.4 I''m getting
this error when running ''webgen''. I''ve reverted back to 0.4.2 and that is the
version where this custom vertical menu plugin starts breaking. So I''m not
sure what has changed to cause this. I get this
2007 Mar 05
1
Creating a simple tag plugin
I want to create a tag processor that is activated by something like:
{flickr: http://www.flickr.com/photos/censi/232006603/}
(it then downloads from flickr the description of the photo -- look
for example at http://www.dis.uniroma1.it/~acensi/category/sss06.html)
This is my flickr.rb:
load_plugin ''webgen/plugins/tags/tag_processor''
module Tags
class FlickrTag <
2007 Mar 06
1
photo_gallery
Hi,
I''m trying to build the photo_gallery (example), but receive the following
error:
$ webgen
/home/ov/work/photo_gallery/plugin/collage.rb:90:in `load_plugin'':
uninitialized constant #<Module:0xb7153b48>::Collage::FileHandlers
(NameError)
? ? ? ?
from /usr/lib/ruby/gems/1.8/gems/webgen-0.4.2/lib/webgen/plugin.rb:224:in
`load_from_file''
? ? ? ?
from
2008 Jan 15
9
using postgres rails/rake fails
hello list,
yesterday i installed a fresh rails installation with a proper upgrade
of gem to version 1.0.1
i saw, there is still a gem package to support postgresql known as
postgres-0.7.9.2008.01.09
on rubyforge, its the newest one of stable postgres support for ruby
additionally i installed, of course, a the postgres database on my
machine to
C:\Programme\PostgreSQL\8.2
after setting up a new