similar to: not able to install rails getting an error "could not find javascript runtime"

Displaying 20 results from an estimated 10000 matches similar to: "not able to install rails getting an error "could not find javascript runtime""

2012 Mar 27
10
`autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list of available runtimes
I have installed ruby 1.9.2p318 (2012-02-14 revision 34678) [i686-linux] rails 3.2.2 gem 1.8.21 on ubuntu 10.04 when i created my first application and tried running it on server I get the following error not sure how to proceed further.... /home/fakirbaba/.rvm/gems/ruby-1.9.2-p318/gems/execjs-1.3.0/lib/execjs/ runtimes.rb:50:in `autodetect'': Could not find a JavaScript runtime. See
2011 Dec 13
1
Trouble setting up Rails with a JS runtime environment
Hi all, I''m using Ubuntu 11.10 and the terminal to install and run Rails. Here is the process I''ve taken so far to setup Rails: > download and install Ruby 1.9.2 and Rails 3.1.0 -- I did this using ''sudo apt-get ruby1.9.1'' and ''sudo gem install rails'' > I made a new rails app using ''rails new path/to/app'' > I went
2012 May 31
14
How install libv8 (therubyracer) Windows 7
Hello, I have a problem when I try to add the gem therubyracer. I put in my prompt: bundle install, and this error appears: C:\rails\organily>bundle install Fetching gem metadata from https://rubygems.org/......... Using rake (0.9.2.2) Using i18n (0.6.0) Using multi_json (1.3.6) Using activesupport (3.2.3) Using builder (3.0.0) Using activemodel (3.2.3) Using erubis (2.7.0) Using journey
2013 Feb 26
5
Can't upgrade to 4 beta 1
I had to update several gems for Bundler to accept it but now I''m stuck: bundle update rails devise knockoutjs-rails sass-rails coffee-rails devise-encryptable oojs Fetching gem metadata from https://rubygems.org/....... Fetching gem metadata from https://rubygems.org/.. Resolving dependencies... Bundler could not find compatible versions for gem "railties": In Gemfile:
2012 Jun 11
10
installing ruby on rails 1.9.3 on windows 7
m sorry its a totally newbie question, but m really stuck. please help if possible. after installing everything required to run ruby on rails when i write the command ''rails s'' in the command prompt it doesn''t start the server. rather it shows : C:\Sites\railsinstaller_demo>rails s C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/execjs-1.4.0/lib/execjs/run
2013 May 20
6
MapServer setup with rails in ubuntu 12.04
Hi i have one rails application in which i need to setup the mapserver i have added the gem https://github.com/sourcepole/ruby_mapscript but while running the command require "rubygems" require "ruby_mapscript" include Mapscript it use to tell me LoadError (cannot load such file -- mapscript): can anybudy help me on this Thanks in Advance Arvind -- You received
2012 Oct 10
1
Rubymine Install Missing Gems
Hello All, I am using JRuby in Linux Ubuntu 10.10. In Rubymine IDE, I am getting as "Install Missing Gems" link. After clicking on that link, I am getting this error :- Installing pg (0.14.1) with native extensions Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. checking for pg_config... yes Using config values from /usr/bin/pg_config
2013 Oct 24
6
undefined method `paginate' for #<Class:0x567eb98> in Rails Tutorial
Hi, I''m getting a undefined method `paginate'' for #<Class:0x567eb98> even though I have gem ''will_paginate'' installed. Inside the users_controller I have @users = User.paginate(page: params[:page ]) so I believe I set everything up to be correct. Can you figure out why the method''s undefined, despite installing the gem? -- You received this
2013 May 18
3
You have already activated rake 10.0.4, but your Gemfile requires rake 10.0.3.
I''m careful to create separate gemsets for each project, so when I run bundle install, it only installs gems for that gemset. This way gems dont creep into the wrong projects. Now I just pulled a project from github. I made sure I was in the correct gemset, and then I run bundle install and it works fine. but then when I use rake to create the database "rake db:create". I get
2011 Nov 17
0
Include a javascript runtime when generate the app
Hello, I''m opening this thread in order to discuss a frustration that I have since Rails 3.1 I am teacher in private courses and university in Brazil and my main language is Ruby (along with Rails for web classes). I have more than a thousand students and I''m starting to know very well which part of Rails and Ruby are hard to explain for beginners. A lot of people said that
2012 Sep 18
2
NoMethodError with rake db:migrate
Hi! First of all, this is my first application on Rails, and i''m stuck at a migration. i created a demo app (the demo_app from michael hartl''s tutorial) as usual: rails new demo_app, rails generate scaffold User name:string email:string, and when i do rake db:migrate, this stack appears: rake db:migrate --trace ** Invoke db:migrate (first_time) ** Invoke environment
2012 Nov 07
12
Develop using Rails in offline mode
I''m very new to Rails and I''m quite confused if I can practice Rails in offline mode? I''m following the Ruby on Rails Tutorail by Michael Hartl and I noticed that after generating a new app through the command "rails new app_name", "bundle install" is then called to download the gems specified in the Gemfile. What if I don''t have an
2010 Feb 01
3
Not able to redirect console msgs to serial port
Hi, Iam using cento-5.3 on x86 machine and iam working to get the console messages redirected to serial port. I have made the necessary changes in the /etc/inittab file. - - - - - id:3:initdefault . . so:12345:respawn:/sbin/agetty ttyS0 9600 vt100 - - - -- - and also in /etc/grub.conf file - - - - serial --speed=9600 --unit=0 --word=8 --parity=no --stop=1 terminal --timeout=10 serial . .
2013 Apr 27
3
where exactly are gems?
when you add a gem to the Gemfile and then run bundle install, where does the command look for the gem? If you had "gem ''rails'', :git => ''github.com/rails/rails.git", I assume it would update your system .rvm gems directory with the latest github commits. But what is the default repository that bundler looks for gems? -- You received this message because
2013 Jul 30
2
Vagrant Puppet Provision VM
Hi All, I am using Vagrant to provision a box (CentOS 6.x) with puppet provisioner. The box is built by using veewee, with ruby 1.8.7 and puppet 3.2 iinstalled, and the vagrant environment layout is, . ├── Gemfile ├── Gemfile.lock ├── Rakefile ├── Vagrantfile ├── definitions │ └── centos-6.3.minimal ├── hiera │ └── data ├── iso │ ├── CentOS-6.3-x86_64-minimal.iso │ └──
2011 May 27
7
Rails 3.1.rc1 + gem coffee-script - WEBrick and Unicorn hangs.
Environment: rvm ruby 1.9.2-p180 rails 3.1.rc1 Conditions: gem "coffee-script" # in Gemfile at least one file with .js.coffee (even empty inside) in app/assets Result: WEBrick or Unicorn hangs. Only kill -9 <pid> helps. P.S. What additional info should I provide? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
2013 Mar 19
1
Help me about Bcrypt-ruby
I''m create a login form using Bcrypt-ruby but have error: uninitialized constant User::BCrypt I had setup Bcrypt-ruby in Gemfile gem "bcrypt-ruby", :require => "bcrypt" and restart,rake db:migrate but not run.I had run bundle:install,bundle: update and see Bcrypt had installed. i''m afraid that i use gem ''rails'',
2013 Jan 21
5
Cucumber issues when generating a new rails app.
Hi, please i''m a newbie and enthusiast of RoR. i''m presently studying a book(rails 3 in action). I tried setting a up a new rails app: I''ve created my cucumber feature. but on running rake db:migrate, it gives a blank output. From the book i''m to expect: (in /home/user/ticketee), also on running rake cucumber:ok, i don''t get any result. Pleas i need
2013 Feb 16
1
What is Rails fixing versions in Gemfile?
Hello, I''d like to ask why is Rails fixing it''s version, like gem ''rails'', ''3.2.12'' ? Given the recent attacks on Rails - wouldn''t it be more secure to not fix the version? Maybe have something like ''~>3.2.12'' ? -- You received this message because you are subscribed to the Google Groups "Ruby on
2013 Nov 22
4
Delayed JOB ISSUE
Hi all I am using delayed jobs to send sms I am using "http://github.com/tobi/delayed_job/tree/master". In my other website my delayed job is working fine. Recently I have took one new domain in the same server which I have my other app''s which are working fine. Now the issue is after taking new domain and running the old app with new domain delayed job is not working