Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Compiling ember-data

In the Read-Me for ember-data I found the following lines:

Getting ember-data:
Currently you must build ember-data.js yourself. Clone the repository, run bundle then rake dist. You'll find ember-data.js in the dist directory."

I'm a little confused though... what does "run bundle" mean?

like image 423
user1948559 Avatar asked Jan 04 '13 16:01

user1948559


2 Answers

It's a ruby thing. Bundler is a rubygem for managing application dependencies. The bundle command is used to install all of the rubygems that are required by the ember-data project. Try this:

git clone git://github.com/emberjs/data.git
cd data
bundle install
rake 

If bundle command is missing, you'll need to install the bundler gem:

gem install bundler

Of course you also need to have a modern version of ruby and rubygems ;-)

See http://gembundler.com/ for more info on bundler

like image 134
Mike Grassotti Avatar answered Nov 11 '22 00:11

Mike Grassotti


run bundle means install the package dependencies via Bundler which will read the Gemfile and install the dependencies defined in it.

To install the dependencies run the command bundle install

like image 37
Adrien Coquio Avatar answered Nov 11 '22 00:11

Adrien Coquio