Ruby on Rails Friday, December 30, 2011

So O have a working 3.1.2 application. I had done a
bundle install --deployment


Now I want to add nokogiri so I added
gem 'nokogiri'
to the Gemfile

I then did

- - - -

c:\RailsInstaller\Sites\ultradedup002> bundle install --deployment
You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated Gemfile.lock to version control.

You have added to the Gemfile:
* nokogiri

c:\RailsInstaller\Sites\ultradedup002> bundle install
You are trying to install in deployment mode after changing
your Gemfile. Run `bundle install` elsewhere and add the
updated Gemfile.lock to version control.

If this is a development machine, remove the Gemfile freeze
by running `bundle install --no-deployment`.

You have added to the Gemfile:
* nokogiri

c:\RailsInstaller\Sites\ultradedup002> bundle install --no-deployment
.
.
.

c:\RailsInstaller\Sites\ultradedup002> bundle install --deployment

- - - -


What's going on? Why do I need to go through these contortions?

Ralph Shnelvar

--
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 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.

No comments:

Post a Comment