Mam problem z instalacją active admin dla ruby na lokalu:
[code]Installing RDoc documentation for devise-1.4.9…
Installing RDoc documentation for formtastic-1.2.4…
Installing RDoc documentation for responders-0.6.4…
Installing RDoc documentation for has_scope-0.5.1…
Installing RDoc documentation for inherited_resources-1.2.2…
Installing RDoc documentation for kaminari-0.12.4…
Installing RDoc documentation for sass-3.1.10…
Installing RDoc documentation for fastercsv-1.5.4…
Installing RDoc documentation for activeadmin-0.3.2…
C:\ruby>rails generate active_admin:install
Usage:
rails new APP_PATH [options]
Options:
-r, [–ruby=PATH] # Path to the Ruby binary of your choice
# Default: C:/ruby/bin/ruby.exe
-b, [–builder=BUILDER] # Path to a application builder (can be a files
ystem path or URL)
-m, [–template=TEMPLATE] # Path to an application template (can be a fil
esystem path or URL)
[–skip-gemfile] # Don’t create a Gemfile
[–skip-bundle] # Don’t run bundle install
-G, [–skip-git] # Skip Git ignores and keeps
-O, [–skip-active-record] # Skip Active Record files
-S, [–skip-sprockets] # Skip Sprockets files
-d, [–database=DATABASE] # Preconfigure for selected database (options:
mysql/oracle/postgresql/sqlite3/frontbase/ibm_db/sqlserver/jdbcmysql/jdbcsqlite3
/jdbcpostgresql/jdbc)
# Default: sqlite3
-j, [–javascript=JAVASCRIPT] # Preconfigure for selected JavaScript library
# Default: jquery
-J, [–skip-javascript] # Skip JavaScript files
[–dev] # Setup the application with Gemfile pointing t
o your Rails checkout
[–edge] # Setup the application with Gemfile pointing t
o Rails repository
-T, [–skip-test-unit] # Skip Test::Unit files
[–old-style-hash] # Force using old style hash (:foo => ‘bar’) on
Ruby >= 1.9
Runtime options:
-f, [–force] # Overwrite files that already exist
-p, [–pretend] # Run but do not make any changes
-q, [–quiet] # Supress status output
-s, [–skip] # Skip files that already exist
Rails options:
-h, [–help] # Show this help message and quit
-v, [–version] # Show Rails version number and quit
Description:
The ‘rails new’ command creates a new Rails application with a default
directory structure and configuration at the path you specify.
Example:
rails new ~/Code/Ruby/weblog
This generates a skeletal Rails installation in ~/Code/Ruby/weblog.
See the README in the newly created application to get going.
C:\ruby>rails new projekt
create
create README
create Rakefile
create config.ru
create .gitignore
create Gemfile
create app
create app/assets/images/rails.png
create app/assets/javascripts/application.js
create app/assets/stylesheets/application.css
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 app/mailers/.gitkeep
create app/models/.gitkeep
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/initializers/wrap_parameters.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 lib/assets
create lib/assets/.gitkeep
create log
create log/.gitkeep
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 script
create script/rails
create test/fixtures
create test/fixtures/.gitkeep
create test/functional
create test/functional/.gitkeep
create test/integration
create test/integration/.gitkeep
create test/unit
create test/unit/.gitkeep
create test/performance/browsing_test.rb
create test/test_helper.rb
create tmp/cache
create tmp/cache/assets
create vendor/assets/stylesheets
create vendor/assets/stylesheets/.gitkeep
create vendor/plugins
create vendor/plugins/.gitkeep
run bundle install
Fetching source index for http://rubygems.org/
Installing rake (0.9.2.2)
Using multi_json (1.0.3)
Using activesupport (3.1.1)
Using builder (3.0.0)
Using i18n (0.6.0)
Using activemodel (3.1.1)
Using erubis (2.7.0)
Using rack (1.3.5)
Using rack-cache (1.1)
Using rack-mount (0.8.3)
Using rack-test (0.6.1)
Using hike (1.2.1)
Using tilt (1.3.3)
Using sprockets (2.0.3)
Using actionpack (3.1.1)
Using mime-types (1.16)
Using polyglot (0.3.2)
Using treetop (1.4.10)
Using mail (2.3.0)
Using actionmailer (3.1.1)
Using arel (2.2.1)
Using tzinfo (0.3.30)
Using activerecord (3.1.1)
Using activeresource (3.1.1)
Installing ansi (1.3.0)
Using bundler (1.0.21)
Installing coffee-script-source (1.1.2)
Installing execjs (1.2.9)
Installing coffee-script (2.2.0)
Using rack-ssl (1.3.2)
Using json (1.6.1)
Using rdoc (3.11)
Using thor (0.14.6)
Using railties (3.1.1)
Installing coffee-rails (3.1.1)
Installing jquery-rails (1.0.16)
Using rails (3.1.1)
Using sass (3.1.10)
Installing sass-rails (3.1.4)
Installing sqlite3 (1.3.4)
Installing turn (0.8.3)
Installing uglifier (1.0.4)
Your bundle is complete! Use bundle show [gemname]
to see where a bundled gem
is installed.
C:\ruby>cd projekt
C:\ruby\projekt>rails generate active_admin:install
Could not find generator active_admin:install.
C:\ruby\projekt>rails generate active_admin:install
←[31mCould not find gem ‘launchy (>= 0) x86-mingw32’ in any of the gem sources l
isted in your Gemfile.←[0m
←[33mRun bundle install
to install missing gems.←[0m
C:\ruby\projekt>bundle install
Fetching source index for http://rubygems.org/
You have requested:
rake = 0.8.7
The bundle currently has rake locked at 0.9.2.2.
Try running bundle update rake
C:\ruby\projekt>bundle update rake
Fetching source index for http://rubygems.org/
Bundler could not find compatible versions for gem “builder”:
In snapshot (Gemfile.lock):
builder (3.0.0)
In Gemfile:
cucumber (= 0.9.2) x86-mingw32 depends on
builder (~> 2.1.2) x86-mingw32
Running bundle update
will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.
C:\ruby\projekt>bundle update
Fetching source index for http://rubygems.org/
Using rake (0.8.7)
Installing abstract (1.0.0) WARNING: abstract-1.0.0 has an invalid nil value for
@cert_chain
Installing activesupport (3.0.10)
Installing builder (2.1.2) WARNING: builder-2.1.2 has an invalid nil value for @
cert_chain
Installing i18n (0.5.0)
Installing activemodel (3.0.10)
Installing erubis (2.6.6)
Installing rack (1.2.4)
Installing rack-mount (0.6.14)
Installing rack-test (0.5.7)
Using tzinfo (0.3.30)
Installing actionpack (3.0.10)
Using mime-types (1.16)
Using polyglot (0.3.2)
Using treetop (1.4.10)
Installing mail (2.2.19)
Installing actionmailer (3.0.10)
Installing arel (2.0.10)
Installing activerecord (3.0.10)
Installing activeresource (3.0.10)
Installing addressable (2.2.6)
Using bcrypt-ruby (3.0.1)
Using bundler (1.0.21)
Installing culerity (0.2.15)
Installing nokogiri (1.5.0)
Using ffi (1.0.9)
Using childprocess (0.2.2)
Using json_pure (1.6.1)
Using rubyzip (0.9.4)
Using selenium-webdriver (2.9.1)
Installing capybara (0.3.9)
Using diff-lcs (1.1.3)
Installing json (1.4.6) with native extensions
Using term-ansicolor (1.0.7)
Installing gherkin (2.2.9)
Installing cucumber (0.9.2)
Installing cucumber-rails (0.3.2)
Installing database_cleaner (0.6.7)
Using orm_adapter (0.0.5)
Using warden (1.0.6)
Using devise (1.4.9)
Using fastercsv (1.5.4)
Using rdoc (3.11)
Using thor (0.14.6)
Installing railties (3.0.10)
Installing rails (3.0.10)
Installing formtastic (2.0.2)
Installing git (1.2.5)
Installing haml (3.1.3)
Using has_scope (0.5.1)
Using responders (0.6.4)
Installing inherited_resources (1.3.0)
Installing jeweler (1.5.2)
Using kaminari (0.12.4)
Installing launchy (2.0.5)
Installing meta_search (1.0.6)
Installing rspec-core (2.6.4)
Installing rspec-expectations (2.6.0)
Installing rspec-mocks (2.6.0)
Installing rspec (2.6.0)
Installing rspec-rails (2.6.1)
Using sass (3.1.10)
Installing shoulda (2.11.2)
Using sqlite3 (1.3.4)
Installing sqlite3-ruby (1.3.3)
Your bundle is updated! Use bundle show [gemname]
to see where a bundled gem i
s installed.
C:\ruby\projekt>bundle show [gemname]
Could not find gem ‘[gemname]’ in the current bundle.
C:\ruby\projekt>rails generate active_admin:install
C:/ruby/projekt/config/application.rb:7:in <top (required)>': undefined method
groups’ for Rails:Module (NoMethodError)
from C:/ruby/lib/ruby/gems/1.9.1/gems/railties-3.0.10/lib/rails/commands
.rb:15:in require' from C:/ruby/lib/ruby/gems/1.9.1/gems/railties-3.0.10/lib/rails/commands .rb:15:in
<top (required)>’
from script/rails:6:in require' from script/rails:6:in
’
C:\ruby\projekt>[/code]
Nie wiem jak rozwiązać ten problem.