On Thu, Oct 6, 2011 at 4:20 PM, Colin Law <[email protected]> wrote:
> On 6 October 2011 21:09, Ruby Student <[email protected]> wrote: > > I'm sorry, I thought I said on my post that I tried the suggestion from > the > > failure messages. > > Anyway, this is what I got: > > > > port install sqlite3 +universal > > Command not found. > > > > yum install sqlite3-devel > > Setting up Install Process > > No package sqlite3-devel available. > > Error: Nothing to do > > > > As I said before, I am running Redhat 6.1 64bit. > > I don't know much about redhat but googling for > install sqlite-devel redhat > gave a number of hits including > > http://www.sheepguardingllama.com/2008/11/installing-ruby-sqlite3-on-red-hat-or-centos-linux/ > That or one of the others may be helpful > > Colin, the link you gave me helped install sqlite3. That's fine. However, it looks like Rails is still looking for more dependencies, which I already installed, except that I hit one which I can't see how to address it. The execjs wants a javascript runtime. I installed at least three suggested ones: ExecJS supports these runtimes: - therubyracer <https://github.com/cowboyd/therubyracer> - Google V8 embedded within Ruby - therubyrhino <https://github.com/cowboyd/therubyrhino> - Mozilla Rhino embedded within JRuby - Johnson <https://github.com/jbarnette/johnson> - Mozilla SpiderMonkey embedded within Ruby - Mustang <https://github.com/nu7hatch/mustang> - Mustang V8 embedded within Ruby - Node.js <http://nodejs.org/> and I am still having the same error messages, which I am posting below. I am truly sorry to bother you but I hit a wall. Also, I am not sure why Rails does not load everything it needs. It already loads a large number of pre-reqs. Thank you # rake db:create (in /opt/rails_3.1.0/Code/Ruby/blog) rake aborted! Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes. /usr/local/lib/ruby/gems/1.9.1/gems/execjs-1.2.9/lib/execjs/runtimes.rb:47:in `autodetect' /usr/local/lib/ruby/gems/1.9.1/gems/execjs-1.2.9/lib/execjs.rb:5:in `<module:ExecJS>' /usr/local/lib/ruby/gems/1.9.1/gems/execjs-1.2.9/lib/execjs.rb:4:in `<top (required)>' /usr/local/lib/ruby/gems/1.9.1/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `require' /usr/local/lib/ruby/gems/1.9.1/gems/coffee-script-2.2.0/lib/coffee_script.rb:1:in `<top (required)>' /usr/local/lib/ruby/gems/1.9.1/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `require' /usr/local/lib/ruby/gems/1.9.1/gems/coffee-script-2.2.0/lib/coffee-script.rb:1:in `<top (required)>' /usr/local/lib/ruby/gems/1.9.1/gems/coffee-rails-3.1.1/lib/coffee-rails.rb:1:in `require' /usr/local/lib/ruby/gems/1.9.1/gems/coffee-rails-3.1.1/lib/coffee-rails.rb:1:in `<top (required)>' /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.13/lib/bundler/runtime.rb:68:in `require' /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.13/lib/bundler/runtime.rb:68:in `block (2 levels) in require' /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.13/lib/bundler/runtime.rb:66:in `each' /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.13/lib/bundler/runtime.rb:66:in `block in require' /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.13/lib/bundler/runtime.rb:55:in `each' /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.13/lib/bundler/runtime.rb:55:in `require' /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.0.13/lib/bundler.rb:120:in `require' /opt/rails_3.1.0/Code/Ruby/blog/config/application.rb:7:in `<top (required)>' <internal:lib/rubygems/custom_require>:29:in `require' <internal:lib/rubygems/custom_require>:29:in `require' /opt/rails_3.1.0/Code/Ruby/blog/Rakefile:5:in `<top (required)>' /usr/local/lib/ruby/1.9.1/rake.rb:2373:in `load' /usr/local/lib/ruby/1.9.1/rake.rb:2373:in `raw_load_rakefile' /usr/local/lib/ruby/1.9.1/rake.rb:2007:in `block in load_rakefile' /usr/local/lib/ruby/1.9.1/rake.rb:2058:in `standard_exception_handling' /usr/local/lib/ruby/1.9.1/rake.rb:2006:in `load_rakefile' /usr/local/lib/ruby/1.9.1/rake.rb:1991:in `run' /usr/local/bin/rake:31:in `<main>' blog]# > Colin > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- Ruby Student -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

