Hobo / hobo

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

Hobo Tutorial. Brand new install gem conflicts #161

Closed prussiap closed 9 years ago

prussiap commented 9 years ago

Hi Everyone, I tried taking the plunge into Hobo, especially following the long tutorial ( http://hobocentral.net/tutorials/agility ) from my usual Rails new app. I use Chruby for ruby versioning instead of RVM and have never really had an issue with it.

I easily get through the

gem install hobo --pre

Then I try to make a new hobo app

hobo new agility_tutorial

Sadly that shows me some gem conflicts.

Hobo Command Line Interface 2.1.1
Generating Rails infrastructure...
      create
      create  README.rdoc
      create  Rakefile
      create  config.ru
      create  .gitignore
      create  Gemfile
      create  app
      create  app/assets/javascripts/application.js
      create  app/assets/stylesheets/application.css
      create  app/controllers/application_controller.rb
      create  app/helpers/application_helper.rb
      create  app/views/layouts/application.html.erb
      create  app/assets/images/.keep
      create  app/mailers/.keep
      create  app/models/.keep
      create  app/controllers/concerns/.keep
      create  app/models/concerns/.keep
      create  bin
      create  bin/bundle
      create  bin/rails
      create  bin/rake
      create  bin/setup
      create  config
      create  config/routes.rb
      create  config/application.rb
      create  config/environment.rb
      create  config/secrets.yml
      create  config/environments
      create  config/environments/development.rb
      create  config/environments/production.rb
      create  config/environments/test.rb
      create  config/initializers
      create  config/initializers/assets.rb
      create  config/initializers/backtrace_silencers.rb
      create  config/initializers/cookies_serializer.rb
      create  config/initializers/filter_parameter_logging.rb
      create  config/initializers/inflections.rb
      create  config/initializers/mime_types.rb
      create  config/initializers/session_store.rb
      create  config/initializers/wrap_parameters.rb
      create  config/locales
      create  config/locales/en.yml
      create  config/boot.rb
      create  config/database.yml
      create  db
      create  db/seeds.rb
      create  lib
      create  lib/tasks
      create  lib/tasks/.keep
      create  lib/assets
      create  lib/assets/.keep
      create  log
      create  log/.keep
      create  public
      create  public/404.html
      create  public/422.html
      create  public/500.html
      create  public/favicon.ico
      create  public/robots.txt
      create  test/fixtures
      create  test/fixtures/.keep
      create  test/controllers
      create  test/controllers/.keep
      create  test/mailers
      create  test/mailers/.keep
      create  test/models
      create  test/models/.keep
      create  test/helpers
      create  test/helpers/.keep
      create  test/integration
      create  test/integration/.keep
      create  test/test_helper.rb
      create  tmp/cache
      create  tmp/cache/assets
      create  vendor/assets/javascripts
      create  vendor/assets/javascripts/.keep
      create  vendor/assets/stylesheets
      create  vendor/assets/stylesheets/.keep
       apply  /var/folders/0g/xqnpvs293kx_g8hg7jwbsxsr0000gn/T/hobo_app_template
     gemfile    hobo (= 2.1.1)
     gemfile    protected_attributes
The template [/var/folders/0g/xqnpvs293kx_g8hg7jwbsxsr0000gn/T/hobo_app_template] could not be loaded. Error: Unable to activate rails-4.0.13, because activesupport-4.2.0 conflicts with activesupport (= 4.0.13), actionpack-4.2.0 conflicts with actionpack (= 4.0.13), railties-4.2.0 conflicts with railties (= 4.0.13)

The folder was created and rails new (or hobo's version) ran since the error was at the end.

Gemfile     Rakefile    bin     config.ru   lib     public      tmp
README.rdoc app     config      db      log     test        vendor

My Guess was to remove 4.0.13 conflicting versions since the gemfile has rails 4.2.0 in it. That lead me nowhere. Re-installing and removing 4.2 versions out of curiosity lead to similar "rails not installed" type errors.

I'm not new to rails, though new to rails 4.2 as i've been supporting legacy apps instead of greenfield, but I could use some help sorting this out.

Searching google, hobo community and SO.. have not provided me with any feedback other then removing conflicting gems which I did.

Chruby says i'm running ruby-2.1.5 and I do verify that my local 2.1.5 folder have all the conflicted gems in it

~/.gem/ruby/2.1.5/gems/

gemlist:

*** LOCAL GEMS ***

actionmailer (4.2.0, 4.0.13, 3.2.21)
actionpack (4.2.0, 4.0.13, 3.2.21)
actionview (4.2.0)
activejob (4.2.0)
activemodel (4.2.0, 4.0.13, 3.2.21)
activerecord (4.2.0, 4.0.13, 3.2.21)
activerecord-deprecated_finders (1.0.4)
activeresource (3.2.21)
activesupport (4.2.0, 4.0.13, 3.2.21)
acts_as_list (0.1.2)
acts_as_paranoid (0.4.3)
addressable (2.3.7, 2.3.6)
afm (0.2.2)
akami (1.2.2)
american_date (1.1.0)
andand (1.3.3)
arel (6.0.0, 4.0.2, 3.0.3)
Ascii85 (1.0.2)
attribute_normalizer (1.1.0)
aws-s3 (0.6.3)
bigdecimal (1.2.4)
binding_of_caller (0.7.2)
builder (3.2.2, 3.1.4, 3.0.4)
bundler (1.8.5)
byebug (5.0.0)
capistrano (3.0.1)
capybara (2.2.0)
carrierwave (0.9.0)
chargify_api_ares (0.6.1)
childprocess (0.5.5)
chronic (0.10.2, 0.6.7)
coderay (1.1.0)
coffee-rails (4.1.0)
coffee-script (2.4.1)
coffee-script-source (1.9.1.1)
colorize (0.7.5, 0.7.3)
columnize (0.9.0)
connection_pool (2.1.3)
crack (0.4.2)
cucumber (1.3.10)
cucumber-rails (1.4.0)
daemons (1.2.2, 1.1.9)
dalli (1.0.4)
deadlock_retry (1.2.0)
debug_inspector (0.0.2)
diff-lcs (1.2.5)
doc_raptor (0.3.2)
domain_name (0.5.23)
dotenv (2.0.1)
dotenv-rails (2.0.1)
dryml (2.1.1)
engineyard (3.1.3, 3.0.1)
engineyard-cloud-client (2.1.1)
engineyard-serverside (2.6.3, 2.5.0)
engineyard-serverside-adapter (2.4.0, 2.2.0)
erubis (2.7.0)
escape (0.0.4)
eventmachine (1.0.7, 1.0.3)
exception_notification (4.0.1)
execjs (2.5.2, 2.4.0, 2.2.2)
ey_config (0.0.7)
factory_girl (4.5.0, 3.6.2)
factory_girl_rails (4.5.0, 3.6.0)
faraday (0.9.1, 0.9.0)
ffi (1.9.8, 1.9.6)
flay (2.6.1, 2.5.0)
flog (4.3.2, 4.3.0)
geokit (1.6.7)
geokit-rails (2.0.1)
gherkin (2.12.2)
globalid (0.3.5)
gyoku (1.1.1)
haml (4.0.6, 4.0.5)
hashery (2.1.1)
headless (1.0.2)
highline (1.6.21)
hike (1.2.3)
hobo (2.1.1)
hobo_fields (2.1.1)
hobo_support (2.1.1)
hobo_will_paginate (2.1.1)
hpricot (0.8.4)
htmlentities (4.3.1)
http-cookie (1.0.2)
httparty (0.13.1)
httpi (2.1.1)
i18n (0.7.0, 0.6.11)
innertube (1.1.0)
intercom (2.4.4, 2.4.3)
intercom-rails (0.2.27)
io-console (0.4.2)
jbuilder (2.2.16)
joiner (0.2.0)
journey (1.0.4)
jquery-rails (4.0.3)
json (1.8.3, 1.8.2, 1.8.1)
jwt (0.1.13)
kgio (2.9.3, 2.9.2)
launchy (2.4.3)
liquid (2.6.2, 2.6.1)
loofah (2.0.2)
magic_encoding (0.0.2)
mail (2.6.3, 2.5.4)
metaclass (0.0.4)
method_source (0.8.2)
middleware (0.1.0)
mime-types (2.6.1, 2.4.3, 1.25.1)
mini_magick (3.5.0)
mini_portile (0.6.2, 0.6.1)
minitest (5.7.0, 4.7.5)
mocha (0.14.0)
mono_logger (1.1.0)
multi_json (1.11.0, 1.7.9)
multi_test (0.1.2, 0.1.1)
multi_xml (0.5.5)
multipart-post (2.0.0)
mysql2 (0.3.18, 0.3.17)
net-scp (1.2.1)
net-ssh (2.9.2, 2.9.1)
netrc (0.10.3, 0.8.0)
newrelic_rpm (3.11.1.284, 3.9.7.266)
nokogiri (1.6.6.2, 1.6.4.1)
nori (2.3.0)
oauth (0.4.7)
oauth2 (0.9.3)
parallel (1.4.1, 1.3.3)
parallel_tests (1.3.7, 1.0.7)
pdf-inspector (1.0.1)
pdf-reader (1.3.3)
pg (0.18.2)
polyglot (0.3.5)
prawn (0.12.0)
prawnto (0.1.1)
prototype-rails (3.2.1)
pry (0.10.1)
pry-rails (0.3.4)
psych (2.0.5)
rabl (0.10.1)
rack (1.6.1, 1.5.5, 1.4.5)
rack-cache (1.2)
rack-protection (1.5.3)
rack-ssl (1.3.4)
rack-test (0.6.3)
rack-uri_sanitizer (0.0.2)
rails (4.2.0, 4.0.13, 3.2.21)
rails-deprecated_sanitizer (1.0.3)
rails-dom-testing (1.0.6)
rails-html-sanitizer (1.0.2)
rails3_before_render (0.2.0)
railties (4.2.0, 4.0.13, 3.2.21)
raindrops (0.13.0)
rake (10.4.2, 10.1.1, 10.1.0)
rchardet (1.6.0, 1.3.1)
rdoc (4.2.0, 4.1.0, 3.12.2)
redis (3.0.7)
redis-namespace (1.5.1)
responds_to_parent (1.1.0)
resque (1.25.2)
resque-retry (1.1.4)
resque-scheduler (2.5.5)
resque_mailer (2.2.7)
rest-client (1.8.0, 1.7.2)
riddle (1.5.11)
rmagick (2.12.2)
rspec (2.14.1)
rspec-core (3.2.3, 2.14.8)
rspec-expectations (3.2.1, 2.14.5)
rspec-mocks (3.2.1, 2.14.6)
rspec-rails (3.2.2, 2.14.2)
rspec-support (3.2.2)
ruby-hmac (0.4.0)
ruby-rc4 (0.1.5)
ruby-units (1.4.5)
ruby_parser (3.6.5, 3.6.3)
rubyntlm (0.3.4)
rubyzip (1.1.7, 1.1.6)
rufus-scheduler (2.0.24)
safe_yaml (1.0.4)
sanitize (2.0.6)
sass (3.4.14, 3.4.13, 3.4.9)
sass-rails (5.0.3, 3.2.6)
savon (2.3.3)
schema_plus (0.4.1)
sdoc (0.4.1)
selenium-webdriver (2.39.0)
sexp_processor (4.5.0, 4.4.4)
sinatra (1.4.6, 1.4.5)
slop (3.6.0)
spork (0.9.2)
spring (1.3.6)
sprockets (3.2.0, 2.2.3)
sprockets-rails (2.3.1)
sshkit (1.7.1, 1.5.1)
subexec (0.2.3)
test-unit (2.1.5.0)
text (1.2.3)
thin (1.6.3)
thinking-sphinx (3.1.3)
thor (0.19.1)
thread_safe (0.3.5)
tilt (1.4.1)
timecop (0.7.3, 0.7.1)
timeliness (0.3.7)
tinymce-rails (4.1.6)
treetop (1.4.15)
ts-resque-delta (2.0.0)
ttfunk (1.0.3)
turbolinks (2.5.3)
tzinfo (1.2.2, 0.3.43)
uglifier (2.7.1, 2.5.3)
unf (0.1.4)
unf_ext (0.0.6)
unicorn (4.8.3)
validates_timeliness (3.0.14)
valuable (0.9.9, 0.9.8)
vegas (0.1.11)
wasabi (3.2.3)
web-console (2.1.2)
webmock (1.11.0)
websocket (1.0.7)
whenever (0.9.4, 0.7.3)
will_paginate (3.0.7)
xml-simple (1.1.5)
xpath (2.0.0)
HuBandiT commented 9 years ago

(Suggesting flagging as duplicate of #124 which itself seems to be a duplicate of #97.)

Hobo does not yet support Rails 4.2, but it does not currently specify this in its dependencies - see issue #124 - so the gem bundling environment happily (and correctly) loads newer versions of Rails.

Until the dependency specification is fixed in Hobo, please manually ensure that the environment Hobo works in does not attempt to load Rails 4.2 gems (e.g. uninstall the Rails 4.2 gems from that gem set).

iox commented 9 years ago

Hi @prussiap , I'm happy to inform that the latest Hobo 2.2.3 supports Rails 4.2. Please write if you encounter further issues!