Code Monkey home page Code Monkey logo

Comments (11)

maccman avatar maccman commented on July 19, 2024

I'm pretty sure the solution to your problems is to run:
gem bundle

Make sure you're using Ruby 1.9 too. The second issue is that bowline's Ruby is compiled in 32 bit mode, not 64. Running gem bundle should solve this too.

Hmm, not sure about the third issue. Can you pull from master and see if you still get that problem?

from bowline-twitter.

tchukuchuk avatar tchukuchuk commented on July 19, 2024

Which version of bundler I have to use ? Because with the 0.9.25 I have :

-> gem bundle
ERROR: While executing gem ... (RuntimeError)
Unknown command bundle

With the last version available on GitHub, it seems working :

jbiard@stick - [1.9.1p378] - (master) - ~/dev/bowline -
-> bin/bowline-gen
Usage: bowline generator_name [options] [args]

Generate components for your application or entirely new applications.

Available generators
app Generates a new application.
binder Generates a new binder.
helper Generates a new helper.
migration Generates a new database migration.
model Generates a new model.
window Generates a new window.

General options:
-p, --pretend Run, but do not make any changes.
-f, --force Overwrite files that already exist.
-s, --skip Skip files that already exist.
-d, --delete Delete files that have previously been generated with this generator.
--no-color Don't colorize the output
-h, --help Show this message
--debug Do not catch errors

Thanks for your help.

from bowline-twitter.

maccman avatar maccman commented on July 19, 2024

Ok, sorry, I forgot to push the gem to gemcutter. The latest released gem should now be in sync with the github master branch.

You need to install bundler08 - which I think is a gemspec dependency for bowline.

from bowline-twitter.

tchukuchuk avatar tchukuchuk commented on July 19, 2024

Ok, I have updated bowline.

But I still have issues :

-> gem bundle

Calculating dependencies...
Updating source: http://rubygems.org
Updating source: http://gems.rubyforge.org
/Users/jbiard/.rvm/gems/ruby-1.9.1-p378/gems/bundler08-0.8.5/lib/bundler08/resolver.rb:115:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
Caching: activemodel-3.0.0.beta3.gem
ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory - /Users/jbiard/.rvm/gems/ruby-1.9.1-p378/cache/activemodel-3.0.0.beta3.gem

After cleaning my gem cache directory, I have :

-> gem bundle

Calculating dependencies...
ERROR: While executing gem ... (NoMethodError)
undefined method `spec' for nil:NilClass

from bowline-twitter.

maccman avatar maccman commented on July 19, 2024

ok, try this:
cd to bowline-twitter
rm -rf vendor/cache
rm -rf vendor/gems
rm -rf .bundle

Then try updating your RubyGems.

from bowline-twitter.

maccman avatar maccman commented on July 19, 2024

You could try to uninstall bundler (not bundler08) - just to see if the two are conflicting.

also, what's the backtrace of gem bundle?

from bowline-twitter.

maccman avatar maccman commented on July 19, 2024

Ignore everything I said above - I've found the issue. Give me a couple of mins.

from bowline-twitter.

maccman avatar maccman commented on July 19, 2024

Ok, hopefully the update to boot.rb has fixed your problems. Let me know if it hasn't.

from bowline-twitter.

tchukuchuk avatar tchukuchuk commented on July 19, 2024

-> gem bundle

Calculating dependencies...
Updating source: http://rubygems.org
Updating source: http://gems.rubyforge.org
/Users/jbiard/.rvm/gems/ruby-1.9.1-p378/gems/bundler08-0.8.5/lib/bundler08/resolver.rb:115:Warning: Gem::Dependency#version_requirements is deprecated and will be removed on or after August 2010. Use #requirement
Caching: activemodel-3.0.0.beta3.gem
ERROR: While executing gem ... (Errno::ENOENT)
No such file or directory - /Users/jbiard/.rvm/gems/ruby-1.9.1-p378/cache/activemodel-3.0.0.beta3.gem

-> gem bundle --backtrace

Calculating dependencies...
ERROR: While executing gem ... (NoMethodError)
undefined method spec' for nil:NilClass /Users/jbiard/.rvm/gems/ruby-1.9.1-p378/gems/bundler08-0.8.5/lib/bundler08/source.rb:177:inblock in fetch_specs'
/Users/jbiard/.rvm/gems/ruby-1.9.1-p378/gems/bundler08-0.8.5/lib/bundler08/source.rb:176:in each' /Users/jbiard/.rvm/gems/ruby-1.9.1-p378/gems/bundler08-0.8.5/lib/bundler08/source.rb:176:infetch_specs'
/Users/jbiard/.rvm/gems/ruby-1.9.1-p378/gems/bundler08-0.8.5/lib/bundler08/source.rb:156:in gems' /Users/jbiard/.rvm/gems/ruby-1.9.1-p378/gems/bundler08-0.8.5/lib/bundler08/resolver.rb:86:inblock in initialize'
/Users/jbiard/.rvm/gems/ruby-1.9.1-p378/gems/bundler08-0.8.5/lib/bundler08/resolver.rb:85:in each' /Users/jbiard/.rvm/gems/ruby-1.9.1-p378/gems/bundler08-0.8.5/lib/bundler08/resolver.rb:85:ininitialize'
/Users/jbiard/.rvm/gems/ruby-1.9.1-p378/gems/bundler08-0.8.5/lib/bundler08/resolver.rb:47:in new' /Users/jbiard/.rvm/gems/ruby-1.9.1-p378/gems/bundler08-0.8.5/lib/bundler08/resolver.rb:47:inresolve'
/Users/jbiard/.rvm/gems/ruby-1.9.1-p378/gems/bundler08-0.8.5/lib/bundler08/bundle.rb:93:in install' /Users/jbiard/.rvm/gems/ruby-1.9.1-p378/gems/bundler08-0.8.5/lib/bundler08/cli.rb:40:inbundle'
/Users/jbiard/.rvm/gems/ruby-1.9.1-p378/gems/bundler08-0.8.5/lib/bundler08/cli.rb:85:in run' /Users/jbiard/.rvm/gems/ruby-1.9.1-p378/gems/bundler08-0.8.5/lib/bundler08/cli.rb:6:inrun'
/Users/jbiard/.rvm/gems/ruby-1.9.1-p378/gems/bundler08-0.8.5/lib/bundler08/commands/bundle_command.rb:80:in execute' /Users/jbiard/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/command.rb:270:ininvoke'
/Users/jbiard/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:134:in process_args' /Users/jbiard/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/command_manager.rb:104:inrun'
/Users/jbiard/.rvm/rubies/ruby-1.9.1-p378/lib/ruby/site_ruby/1.9.1/rubygems/gem_runner.rb:58:in run' /Users/jbiard/.rvm/rubies/ruby-1.9.1-p378/bin/gem:29:in

'

from bowline-twitter.

tchukuchuk avatar tchukuchuk commented on July 19, 2024

Have you checked my last error ?
Thanks,

from bowline-twitter.

maccman avatar maccman commented on July 19, 2024

Ok, this should be sorted now. Use the gem 'bowline-bundler' and execute bowline-bundle instead of gem bundle.

from bowline-twitter.

Related Issues (9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.