Displaying 20 results from an estimated 20000 matches similar to: "no such file to load -- /home/path/to/app/config/environment"
2010 Apr 20
1
dashboard: rake install fails (Solaris10)
Hi all,
I am trying to install dashboard 1.0.0rc1. Independantly if have
manually installed authlogic - gem or not it is throwing the following
trace. The problem is the same when I am resetting (rake db:reset) or
dropping the database.
any ideas?
best regards
Lutz
bash-3.00# rake install
(in /opt/puppet-dashboard)
dashboard_development already exists
can''t activate authlogic (=
2011 Jan 19
6
rake aborted! can't convert Hash into String
Hello,
I encouter a problem when i try to do "rake db:migrate":
rake aborted!
can''t convert Hash into String
Here is the trace result:
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
can''t convert Hash into String
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/fileutils.rb:1408:in
2009 Mar 15
3
Capistrano deploy errors
Hi, when I do cap deploy:cold I get this error:
rake aborted!
undefined local variable or method `acts_as_commentable'' for #<Class:
0x7fa1c34a2f10>
/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/active_record/
base.rb:1833:in `method_missing_without_paginate''
/usr/local/lib/ruby/gems/1.8/gems/mislav-will_paginate-2.3.8/lib/
will_paginate/finder.rb:170:in
2009 Aug 31
7
"Missing these required gems: rspec-rails" in ruby 1.9
i get the above error when running rake.
I tried switching rails 2.3.3 with 2.3.2 but it didn''t help.
here are my gems:
actionmailer (2.3.2)
actionpack (2.3.2)
activerecord (2.3.2)
activeresource (2.3.2)
activesupport (2.3.2)
builder (2.1.2)
cucumber (0.3.98)
diff-lcs (1.1.2)
hoe (2.3.3)
nokogiri (1.3.3)
polyglot (0.2.8)
rack (1.0.0)
rails (2.3.2)
rake (0.8.7)
rspec (1.2.8)
rspec-rails
2009 Feb 21
3
Help w/ rake db:migrate error
I made a few changes to my migration files, dropped all tables (rake
db:drop:all), and when I went to re-create everything (rake
db:migrate), I get this:
rake db:migrate --trace
(in /Users/Eric/Development/Work/Rails/pcod)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
undefined method `random'' for Tidbit(Table doesn''t
2010 May 28
0
Rake Aborted! db:migrate
Hello, I am trying do a migrate of my database but I have problems, I
write this in the console:
[console]
rake db:migrate
[/console]
And say me:
[console]
(in /home/distriker/Documentos/public_html/crf)
!!! The bundled mysql.rb driver has been removed from Rails 2.2.
Please install the mysql gem and try again: gem install mysql.
rake aborted!
no such file to load -- mysql
(See full trace by
2009 Nov 13
3
Encoding::UTF_8 missing?
I''ve just done a fresh reinstall of OS X Snow Leopard on my mac, and I''m
having all kinds of problems with Rails, but the latest problem has me
stumped.
Whenever I run rake db:seed to populate my database I hit the following
error:
** Invoke db:seed (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:seed
rake aborted!
uninitialized constant
2010 Feb 27
1
Cannot migrate DB due to "getaddrinfo: Name or service not known"
I am using Rails 2.2.2 and try to do a DB migration, but got the
following error. I am using Centos 5.4. Can someone give me a clue?
>> rake db:migrate RAILS_ENV="production"
rake aborted!
getaddrinfo: Name or service not known
(See full trace by running task with --trace)
[current]$ rake db:migrate RAILS_ENV="production" --trace
** Invoke db:migrate (first_time)
**
2011 May 11
2
rack problems
I''m having some issues running rake commands for puppet dashboard.
Here is one of the symptoms (see below). I''m a little new to setting
up rails/rack applications, so I may be making a common mistake. It
looks like gems are already packaged with dashboard, specifically
rack-1.01. Should that gem just work out of the box?
Command:
rake RAILS_ENV=production reports:prune upto=1
2010 Nov 29
0
rake aborted! getaddrinfo: Name or service not known
I''m deploying new rails applications. Everything works well
except when it comes to the db migration:
* executing "cd /var/rails/benefits_test/releases/20101129190121 &&
/opt/ruby-enterprise-1.8.7-2010.02/bin/rake RAILS_ENV=production
db:util:migrate"
servers: ["ps-test-app1"]
[ps-test-app1] executing command
** [out :: ps-test-app1] (in
2009 May 25
2
CAn u please tell wats the prob in runnning my project?
[~/kallori]# rake db:migrate
(in /home/gm/kallori)
no such file to load -- hmac-sha1
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
/usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in `require''
/home/gm/kallori/vendor/rails/activesupport/lib/active_support/
dependencies.rb:510:in `require''
2009 Apr 15
0
hpricot bug?
I get an error in the hpricot-gem on Windows XP sp3. I have tested
different versions of it and combined them with different versions of
sequel (including the latest of both).
The error triggers on the line when I do: require ’hpricot’.
The line that causes the error in the hpricot-gem in the file
elements.rb (line 395) looks like this:
nth = proc { |num,i| self.position == num.to_i }
What is
2008 May 16
0
attachment_fu and/or rmagick on osx -- weird error
One of our developers is getting a weird error from attachment_fu and/or
rmagick on OSX. And even weirder because he''s used attachment_fu and
rmagick on other projects without difficulty. This all works fine on
debian/ubuntu. See the stack trace below. Any suggestions?
Btw, the code that''s blowing up is retrieving the attachment_fu info.
The presence of image_science in
2010 Nov 30
2
db migration fails
I''m deploying new rails applications. Everything works well
except when it comes to the db migration:
* executing "cd /var/rails/benefits_test/releases/20101129190121 &&
/opt/ruby-enterprise-1.8.7-2010.02/bin/rake RAILS_ENV=production
db:util:migrate"
servers: ["ps-test-app1"]
[ps-test-app1] executing command
** [out :: ps-test-app1] (in
2009 Jan 23
7
RubyOnRails with MS SQL - Connectivity Error
Hi all...
Please help me solve the issue.
While trying to create a connection with MS SQL database in RubyOnRails,
I''m getting a ‘Deprecated ..’ error. (I referenced a doc posted in net
for the same.)
System details: OS: Windows Xp
Ruby version: 1.8.6
Rails: 2.1.2
Gems: 1.3.1
RadRails: 0.7.2
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
2008 Aug 26
1
upload_column NoMethodError
Hi all,
I''m using uploadcolumn plugin for file uploading. Followed the README file.
Put "upload_column :src_file" in my model file as instructed, and i got this
NoMethodError for the upload_column. This is the full trace:
/usr/lib/ruby/gems/1.8/gems/activerecord-2.1.0/lib/active_record/base.rb:1667:in
`method_missing''
app/models/speech.rb:2
2007 Dec 24
1
Uninitialized constant in integration test
I am seeing weird issues when trying to create integration tests. Here
is a very simple example of something that is failing. The
assert_redirected_to, and other methods, fail with this or similar
exceptions.
I have tried requiring both ''application'' and ''listings_controller'', but
neither solves this problem, although the exception changes.
Anybody know
2010 Jul 16
1
Rails 3 bug: undefined method `<=>' for class `ActiveSupport::Multibyte::Chars'
I''m getting the following bug when I try to run rake db:migrate in
Rails 3 beta 4:
$ rake db:migrate --trace
(in C:/Users/Adam/Documents/Aptana Workspace/QuestionBank)
default formats are encoded in ISO-8859-1
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
== CreateUsers: migrating
2009 Dec 21
3
beginner problem
Hi,
I´m starting using rails. I have one problem. I create a controller, the
code is the next:
class PlayersController < ApplicationController
scaffold:player
end
I did all the things that I suppose to do, but a problem appears when
try to open my webpage application. The error is the next
NoMethodError in PlayersController#index
undefined method `scaffold'' for