RailsApps / rails3-devise-rspec-cucumber

An example Rails 3.2 app with Devise and RSpec and Cucumber.
http://railsapps.github.io/
444 stars 144 forks source link

The template [https://raw.github.com/RailsApps/rails3-application-templates/master/rails3-devise-rspec-cucumber-template.rb] could not be loaded. Error: No such file or directory #29

Closed krishnaprasadk closed 12 years ago

krishnaprasadk commented 12 years ago

I have installed Rails 3.1.3 and Ruby 1.9.2p290.After give the following command

rails new rails3-devise-rspec-cucumber -m https://raw.github.com/RailsApps/rails3-application-templates/master/rails3-devise-rspec-cucumber-template.rb -T

i got the following error

The template [https://raw.github.com/RailsApps/rails3-application-templates/master/rails3-devise-rspec-cucumber-template.rb] could not be loaded. Error: No such file or directory

rdunlop commented 12 years ago

I have confirmed, the error you list is happening on Rails 3.1.3 and Ruby 1.9.2p318.

In my output, it appears to be complaining about: /test/rails3-devise-rspec-cucumber/spec/spec_helper.rb: No such file or directory

This file should be created using rspec:install.

Looking up in the output, I see an error from rspec:install:

generate    rspec:install

/home/robin/.rvm/gems/ruby-1.9.2-p318@testing/gems/execjs-1.3.0/lib/execjs/runtimes.rb:50:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)

To solve this issue, I would usually install 'therubyracer' gem. But I'm not sure whether that should be added to the Gemfile, or something else.

DanielKehoe commented 12 years ago

Please refer to the instructions for Installing Rails 3.2 detailed in this article: http://railsapps.github.com/installing-rails.html

I do not recommend using Rails 3.1.3 and Ruby 1.9.2.

For development on Linux Ubuntu, it is best to install the Node.js server-side JavaScript environment as described in the "Installing Rails 3.2" article.

-- Daniel