block in setup': You have already activated thor 0.17.0, but your Gemfile requires thor 0.15.4. Using bundle exec may solve this. (Gem::LoadError) from /home/renich/.gem/ruby/1.9.1/gems/bundler-1.3.1/lib/bundler/runtime.rb:19:in
setup'
from /home/renich/.gem/ruby/1.9.1/gems/bundler-1.3.1/lib/bundler.rb:120:in
setup' from /home/renich/.gem/ruby/1.9.1/gems/bundler-1.3.1/lib/bundler/setup.rb:7:in
<top (required)>'
from /usr/share/rubygems/rubygems/custom_require.rb:60:in require' from /usr/share/rubygems/rubygems/custom_require.rb:60:in
rescue in require'
from /usr/share/rubygems/rubygems/custom_require.rb:35:in require' from /home/renich/Projects/ruby/padrino/sample_blog/config/boot.rb:7:in
<top (required)>'
from /usr/share/rubygems/rubygems/custom_require.rb:36:in require' from /usr/share/rubygems/rubygems/custom_require.rb:36:in
require'
from /home/renich/.gem/ruby/1.9.1/gems/padrino-core-0.10.7/lib/padrino-core/cli/base.rb:54:in
rake' from /home/renich/.gem/ruby/1.9.1/gems/thor-0.17.0/lib/thor/task.rb:27:in
run'
from /home/renich/.gem/ruby/1.9.1/gems/thor-0.17.0/lib/thor/invocation.rb:120:in
invoke_task' from /home/renich/.gem/ruby/1.9.1/gems/thor-0.17.0/lib/thor.rb:344:in
dispatch'
from /home/renich/.gem/ruby/1.9.1/gems/thor-0.17.0/lib/thor/base.rb:434:in
start' from /home/renich/.gem/ruby/1.9.1/gems/padrino-core-0.10.7/bin/padrino:9:in
table_structure': Could not find table 'posts' (ActiveRecord::StatementInvalid) from /home/renich/.gem/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/connection_adapters/sqlite_adapter.rb:346:in
columns'
from /home/renich/.gem/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/connection_adapters/schema_cache.rb:12:in
block in initialize' from /home/renich/.gem/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/model_schema.rb:228:in
yield'
from /home/renich/.gem/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/model_schema.rb:228:in
default' from /home/renich/.gem/ruby/1.9.1/gems/activerecord-3.2.12/lib/active_record/model_schema.rb:228:in
columns'
from /home/renich/.gem/ruby/1.9.1/gems/padrino-admin-0.10.7/lib/padrino-admin/generators/orm.rb:51:in
columns' from /home/renich/.gem/ruby/1.9.1/gems/padrino-admin-0.10.7/lib/padrino-admin/generators/orm.rb:83:in
column_fields'
from (erb):1:in template' from /usr/share/ruby/erb.rb:838:in
eval'
from /usr/share/ruby/erb.rb:838:in result' from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/actions/file_manipulation.rb:111:in
block in template'
from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/actions/create_file.rb:54:in
call' from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/actions/create_file.rb:54:in
render'
from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/actions/create_file.rb:63:in
block (2 levels) in invoke!' from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/actions/create_file.rb:63:in
open'
from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/actions/create_file.rb:63:in
block in invoke!' from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/actions/empty_directory.rb:133:in
call'
from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/actions/empty_directory.rb:133:in
invoke_with_conflict_check' from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/actions/create_file.rb:61:in
invoke!'
from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/actions.rb:95:in
action' from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/actions/create_file.rb:26:in
create_file'
from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/actions/file_manipulation.rb:110:in
template' from /home/renich/.gem/ruby/1.9.1/gems/padrino-admin-0.10.7/lib/padrino-admin/generators/admin_page.rb:41:in
block in create_controller'
from /home/renich/.gem/ruby/1.9.1/gems/padrino-admin-0.10.7/lib/padrino-admin/generators/admin_page.rb:35:in
each' from /home/renich/.gem/ruby/1.9.1/gems/padrino-admin-0.10.7/lib/padrino-admin/generators/admin_page.rb:35:in
create_controller'
from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/task.rb:27:in run' from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/invocation.rb:120:in
invoke_task'
from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/invocation.rb:126:in
block in invoke_all' from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/invocation.rb:126:in
each'
from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/invocation.rb:126:in
map' from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/invocation.rb:126:in
invoke_all'
from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/group.rb:238:in
dispatch' from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/base.rb:425:in
start'
from /home/renich/.gem/ruby/1.9.1/gems/padrino-gen-0.10.7/lib/padrino-gen/generators/cli.rb:51:in
setup' from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/task.rb:27:in
run'
from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/invocation.rb:120:in
invoke_task' from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/invocation.rb:126:in
block in invoke_all'
from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/invocation.rb:126:in
each' from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/invocation.rb:126:in
map'
from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/invocation.rb:126:in
invoke_all' from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/group.rb:238:in
dispatch'
from /home/renich/.gem/ruby/1.9.1/gems/thor-0.15.4/lib/thor/base.rb:425:in
start' from /home/renich/.gem/ruby/1.9.1/gems/padrino-gen-0.10.7/bin/padrino-gen:16:in
block in setup': You have already activated thor 0.17.0, but your Gemfile requires thor 0.15.4. Using bundle exec may solve this. (Gem::LoadError) from /home/renich/.gem/ruby/1.9.1/gems/bundler-1.3.1/lib/bundler/runtime.rb:19:in
setup'
from /home/renich/.gem/ruby/1.9.1/gems/bundler-1.3.1/lib/bundler.rb:120:in
setup' from /home/renich/.gem/ruby/1.9.1/gems/bundler-1.3.1/lib/bundler/setup.rb:7:in
<top (required)>'
from /usr/share/rubygems/rubygems/custom_require.rb:60:in require' from /usr/share/rubygems/rubygems/custom_require.rb:60:in
rescue in require'
from /usr/share/rubygems/rubygems/custom_require.rb:35:in require' from /home/renich/Projects/ruby/padrino/sample_blog/config/boot.rb:7:in
<top (required)>'
from /usr/share/rubygems/rubygems/custom_require.rb:36:in require' from /usr/share/rubygems/rubygems/custom_require.rb:36:in
require'
from /home/renich/.gem/ruby/1.9.1/gems/padrino-core-0.10.7/lib/padrino-core/cli/base.rb:54:in
rake' from /home/renich/.gem/ruby/1.9.1/gems/thor-0.17.0/lib/thor/task.rb:27:in
run'
from /home/renich/.gem/ruby/1.9.1/gems/thor-0.17.0/lib/thor/invocation.rb:120:in
invoke_task' from /home/renich/.gem/ruby/1.9.1/gems/thor-0.17.0/lib/thor.rb:344:in
dispatch'
from /home/renich/.gem/ruby/1.9.1/gems/thor-0.17.0/lib/thor/base.rb:434:in
start' from /home/renich/.gem/ruby/1.9.1/gems/padrino-core-0.10.7/bin/padrino:9:in
Hey guys,
As the title states. My OS is: Fedora 18 x86_64 I removed all rubygems provided by fedora and reinstalled ruby. It still installs 3 or so rubygems. The purpose of this was to have a minimal ruby env.
check the output: