uninitialized constant Thor::Base #311

Closed
isjaylee opened this Issue Feb 1, 2014 · 2 comments

Projects

None yet

2 participants

@isjaylee

Hello, I'm following the install instructions and am running into an issue when trying to run rake db:create. Here's the output I get:

rake aborted!
uninitialized constant Thor::Base
/Users/home/.rvm/gems/ruby-2.1.0@global/gems/bundler-1.5.2/lib/bundler/ui.rb:43:in initialize'
/Users/home/.rvm/gems/ruby-2.1.0@global/gems/bundler-1.5.2/lib/bundler/gem_helper.rb:26:in
new'
/Users/home/.rvm/gems/ruby-2.1.0@global/gems/bundler-1.5.2/lib/bundler/gem_helper.rb:26:in initialize'
/Users/home/.rvm/gems/ruby-2.1.0@global/gems/bundler-1.5.2/lib/bundler/gem_helper.rb:13:in
new'
/Users/home/.rvm/gems/ruby-2.1.0@global/gems/bundler-1.5.2/lib/bundler/gem_helper.rb:13:in install_tasks'
/Users/home/rails_projects/fat_free_crm/lib/development_tasks/gem.rake:8:in
'
/Users/home/rails_projects/fat_free_crm/config/application.rb:41:in block (2 levels) in <class:Application>'
/Users/home/rails_projects/fat_free_crm/config/application.rb:41:in
each'
/Users/home/rails_projects/fat_free_crm/config/application.rb:41:in block in <class:Application>'
/Users/home/.rvm/gems/ruby-2.1.0/gems/railties-3.2.16/lib/rails/railtie.rb:194:in
instance_exec'
/Users/home/.rvm/gems/ruby-2.1.0/gems/railties-3.2.16/lib/rails/railtie.rb:194:in block in load_tasks'
/Users/home/.rvm/gems/ruby-2.1.0/gems/railties-3.2.16/lib/rails/railtie.rb:194:in
each'
/Users/home/.rvm/gems/ruby-2.1.0/gems/railties-3.2.16/lib/rails/railtie.rb:194:in load_tasks'
/Users/home/.rvm/gems/ruby-2.1.0/gems/railties-3.2.16/lib/rails/engine.rb:424:in
load_tasks'
/Users/home/.rvm/gems/ruby-2.1.0/gems/railties-3.2.16/lib/rails/application.rb:145:in load_tasks'
/Users/home/.rvm/gems/ruby-2.1.0/gems/railties-3.2.16/lib/rails/railtie/configurable.rb:30:in
method_missing'
/Users/home/rails_projects/fat_free_crm/Rakefile:7:in <top (required)>'
/Users/home/.rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in
eval'
/Users/home/.rvm/gems/ruby-2.1.0/bin/ruby_executable_hooks:15:in `

'
(See full trace by running task with --trace)

Any help is appreciated.

@steveyken
Fat Free CRM member

Hi there, try using Ruby 2.0. For some reason (haven't worked out why yet), FFCRM isn't Ruby 2.1 compatible. Could possibly be that Thor isn't ruby 2.1 compatible but I haven't looked into it yet.

@steveyken
Fat Free CRM member

Update - it wasn't specifically a ruby 2.1 issue but rather Thor was needed before it was loaded. I've fixed this now. Grab latest master branch and try again.

@steveyken steveyken closed this Feb 8, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment