Ruby on Rails
Saturday, April 7, 2012
On Friday, April 6, 2012 4:37:17 PM UTC-3, Jeff Kyzer wrote:
Hello
I have been learning ruby on rails 3 from the Michael hartl book, and
I have run into something that I can't figure out. After updating the
gem file and running bundle install, I am getting the following error
You passed :required as an option for gem 'sqlite3-ruby', but it is
invalid.
Bundler syntax:
gem "name", "version", :require => "path/to/require"
See Bundler documentation:
http://gembundler.com/man/gemfile.5.html
In relation to SQLite3 gem, gem is now "sqlite3", sqlite3-ruby is now a shim/redirect and has been deprecated.
So, you will end with this in your Gemfile:
gem "sqlite3", "~> 1.3.5"
There is no need for :require since the gem name matches the require itself.
--
Luis Lavena
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/RK3jnktJwLwJ.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment