missing dependencies or recommends for default environment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ruby-railties-3.2 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
ruby-railties-3.2 which contains /usr/bin/rails should depend on or at least recommend packages needed in a default environment!
Most users will use the "rails new /somepath" command, but this command depends on several packages which does not get installed automatically: bundler ruby-rails-3.2 ruby-jquery-rails ruby-coffee-rails ruby-sqlite3 ruby-sass-rails ruby-uglifier
If "rails" is executed in the newly created workspace the following packages are needed: bundler ruby-coffee-
Since ruby-activereco
See /usr/lib/
Where to find the dependencies:
- ruby-jquery-rails
used by template /usr/lib/
- ruby-rails-3.2, ruby-journey, ruby-sass-rails, ruby-coffee-rails and ruby-uglifier
used by template generator /usr/lib/
- bundler
used by templates:
/usr/
/usr/
How to replicate:
remove ruby*
install ruby-railties-3.2
execute "rails new /tmp/test1"
cd /tmp/test1
execute "rails server"
rm -rf /tmp/test1
Errors shown by rails new:
/usr/bin/ruby1.9.1: No such file or directory -- /usr/bin/bundle (LoadError)
Could not find gem 'rails (= 3.2.13) ruby' in the gems available on this machine.
Could not find gem 'jquery-rails (>= 0) ruby' in the gems available on this machine.
Could not find gem 'coffee-rails (~> 3.2.1) ruby' in the gems available on this machine.
Could not find gem 'sqlite3 (>= 0) ruby' in the gems available on this machine.
Could not find gem 'sass-rails (~> 3.2.3) ruby' in the gems available on this machine.
Could not find gem 'uglifier (>= 1.0.3) ruby' in the gems available on this machine.
Could not find gem 'arel (~> 3.0.2) ruby', which is required by gem 'rails (= 3.2.13) ruby', in any of the sources.
Errors shown in default environment:
/usr/lib/
Could not find arel-3.0.2 in any of the sources
Could not find coffee-
Could not find execjs-1.4.0 in any of the sources
Could not find coffee-script-2.2.0 in any of the sources
Could not find coffee-rails-3.2.2 in any of the sources
Could not find jquery-rails-2.0.2 in any of the sources
Could not find rails-3.2.13 in any of the sources
Could not find sass-3.2.9 in any of the sources
Could not find sass-rails-3.2.5 in any of the sources
Could not find sqlite3-1.3.6 in any of the sources
Could not find uglifier-1.2.5 in any of the sources