Hobo / hobo

The web app builder for Rails (moved from tablatom/hobo)
http://hobocentral.net
103 stars 39 forks source link

'hobo new' using Hobo 2.2.4 fails on bundle install (under Ruby 2.2.2) #174

Open enwood opened 8 years ago

enwood commented 8 years ago

Small problem with a missing file when creating a new Hobo 2.2.4 app...

~/src % gem install hobo
Fetching: hobo_support-2.2.4.gem (100%)
Successfully installed hobo_support-2.2.4
Fetching: dryml-2.2.4.gem (100%)
Building native extensions.  This could take a while...
Successfully installed dryml-2.2.4
Fetching: hobo_fields-2.2.4.gem (100%)
Successfully installed hobo_fields-2.2.4
Fetching: hobo-2.2.4.gem (100%)
Successfully installed hobo-2.2.4
4 gems installed
~/src % hobo new attr_test2
Hobo Command Line Interface 2.2.4
Generating Rails infrastructure...
  ..
  ..
  ..
     gemfile    responders (~> 2.0)

 Hobo Setup Wizard 
  Do you want to start the Setup Wizard now?
(Choose 'n' if you need to manually customize any file before running the Wizard.
You can run it later with `hobo g setup_wizard` from the application root dir.) [y|n] y
    => "y"
         run    bundle install from "."
--- ERROR REPORT TEMPLATE -------------------------------------------------------
- What did you do?

  I ran the command `/Volumes/SSD500/Users/tgriffin/.rbenv/versions/2.2.2/bin/bundle install`

- What did you expect to happen?

  I expected Bundler to...

- What happened instead?

  Instead, what actually happened was...

Error details

    Errno::ENOENT: No such file or directory @ rb_file_s_stat - manual/multi_model_forms.markdown
      /Volumes/SSD500/Users/tgriffin/.rbenv/versions/2.2.2/lib/ruby/site_ruby/2.2.0/rubygems/specification.rb:2716:in `stat'
      /Volumes/SSD500/Users/tgriffin/.rbenv/versions/2.2.2/lib/ruby/site_ruby/2.2.0/rubygems/specification.rb:2716:in `block in validate_permissions'
      /Volumes/SSD500/Users/tgriffin/.rbenv/versions/2.2.2/lib/ruby/site_ruby/2.2.0/rubygems/specification.rb:2715:in `each'
enwood commented 8 years ago

Sorry, looks like a problem on my machine as this is happening with 2.2.3 as well.

enwood commented 8 years ago

My problem was I'd built the new Hobo project under a Ruby 2.2.2 environment. This chokes bundle install for Hobo.

Hobo 2.2.4 works as expected with Ruby 2.1.4.

Tim

enwood commented 8 years ago

Maybe I'll leave this open? Tim

Feel free to close it if it's not directly a Hobo problem.

iox commented 8 years ago

Thanks a lot Tim. Yes, let's leave this open, so we can get Ruby 2.2/2.3 support as soon as possible.