Displaying 20 results from an estimated 6000 matches similar to: "Rails 3.1.0.rc5 server won't start"
2012 Jan 14
1
Error in Creating a rubyonrails application
when i try to run the rails server after successfully creating a rails
application i get following error...
can you please suggest some solutions to fix this.
sward@master:~/work/myapp$ rails server
/usr/lib/ruby/gems/1.8/gems/execjs-1.2.13/lib/execjs/runtimes.rb:47:in
`autodetect'': Could not find a JavaScript runtime. See
https://github.com/sstephenson/execjs for a list of available
2014 Apr 14
0
Foundation & Authlogic
Seems I can get either Foundation or Authlogic to work but not both -
After bundle install when I do a rails g foundation:install I get the
following:
C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/gems/activerecord-4.1.0/lib/acti
ve_record/dynamic_matchers.rb:26:in `method_missing': undefined local
variable o
r method `inheritable_attributes' for ActiveRecord::Base:Class
(NameError)
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 Jan 15
2
DEPRECATION WARNING: Passing a template handler in the template name is deprecated. (rspec + haml)
I upgraded a small project that I had created on 3.1.3 to 3.2.0.rc2.
Running rspec on it brings about a large amount of these messages:
DEPRECATION WARNING: Passing a template handler in the template name is
deprecated. You can simply remove the handler name or pass render :handlers
=> [:haml] instead. (called from block (2 levels) in <top (required)> at
2012 May 16
7
Rails 3.1.0 cannot connect to sqlite database on Mac Lion
I''m running Rails 3.2.3 on Mac Lion with sqlite 3.7.7 and ruby 1.9.3p125. I need to back down rails to 3.1.0 for a project but when I do that a simple index page give me a
ActiveRecord::ConnectionNotEstablished
error.
Rails 3.2.3 works, 3.1.0 not. Any ideas?
Just to show you it''s nothing fancy....
Gem file is only:
source ''https://rubygems.org''
gem
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
2012 Jan 23
2
Installing Ruby/TroubleShoot
I am having trouble with the Ruby on Rails for a windows 7 PC.
During the installation on Ruby it said missing file ''lib''
Then every time I try to generate a scaffold or controller it says
Could not find a JavaScript runtime. See
https://github.com/sstephenson/execjs for a list of available runtimes.
(ExecJS: :RuntimeUnavailable)
Attachments:
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
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
2013 Oct 23
9
rails generate scaffold - ERROR
Hi,
I just installed ROR using the rvm using these instructions:
http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/
Using Ubuntu 12 on VirtualBox
I''m trying to create a demo_app
rails generate scaffold User name:string email:string
gives me this error:
--
/home/natmanu/.rvm/gems/ruby-2.0.0-p247/gems/execjs-2.0.2/lib/execjs/runtimes.rb:51:in
`autodetect'': Could not
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.
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
2012 Feb 01
0
Rails 3.1 form & routes.rb [newbie]
Hi all,
maybe is a newbie question anyway
1. I create de rails app with
# rails new {my app}
2. after I add some gem to my Gemfile
source ''http://rubygems.org''
gem ''rails'', ''3.1.1''
gem ''sqlite3''
gem ''simple_form''
gem ''execjs''
gem ''therubyracer''
# Gems used only
2011 Nov 30
2
bundle exec fail
WTF... how to solve? (REE ruby/Ubuntu 10.04)
$ dpkg -l |grep ruby
ii ruby-enterprise - 1.8.7-2011.03 - Ruby Enterprise Edition.
$ bundle exec
/usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/cli.rb:344:in `exec'': wrong number of arguments (ArgumentError)
from /usr/local/lib/ruby/gems/1.8/gems/bundler-1.0.21/lib/bundler/cli.rb:344:in `exec''
from
2011 Sep 18
0
Two Separate Issues: rails generate
Hi folks.
I am just starting rails and have two current issues. I have installed everything, I think, and (first) I''m having permissions feedback upon rails generate:
> $ rails generate
> /Library/Ruby/Gems/1.8/gems/railties-3.1.0/lib/rails/script_rails_loader.rb:11: warning: Insecure world writable dir /Library/WebServer/Documents in PATH, mode 040777
>
2012 Aug 19
0
Unsuccessful with using mongodb with rails
I have had a frustrating time trying to get mongodb to work with Rails (works just fine with a plain Ruby app).
cannot load such file -- mongo
The error is traced to the code line <requires ''Mongo''>.
bundle initialize shows I have it all. Any ideas?
Thanks,
Shiv
$ bundle install
Using rake (9.2.2)
2012 Oct 21
0
rails g problem
When I enter rails g, I get the bunch of logs behind.
Any idea what I''m missing?
I though it''s trying to install minitest, so I manually installed it.
Still this error persists.
$ rails g
gem install minitest
/Library/Ruby/Gems/1.8/gems/activesupport-3.2.8/lib/active_support/dependencies.rb:251:in `require'': no such file to load -- minitest/unit
2014 Apr 23
0
Something went wrong
http://secret-brushlands-1375.herokuapp.com/users/sign_up
Not sure why all of a sudden I am getting this error message when I try
to save a new user -
Here is the log file:
C:\rails_projects\store4>heroku logs
2014-04-23T21:35:54.918695+00:00 app[web.1]:
vendor/bundle/ruby/2.0.0/gems/act
ivesupport-4.1.0/lib/active_support/callbacks.rb:113:in `call'
2014-04-23T21:35:54.918698+00:00
2012 Jun 14
1
Cucumber/RSpec ::: Capybara? Webrat What am I using??
Hey everybody
I''m currently reading through the Pragmatic Programmers RSpec book, and
I really enjoy it.
But I’m facing some problems because of the fact that the book is
already some years old, I guess. I have installed rvm and use Ruby
1.9.3, and I didn’t really get some Rails code examples to work
properly, so I tried it with a 1.8.7 installation, but there I had some
other problems
2011 May 15
0
Upgrading to Rails 3.1
I''m working on updating my rails 3.0.5 app to rails 3.1.0.beta1 and I
seem to be running into a problem when doing `rake rails:update` when it
runs `rake rails:update:javascripts`
Here is my bundle:
Gems included by the bundle:
* RedCloth (4.2.7)
* actionmailer (3.1.0.beta1)
* actionpack (3.1.0.beta1)
* activemodel (3.1.0.beta1)
* activerecord (3.1.0.beta1)
* activeresource