I can't get the last RSpec task to successfully run, see using-other-gems:
macbuech:foodie josh$ bundle install
Fetching gem metadata from https://rubygems.org/........
Using activesupport (3.0.17)
Using diff-lcs (1.1.3)
Using foodie (0.0.1) from source at /Users/josh/Documents/Work/Sientia/foodie
Using rspec-core (2.11.1)
Using rspec-expectations (2.11.3)
Using rspec-mocks (2.11.2)
Using rspec (2.11.0)
Using bundler (1.2.0)
Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed.
macbuech:foodie josh$ bundle exec rspec spec
You don't have i18n installed in your application. Please add it to your Gemfile and run bundle install
/Users/josh/.rvm/gems/ruby-1.9.3-p0/gems/activesupport-3.0.17/lib/active_support/i18n.rb:2:in `require': cannot load such file -- i18n (LoadError)
I'm tempted to add 'i18n' to my gemspec file like this:
gem.add_dependency "i18n"
But I'm not 100% confident whether this is the right way to go? Thanks anyway for this nice tutorial.
I can't get the last RSpec task to successfully run, see using-other-gems:
I'm tempted to add 'i18n' to my gemspec file like this:
gem.add_dependency "i18n"
But I'm not 100% confident whether this is the right way to go? Thanks anyway for this nice tutorial.