RailsApps / rails-bootstrap

Rails 5.1 starter app with the Bootstrap 4 front-end framework.
523 stars 231 forks source link

rvm PATH is not properly set up #18

Closed savvo closed 10 years ago

savvo commented 10 years ago

I've made several attempts to get the rails-bootstrap app running.

Yesterday I couldn't get past an "Asset depends on 'bootstrap/glyphicons-halflings-regular.eot'" error. So today I've wiped and started again.

Now I can't get composer.rb to complete, viz:

 extras  Set a robots.txt file to ban spiders? (y/n) n
  extras  Create a GitHub repository? (y/n) n
  extras  Use or create a project-specific rvm gemset? (y/n) y
  extras  recipe creating project-specific rvm gemset and .rvmrc
  extras  creating RVM gemset 'guff'
  extras  switching to gemset 'guff'

WARN: Unresolved specs during Gem::Specification.reset: builder (~> 3.1) rake (>= 0.8.7) WARN: Clearing out unresolved specs. Please report a bug if this causes problems. run rvm gemset list from "." Warning! PATH is not properly set up, '/home/rails-dev/.rvm/gems/ruby-2.1.1@guff/bin' is not available, usually this is caused by shell initialization files - check them for 'PATH=...' entries, it might also help to re-add RVM to your dotfiles: 'rvm get stable --auto-dotfiles', to fix temporarily in this shell session run: 'rvm use ruby-2.1.1@guff'.

gemsets for ruby-2.1.1 (found in /home/rails-dev/.rvm/gems/ruby-2.1.1) (default) fart global => guff

  create    .ruby-version
  create    .ruby-gemset
  extras  recipe setting quiet_assets for reduced asset pipeline logging
  extras  recipe adding better_errors gem
  extras  Add 'therubyracer' JavaScript runtime (for Linux users without node.js)? (y/n) 
DanielKehoe commented 10 years ago

Last night I resolved the error "Asset depends on 'bootstrap/glyphicons-halflings-regular.eot'" error (introduced by yesterday's Rails 4.1 release): https://github.com/RailsApps/rails-bootstrap/issues/17 Should be fine now with the newest release of the rails_layout gem.

DanielKehoe commented 10 years ago

What happens after

 extras  Add 'therubyracer' JavaScript runtime (for Linux users without node.js)? (y/n) 

Is there an error message? I can't see from your console output selection what happens next.

savvo commented 10 years ago

Is there an error message?

Err... no. Not any more. The 4-5 times I've tried this earlier I got errors about bundles and RVM paths when I _cd_ed to the app. Nothing this time and I've now got a bootstrap app running. Ain't that always the way?

Thanks and sorry to waste your time.