I think I have MySQL working now.. I reinstalled the MYSQL dmg and made a few other changes to the database configuration file and now 'bundle install' works
However when i try to do the following rake db:create I get the error message Bens-MacBook-Pro:sharebox bengibson$ rake db:create rake aborted! undefined method `groups' for Rails:Module (See full trace by running task with --trace) Bens-MacBook-Pro:sharebox bengibson$ rake db:create rake aborted! undefined method `groups' for Rails:Module (See full trace by running task with --trace) Bens-MacBook-Pro:sharebox bengibson$ Does anyone know what the problem is now?? ben_hawk wrote: > > Still not got this working anyone else have any ideas?? > > Thanks > > > > ben_hawk wrote: >> >> Hi, >> >> I followed a Tutorial on Nettuts to install Ruby with RVM and this went >> well. I then tried to install Rails to follow the 'How to build a dropbox >> live service' from Netttus but appear to get errors can anybody help?. >> >> Once I installed rails I created a new rails project using the command >> >> (Rails new sharebox -d mysql) >> >> This worked and created the folder structure. >> >> I then went and added the following to the gem folder for the project as >> suggested by the netuts tutorial >> >> source 'http://rubygems.org' >> >> gem 'rails', '3.0.3' >> gem 'ruby-mysql' >> >> I then did the bundle install but this kept causing errors, eventually >> somehow I got this to work and it said bundle installed correctly. >> >> However when I try the command rails server i get the following error: >> >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in >> `to_specs': Could not find abstract (>= 1.0.0) amongst >> [actionmailer-3.1.0, actionmailer-3.0.3, actionpack-3.1.0, >> actionpack-3.0.3, activemodel-3.1.0, activemodel-3.0.3, >> activerecord-3.1.0, activerecord-3.0.3, activeresource-3.1.0, >> activeresource-3.0.3, activesupport-3.1.0, activesupport-3.0.3, >> ansi-1.3.0, arel-2.2.1, arel-2.0.10, bcrypt-ruby-3.0.1, builder-3.0.0, >> builder-2.1.2, bundler-1.0.18, coffee-rails-3.1.1, coffee-script-2.2.0, >> coffee-script-source-1.1.2, erubis-2.7.0, erubis-2.6.6, execjs-1.2.6, >> hike-1.2.1, i18n-0.6.0, jquery-rails-1.0.14, mail-2.3.0, mail-2.2.19, >> mime-types-1.16, multi_json-1.0.3, mysql2-0.3.7, polyglot-0.3.2, >> rack-1.3.2, rack-1.2.3, rack-cache-1.0.3, rack-mount-0.8.3, >> rack-mount-0.6.14, rack-ssl-1.3.2, rack-test-0.6.1, rack-test-0.5.7, >> rails-3.0.3, railties-3.1.0, railties-3.0.3, rake-0.9.2, rdoc-3.9.4, >> rdoc-2.5.11, rdoc-data-2.5.3, sass-3.1.7, sass-rails-3.1.1, >> sprockets-2.0.0, thor-0.14.6, tilt-1.3.3, treetop-1.4.10, turn-0.8.2, >> tzinfo-0.3.29, uglifier-1.0.3] (Gem::LoadError) >> from >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:761:in >> `block in activate_dependencies' >> from >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:758:in >> `each' >> from >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:758:in >> `activate_dependencies' >> from >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:742:in >> `activate' >> from >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:764:in >> `block in activate_dependencies' >> from >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:758:in >> `each' >> from >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:758:in >> `activate_dependencies' >> from >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:742:in >> `activate' >> from >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:764:in >> `block in activate_dependencies' >> from >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:758:in >> `each' >> from >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:758:in >> `activate_dependencies' >> from >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:742:in >> `activate' >> from >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems.rb:1211:in >> `gem' >> from /Users/bengibson/.rvm/gems/ruby-1.9.2-p290/bin/rails:18:in `<main>' >> Bens-MacBook-Pro:~ bengibson$ >> >> >> And when I try the command >> >> rake db:create >> >> I get a similar error >> >> Bens-MacBook-Pro:sharebox bengibson$ rake db:create >> rake aborted! >> undefined method `groups' for Rails:Module >> >> (See full trace by running task with --trace) >> Bens-MacBook-Pro:sharebox bengibson$ db:create --trace >> -bash: db:create: command not found >> Bens-MacBook-Pro:sharebox bengibson$ rake --trace >> rake aborted! >> undefined method `groups' for Rails:Module >> /Users/bengibson/Documents/sharebox/config/application.rb:7:in `<top >> (required)>' >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in >> `require' >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in >> `require' >> /Users/bengibson/Documents/sharebox/Rakefile:5:in `<top (required)>' >> /Users/bengibson/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/rake_module.rb:25:in >> `load' >> /Users/bengibson/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/rake_module.rb:25:in >> `load_rakefile' >> /Users/bengibson/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:495:in >> `raw_load_rakefile' >> /Users/bengibson/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:78:in >> `block in load_rakefile' >> /Users/bengibson/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:129:in >> `standard_exception_handling' >> /Users/bengibson/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:77:in >> `load_rakefile' >> /Users/bengibson/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:61:in >> `block in run' >> /Users/bengibson/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:129:in >> `standard_exception_handling' >> /Users/bengibson/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/application.rb:59:in >> `run' >> /Users/bengibson/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/bin/rake:32:in >> `<top (required)>' >> /Users/bengibson/.rvm/gems/ruby-1.9.2-p290/bin/rake:19:in `load' >> /Users/bengibson/.rvm/gems/ruby-1.9.2-p290/bin/rake:19:in `<main>' >> Bens-MacBook-Pro:sharebox bengibson$ Rails server >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb:247:in >> `to_specs': Could not find abstract (>= 1.0.0) amongst >> [actionmailer-3.1.0, actionmailer-3.0.3, actionpack-3.1.0, >> actionpack-3.0.3, activemodel-3.1.0, activemodel-3.0.3, >> activerecord-3.1.0, activerecord-3.0.3, activeresource-3.1.0, >> activeresource-3.0.3, activesupport-3.1.0, activesupport-3.0.3, >> ansi-1.3.0, arel-2.2.1, arel-2.0.10, bcrypt-ruby-3.0.1, builder-3.0.0, >> builder-2.1.2, bundler-1.0.18, coffee-rails-3.1.1, coffee-script-2.2.0, >> coffee-script-source-1.1.2, erubis-2.7.0, erubis-2.6.6, execjs-1.2.6, >> hike-1.2.1, i18n-0.6.0, jquery-rails-1.0.14, mail-2.3.0, mail-2.2.19, >> mime-types-1.16, multi_json-1.0.3, mysql2-0.3.7, polyglot-0.3.2, >> rack-1.3.2, rack-1.2.3, rack-cache-1.0.3, rack-mount-0.8.3, >> rack-mount-0.6.14, rack-ssl-1.3.2, rack-test-0.6.1, rack-test-0.5.7, >> rails-3.0.3, railties-3.1.0, railties-3.0.3, rake-0.9.2, rdoc-3.9.4, >> rdoc-2.5.11, rdoc-data-2.5.3, sass-3.1.7, sass-rails-3.1.1, >> sprockets-2.0.0, thor-0.14.6, tilt-1.3.3, treetop-1.4.10, turn-0.8.2, >> tzinfo-0.3.29, uglifier-1.0.3] (Gem::LoadError) >> from >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:761:in >> `block in activate_dependencies' >> from >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:758:in >> `each' >> from >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:758:in >> `activate_dependencies' >> from >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:742:in >> `activate' >> from >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:764:in >> `block in activate_dependencies' >> from >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:758:in >> `each' >> from >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:758:in >> `activate_dependencies' >> from >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:742:in >> `activate' >> from >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:764:in >> `block in activate_dependencies' >> from >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:758:in >> `each' >> from >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:758:in >> `activate_dependencies' >> from >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:742:in >> `activate' >> from >> /Users/bengibson/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems.rb:1211:in >> `gem' >> from /Users/bengibson/.rvm/gems/ruby-1.9.2-p290/bin/Rails:18:in `<main> >> >> Could anybody help me out (i'm new to terminal so need simple >> explanations), or help me completely uninstall rails and rubygems and >> start from scratch. >> >> >> > > -- View this message in context: http://old.nabble.com/Installing-Rails-Help%21-tp32494138p32494721.html Sent from the RubyOnRails Users mailing list archive at Nabble.com. -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

