Double check you have libxml2-dev and libxslt-dev packages installed on
your staging server... Nokogiri won't build without them available on the
machine.


On Tue, Jan 14, 2014 at 1:41 PM, jsnark <[email protected]> wrote:

> Look at the file
>
>
> /apps/myapp_com/staging/shared/bundle/ruby/1.9.1/gems/nokogiri-1.6.1/ext/nokogiri/gem_make.out
>
> If you can not figure out what the problem is, post that file here.
>
>
> On Tuesday, January 14, 2014 7:45:25 AM UTC-5, der_tom wrote:
>>
>>   * executing "cd /apps/myapp_com/staging/releases/20140114124030 &&
>> bundle install --gemfile 
>> /apps/myapp_com/staging/releases/20140114124030/Gemfile
>> --path /apps/myapp_com/staging/shared/bundle --deployment --quiet
>> --without development test"
>>     servers: ["162.243.115.238"]
>>     [162.243.115.238] executing command
>>  ** [out :: 162.243.115.238] Gem::Installer::ExtensionBuildError: ERROR:
>> Failed to build gem native extension.
>>  ** [out :: 162.243.115.238]
>>  ** [out :: 162.243.115.238] /usr/local/rvm/rubies/ruby-1.9.3-p484/bin/ruby
>> extconf.rb
>>  ** [out :: 162.243.115.238]
>>  ** [out :: 162.243.115.238] Gem files will remain installed in
>> /apps/myapp_com/staging/shared/bundle/ruby/1.9.1/gems/nokogiri-1.6.1 for
>> inspection.
>>  ** [out :: 162.243.115.238] Results logged to /apps/myapp_com/staging/
>> shared/bundle/ruby/1.9.1/gems/nokogiri-1.6.1/ext/nokogiri/gem_make.out
>>  ** [out :: 162.243.115.238] An error occurred while installing nokogiri
>> (1.6.1), and Bundler cannot
>>  ** [out :: 162.243.115.238]
>>  ** [out :: 162.243.115.238] continue.
>>  ** [out :: 162.243.115.238]
>>  ** [out :: 162.243.115.238] Make sure that `gem install nokogiri -v
>> '1.6.1'` succeeds before bundling.
>>  ** [out :: 162.243.115.238]
>>     command finished in 112506ms
>> *** [deploy:update_code] rolling back
>>
>>
>> >> installing nokogiri works fine in all rvm gemsets....help
>>
>> thx
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/rubyonrails-talk/365c5e50-e51d-4622-aa0b-dd29a6b5f369%40googlegroups.com
> .
>
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/CAAb4X%3DzzKbr32eThdhAy8qdXT7c2Au7BeEzOxh-dGa11ajAAjw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to