Take a look at this thread, which seems to be similar to the error you encountered:
As long as other projects are encountering this bug under Rails 3.0.10 and Rake 0.9.2, I assume Blacklight doesn't need any modification (yet).
> pghorpade@ubuntu:~$ rails new myapp
> create
> create README
> create Rakefile
> create config.ru
> create .gitignore
> create Gemfile
> create app
> create app/controllers/application_controller.rb
> create app/helpers/application_helper.rb
> create app/mailers
> create app/models
> create app/views/layouts/application.html.erb
> create config
> create config/routes.rb
> create config/application.rb
> create config/environment.rb
> create config/environments
> create config/environments/development.rb
> create config/environments/production.rb
> create config/environments/test.rb
> create config/initializers
> create config/initializers/backtrace_silencers.rb
> create config/initializers/inflections.rb
> create config/initializers/mime_types.rb
> create config/initializers/secret_token.rb
> create config/initializers/session_store.rb
> create config/locales
> create config/locales/en.yml
> create config/boot.rb
> create config/database.yml
> create db
> create db/seeds.rb
> create doc
> create doc/README_FOR_APP
> create lib
> create lib/tasks
> create lib/tasks/.gitkeep
> create log
> create log/server.log
> create log/production.log
> create log/development.log
> create log/test.log
> create public
> create public/404.html
> create public/422.html
> create public/500.html
> create public/favicon.ico
> create public/index.html
> create public/robots.txt
> create public/images
> create public/images/rails.png
> create public/stylesheets
> create public/stylesheets/.gitkeep
> create public/javascripts
> create public/javascripts/application.js
> create public/javascripts/controls.js
> create public/javascripts/dragdrop.js
> create public/javascripts/effects.js
> create public/javascripts/prototype.js
> create public/javascripts/rails.js
> create script
> create script/rails
> create test
> create test/fixtures
> create test/functional
> create test/integration
> create test/performance/browsing_test.rb
> create test/test_helper.rb
> create test/unit
> create tmp
> create tmp/sessions
> create tmp/sockets
> create tmp/cache
> create tmp/pids
> create vendor/plugins
> create vendor/plugins/.gitkeep
> pghorpade@ubuntu:~$ cd my_app
> bash: cd: my_app: No such file or directory
> pghorpade@ubuntu:~$ cd myapp
> pghorpade@ubuntu:~/myapp$ bundle install
> Fetching source index for
http://rubygems.org/ > Using rake (0.9.2)
> Using abstract (1.0.0)
> Using activesupport (3.0.10)
> Using builder (2.1.2)
> Using i18n (0.5.0)
> Using activemodel (3.0.10)
> Using erubis (2.6.6)
> Using rack (1.2.3)
> Using rack-mount (0.6.14)
> Using rack-test (0.5.7)
> Using tzinfo (0.3.29)
> Using actionpack (3.0.10)
> Using mime-types (1.16)
> Using polyglot (0.3.2)
> Using treetop (1.4.10)
> Using mail (2.2.19)
> Using actionmailer (3.0.10)
> Using arel (2.0.10)
> Using activerecord (3.0.10)
> Using activeresource (3.0.10)
> Using bundler (1.0.18)
> Using rdoc (3.9.4)
> Using thor (0.14.6)
> Using railties (3.0.10)
> Using rails (3.0.10)
> Using kaminari (0.12.4)
> Using marc (0.4.3)
> Using nokogiri (1.5.0)
> Using rsolr (1.0.2)
> Using rsolr-ext (1.0.3)
> Using unicode (0.4.0)
> Using blacklight (3.0.0)
> Using sqlite3 (1.3.4)
> Your bundle is complete! Use `bundle show [gemname]` to see where a
> bundled gem is installed.
> pghorpade@ubuntu:~/myapp$ gem install devise
> Successfully installed devise-1.4.2
> 1 gem installed
> Installing ri documentation for devise-1.4.2...
> Installing RDoc documentation for devise-1.4.2...
> pghorpade@ubuntu:~/myapp$ rails generate blacklight --devise
> Updating Mime Types
> insert config/initializers/mime_types.rb
> gemfile devise
> run bundle install from "."
> Using rake (0.9.2)
> Using abstract (1.0.0)
> Using activesupport (3.0.10)
> Using builder (2.1.2)
> Using i18n (0.5.0)
> Using activemodel (3.0.10)
> Using erubis (2.6.6)
> Using rack (1.2.3)
> Using rack-mount (0.6.14)
> Using rack-test (0.5.7)
> Using tzinfo (0.3.29)
> Using actionpack (3.0.10)
> Using mime-types (1.16)
> Using polyglot (0.3.2)
> Using treetop (1.4.10)
> Using mail (2.2.19)
> Using actionmailer (3.0.10)
> Using arel (2.0.10)
> Using activerecord (3.0.10)
> Using activeresource (3.0.10)
> Using bcrypt-ruby (2.1.4)
> Using bundler (1.0.18)
> Using rdoc (3.9.4)
> Using thor (0.14.6)
> Using railties (3.0.10)
> Using rails (3.0.10)
> Using kaminari (0.12.4)
> Using marc (0.4.3)
> Using nokogiri (1.5.0)
> Using rsolr (1.0.2)
> Using rsolr-ext (1.0.3)
> Using unicode (0.4.0)
> Using blacklight (3.0.0)
> Using orm_adapter (0.0.5)
> Using warden (1.0.5)
> Using devise (1.4.2)
> Using sqlite3 (1.3.4)
> Your bundle is complete! Use `bundle show [gemname]` to see where a
> bundled gem is installed.
> generate devise:install
> create config/initializers/devise.rb
> create config/locales/devise.en.yml
> =========================================================================== ====
> Some setup you must do manually if you haven't yet:
> 1. Setup default url options for your specific environment. Here is
> an
> example of development environment:
> config.action_mailer.default_url_options = { :host =>
> 'localhost:3000' }
> This is a required Rails configuration. In production it must be
> the
> actual host of your application
> 2. Ensure you have defined root_url to *something* in your config/
> routes.rb.
> For example:
> root :to => "home#index"
> 3. Ensure you have flash messages in app/views/layouts/
> application.html.erb.
> For example:
> <p class="notice"><%= notice %></p>
> <p class="alert"><%= alert %></p>
> =========================================================================== ====
> generate devise
> invoke active_record
> create app/models/user.rb
> invoke test_unit
> create test/unit/user_test.rb
> create test/fixtures/users.yml
> create db/migrate/20110827041213_devise_create_users.rb
> insert app/models/user.rb
> route devise_for :users
> generate devise:views
> invoke Devise::Generators::SharedViewsGenerator
> create app/views/devise/mailer
> create app/views/devise/mailer/
> confirmation_instructions.html.erb
> create app/views/devise/mailer/
> reset_password_instructions.html.erb
> create app/views/devise/mailer/unlock_instructions.html.erb
> create app/views/devise/shared
> create app/views/devise/shared/_links.erb
> invoke form_for
> create app/views/devise/confirmations
> create app/views/devise/confirmations/new.html.erb
> create app/views/devise/passwords
> create app/views/devise/passwords/edit.html.erb
> create app/views/devise/passwords/new.html.erb
> create app/views/devise/registrations
> create app/views/devise/registrations/edit.html.erb
> create app/views/devise/registrations/new.html.erb
> create app/views/devise/sessions
> create app/views/devise/sessions/new.html.erb
> create app/views/devise/unlocks
> create app/views/devise/unlocks/new.html.erb
> insert app/models/user.rb
> gsub config/initializers/devise.rb
> create config/initializers/blacklight_config.rb
> create config/solr.yml
> create config/SolrMarc
> create config/SolrMarc/config-test.properties
> create config/SolrMarc/config.properties
> create config/SolrMarc/index.properties
> create config/SolrMarc/index_scripts/dewey.bsh
> create config/SolrMarc/index_scripts/format.bsh
> create config/SolrMarc/translation_maps/README_MAPS
> create config/SolrMarc/translation_maps/
> callnumber_map.properties
> create config/SolrMarc/translation_maps/
> composition_era_map.properties
> create config/SolrMarc/translation_maps/country_map.properties
> create config/SolrMarc/translation_maps/format_map.properties
> create config/SolrMarc/translation_maps/
> instrument_map.properties
> create config/SolrMarc/translation_maps/language_map.properties
> generate blacklight:assets
> create public/images/blacklight
> create public/images/blacklight/bg.png
> create public/images/blacklight/border.png
> create public/images/blacklight/bul_sq_gry.gif
> create public/images/blacklight/checkmark.gif
> create public/images/blacklight/logo.png
> create public/images/blacklight/magnifying_glass.gif
> create public/images/blacklight/remove.gif
> create public/images/blacklight/separator.gif
> create public/images/blacklight/start_over.gif
> exist public/stylesheets
> create public/stylesheets/blacklight/blacklight.css
> create public/stylesheets/jquery/ui-lightness/images/ui-
> anim_basic_16x16.gif
> create public/stylesheets/jquery/ui-lightness/images/ui-
> bg_diagonals-thick_18_b81900_40x40.png
> create public/stylesheets/jquery/ui-lightness/images/ui-
> bg_diagonals-thick_20_666666_40x40.png
> create public/stylesheets/jquery/ui-lightness/images/ui-
> bg_flat_10_000000_40x100.png
> create public/stylesheets/jquery/ui-lightness/images/ui-
...