clayallsopp / maglev

Faster, smoother iOS development
36 stars 7 forks source link

git://github.com/clayallsopp/maglev.git (at master) is not checked out. Please run `bundle install` #12

Closed holgersindbaek closed 11 years ago

holgersindbaek commented 11 years ago

I'm getting this error, even though I've run bundle install and everything. I'm not sure if it is my bundler that is out of order. If it is, then please close the issue.

Error:

git://github.com/clayallsopp/maglev.git (at master) is not checked out. Please run `bundle install`

Gemfile:

source "https://rubygems.org"

gem "teacup"
gem "sugarcube"
gem "sweettea"
gem 'bubble-wrap', :path => '~/Projects/*Defaults/Misc/Cocoapods/BubbleWrap', :branch => 'master'
# gem 'bubble-wrap', "~> 1.3.0"
gem "geomotion"
gem "motion-schemes"
gem "motion-cocoapods"
gem "afmotion"
gem "maglev", :git => "git://github.com/clayallsopp/maglev.git"
gem "json_read_write", :path => '~/Projects/*Defaults/Misc/Cocoapods/JSONReadWrite', :branch => 'master'
# gem "json_read_write", :git => "git://github.com/holgersindbaek/JSONReadWrite.git", :branch => "master"
# gem 'const_cache'

group :development do
  gem "awesome_print_motion"
end
clayallsopp commented 11 years ago

There is actually no Maglev gem, so it won't work inside of a Gemfile. You need to clone the repo as a git submodule and reference the code using app.files <<, as you would normal RubyMotion code. Make sense?

clayallsopp commented 11 years ago

Ha there is a Gemspec. I have no idea what I'm talking about.

clayallsopp commented 11 years ago

Yeah I just did a local project with the following Gemfile, and it worked fine. Seems to be a RubyGems/Bundler problem on your end?

$ motion create maglev-test
$ touch Gemfile
$ vim Gemfile
 ....
$ bundle
$ rake
source "https://rubygems.org"

gem "maglev", :git => "git://github.com/clayallsopp/maglev.git"
holgersindbaek commented 11 years ago

Hmmm. That's weird. Thanks for testing.