bündler
- Ejemplos
La opción github es nueva en Bundler 1.1. | The github option is new in Bundler 1.1. |
Bundler eleva un error si encuentra dependencias conflictivas. | Bundler will raise an error if it finds conflicting dependencies. |
Si estás familiarizado con Ruby, mix es Bundler, RubyGems y Rake combinados. | If you're familiar with Ruby mix is Bundler, RubyGems, and Rake combined. |
Bundler es una herramienta para resolución de dependencias de gemas. | Bundler is a gem dependency resolver. |
Mix, como Bundler, soporta diferentes entornos. | Mix, much like Bundler, supports differing environments. |
Bundler instala las gemas en un fichero.bundle en el directorio de nuestra cuenta de usuario. | Bundler installs the gems in a.bundle directory under our home directory. |
El proyecto tiene un Gemfile, por lo que sabemos que utiliza Bundler para sus dependencias. | The project has a Gemfile so it uses Bundler to manage its dependencies. |
No debemos olvidar ejecutar bundler para asegurarnos de que todas las gemas necesarias están instaladas. | Don't forget to run bundler to make sure that all of the necessary gems are installed. |
El código añade el grupo assets a los grupos sobre los que Bundler hará un require. | This code adds the assets group to the groups that are required by Bundler. |
Si le echamos un vistazo veremos que añade algunas tareas de ayuda de Bundler. | If we take a look at it we'll see that it adds some gem helper tasks from Bundler. |
Una vez que Bundler ha terminado, para añadir Active Admin tenemos que ejecutar un generador en nuestra aplicación. | Once Bundler has finished we need to run a generator to add Active Admin to our application. |
Esta es la manera recomendada para ejecutar tu aplicación sobre la última versión de Sinatra usando Bundler. | If you want to run your application with the latest Sinatra, using Bundler is the recommended way. |
Disfrute de una integración perfecta con herramientas como Rake Task Runner, Rails Generators, Bundler, RVM / Rbenv, Zeus y otros. | Enjoy seamless integration with tools like Rake Task Runner, Rails Generators, Bundler, RVM/Rbenv, Zeus, and others. |
Cuando Bundler haya acabado tenemos que modificar el manifiesto application.js para que cargue el JavaScript de pjax. | Once Bundler has finished we need to modify our application.js manifest file so that it loads pjax's JavaScript. |
De haber sido necesario, Bundler la hubiera descargado de Gemcutter y la hubiera instalado. | Had it not been already installed then bundler would have downloaded it from Gemcutter and installed it. |
Quizás el más notable de estos proyectos fue Composer: PHP gestor de pendencias definitivo (no a diferencia de Bundler de Ruby o NPM de Node). | Perhaps most notable of these projects was Composer: PHP's definitive dependency manager (not unlike Ruby's Bundler or Node's NPM). |
Cuando Bundler termine su trabajo tendremos a nuestra disposición un nuevo generador que podemos ejecutar para configurar nuestra aplicación para usar jQuery. | After Bundler has finished there will be a new generator available that we can run to set up jQuery in our application. |
Podemos ver por la salida del comando anterior que Bundler ha instalado todas las gemas necesarias para el funcionamiento de la aplicación, incluyendo sqlite3-ruby. | We can see from the output above that bundler has installed all of the gems that the application needs, including sqlite3-ruby. |
También es posible que desee investigar Bundler, una herramienta que le ayuda a administrar las dependencias de una aplicación y se puede usar junto con RubyGems. | You may also want to investigate Bundler, a generic tool which helps you manage an application's dependencies and may be used along RubyGems. |
Eso es todo por este episodio, esperamos haber dado una buena visión general del uso de Bundler para gestionar las gemas en nuestra aplicación. | That's it for this episode. I hope it gave you a good overview on how to use bundler to manage the gems in your applications. |
