Displaying 20 results from an estimated 2000 matches similar to: "Error while rake actions"
2012 Feb 27
9
Bit of a issue with creating a new app and running it
HI all,
I have just setup the ROR environment on a vps, but once i created the
app and run rails s or db:create after modifying the database.yml it
keeps on appearing with the "Could not find gem sqlite3" etc message
which i know this as it''s not install as i am using mysql. What else
have i got to do other than modifying the database.yml as to me it''s
still looking
2008 Jan 01
5
Compiling wxruby-1.9.2
Hi,
I''m trying to compile wxruby-1.9.2. This is my first time using rake.
All I get is the following:
(in /bld/lib/wxruby-1.9.2)
rake aborted!
can''t convert nil into String
/bld/lib/wxruby-1.9.2/rakefile:48
(See full trace by running task with --trace)
And with --trace:
(in /bld/lib/wxruby-1.9.2)
rake aborted!
can''t convert nil into
2012 Jan 21
16
Installing rails on Ubuntu
Hello, I''m trying to install the rails on ubuntu 11.10, but when I put
the command
felipe@Felipe:~/Downloads/rubygems-1.8.15$ sudo gem install rails
--no-r1 --no-rdoc
ERROR: Loading command: install (LoadError)
no such file to load -- zlib
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::Commands::InstallCommand
felipe@Felipe:~/Downloads/rubygems-1.8.15$
2011 Nov 28
1
Queue-Tip/Adhearsion installation tip
Hi,
I'm giving Queue-Tip a try, following installation instructions in
http://queue-tip.rubyforge.org/install.html.
My setup is :
ruby 1.8.7
rubygems 1.3.7
rails 3.1.3
Adhearsion 1.2.3
I'm struck in step 7 in the above installation procedure :
# rake --trace db:create
(in /usr/local/src/queue-tip)
rake aborted!
no such file to load -- initializer
2011 Aug 04
4
Problem in migrating a database to Heroku
When trying to migrate a database to `Heroku`, I get the following
(Provided that I''m using `gem ''sqlite3'', ''1.3.3''`:
$ heroku rake db:migrate
(in /app)
rake aborted!
uninitialized constant Rake::DSL
/usr/ruby1.9.2/lib/ruby/1.9.1/rake.rb:2482:in `const_missing''
2011 Sep 09
1
i need help.please anyone can help me out witth this.
I installed ruby on my pc...then after that i got lib not found as one
error when i was installing rails... further all steps worked like
installing sqlite3 and creating test application...but wen i gave a cmd
called rake db:migrate, i got errors like these- rake aborted!
No Rakefile found (looking for: rakefile, Rakefile, rakefile.rb,
Rakefile.rb)
D:/Ruby192/lib/ruby/1.9.1/rake.rb:2367:in
2009 Jun 13
2
Rake migration error
Hi,
I am constantly getting an error when I use the rake command to do a
migration or even use drop, this happened after I installed some
plugins such as paperclip and seed-fu.
The error is:
rake aborted!
uninitialized constant PKG_NAME
/var/www/html/quote/Rakefile:10
The Rakefile looks like this:
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example
2007 Dec 08
1
Trouble updating to Rails 2.0
I recently updated my gems and first I got an error with Rails.
Aparently, Rails 2.0 has a dependency on ActiveResource, but the gems
dont install it as a dependency. At least not when upgrading from
1.2.6 to 2.0
Then, when I try to freeze the gems to generate the new documentation,
I get the following error:
gabriel@fenix:~/dummy$ rake rails:freeze:gems --trace
(in /home/gabriel/dummy)
rake
2012 Feb 25
1
Seems I'm missing some kind of library?
When I run "rake db:create --trace" in my rails directory, or if I
attempt a "bundle install" I get the same error around missing
"rubygems/format". I am new, but I am really hoping there is some way
that I can discover which package this "rubygems/format" belongs in.
I did a locate on "format" | grep gem and I didn''t find any
2009 Feb 21
4
problem with running rake db:migrate on a Rails app
Hi everybody,
I am trying to get the Typo blog engine up and running in development
mode but I hit the wall as early as running rake db:migrate:
(in /home/tweisser/workspace/typo/typo)
rake aborted!
no such file to load -- spec/rake/spectask
/opt/ruby-enterprise-1.8.6-20090201/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:31:in `gem_original_require''
2007 Jun 15
1
Problems with RCov and Rails
Hey list,
I''m trying to use the rcov integration that rspec provides in my Rails
application. As per the documentation on the website, I''ve created
the following rake task:
lib/tasks/specs_with_rcov.rake:
require ''spec/rake/spectask''
desc "Run all specs with rcov"
Spec::Rake::SpecTask.new(''specs_with_rcov'') do |t|
t.rcov = true
2013 Apr 16
1
Ruby Error Encountered when Installing Dashboard for Puppet Open Source
I''ve installed Puppet and am installing Dashboard on CentOS 6. I''m running
into an ''undefined method'' when installing the dashboard. To install
Puppet Open Source, I ran:
> rpm -ivh
2012 Oct 11
3
Puppet Dashboard won't install MySQL schema
I have been working on this issue for almost 5 days
and can not get
past this error.
Puppet Dashboard is installed via RPM from puppetlabs.
I have tried versions
1.2.12, 1.2.9 and am currently on 1.2.1.
Regardless of the version, I get the same exact error
every time I run rake RAILS_ENV=production db:migrate.
(in /usr/share/puppet-dashboard)
rake aborted!
no such file to load --
2012 Aug 15
9
Installing puppet-dashboard on ubuntu precise
Hi,
I''m trying to install dashboard on precise and I get the below error.
I''m using the latest version that is available in the puppet apt
repository. The package rdoc is installed (it''s just a virtual package
pointing to ruby)
Are there some other missing dependencies that the package doesn''t specify?
I don''t know ruby that well so finding it hard
2012 Aug 17
3
puppet-rspec / puppetlabs_spec_helper
I am using puppet 2.7.14 on Ubuntu 10.04 LTS. I have the following gems:
*** LOCAL GEMS ***
diff-lcs (1.1.3)
hiera (0.3.0)
hiera-puppet (0.3.0)
metaclass (0.0.1)
mocha (0.12.1)
puppet-lint (0.1.13)
puppetlabs_spec_helper (0.2.0)
rake (0.9.2.2)
rspec (2.11.0)
rspec-core (2.11.1)
rspec-expectations (2.11.2)
rspec-mocks (2.11.1)
rspec-puppet (0.1.3)
When I run "rake help" I get the
2007 Jan 21
6
rake db:migrate "undefined method `default'" error
Hi all,
Just starting with Rails and working through the early chapters of the
Pragmatic Programmers Agile Development with Rails book (2nd addition).
When doing a "rake db:migrate" to add a column to a table I get this:
undefined method `default'' for
#<ActiveRecord::ConnectionAdapters::MysqlAdapter:0xb7517ec8>
Any ideas?
thanks,
David
PS: Here''s the full
2008 Nov 11
4
Very weird rake message...
When I try and run rake db:migrate, I get this error:
rake aborted!
uninitialized constant CreateUsers
/Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/
dependencies.rb:266:in `load_missing_constant''
/Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/active_support/
dependencies.rb:453:in `const_missing''
2012 Feb 18
6
rake db:reset doesn't work, fails with unknown attribute: user_status
If I manually drop the database, and run create, then migrate it works fine.
But doing a:
rake db:reset
it fails with:
unknown attribute: user_status
Does this mean my migrations are not dropping things correctly?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
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''
2012 Feb 12
3
Rails routes - destroy
Can''t figure out how duplicate routes are differentiated by rails ...
Read routing from inside out and API as well as a few tutorials but
still don''t get it!!! For example...
routes.rb
resources :minisections do
resources :questions
end
rake routes:
minisection_question GET
/minisections/:minisection_id/questions/:id(.:format)
questions#show