Ruby on Rails
Monday, May 18, 2015
Leandro ~
It worked! For the benefit of other newbies (or oldbies) who hit this problem, here's the story:
I took the suggestion to run `bundle update coffee-script-source`.
The server restarted OK.
When I requested http://localhost:3000/, the "Hello, Rails!" screen popped right up!
~ Thanks for your help!
~ Ken
On Monday, May 18, 2015 at 4:42:18 PM UTC-4, Leandro França wrote:
-- It worked! For the benefit of other newbies (or oldbies) who hit this problem, here's the story:
I added the line you suggested to Gemfile. (Curiously, in the original Gemfile, there was no 'coffee-script-source'.)
I tried to restart the server, and got this:
I tried to restart the server, and got this:
C:\rblog>ruby bin\rails server
You have requested:
coffee-script-source = 1.8.0
The bundle currently has coffee-script-source locked at 1.9.1.1.
Try running `bundle update coffee-script-source`
Run `bundle install` to install missing gems.
You have requested:
coffee-script-source = 1.8.0
The bundle currently has coffee-script-source locked at 1.9.1.1.
Try running `bundle update coffee-script-source`
Run `bundle install` to install missing gems.
I took the suggestion to run `bundle update coffee-script-source`.
The server restarted OK.
When I requested http://localhost:3000/, the "Hello, Rails!" screen popped right up!
~ Ken
Ken,This could be a coffescript compatibility problem, according to some stackoverflow posts. ( http://stackoverflow.com/questions/28421547/rails- )execjsprogramerror-in- pageshome Try to edit your Gemfile at your app root folder, and change the coffescript line to:gem 'coffee-script-source', '1.8.0'Also, if you're going to develop on rails, I strongly recommend you to use a linux/unix/osx environment.On windows, you can run a virtual machine using vagrant.Regards,
Leandro2015-05-18 17:26 GMT-03:00 kenatsun <kena...@gmail.com>:Oops, my embedded screen shots apparently aren't showing up. I'll insert links this time. Here's my post, all over again.--
I'm evaluating Rails by, first, going thru the "Getting Started with Rails" process.
All is well until step 4.3, "Setting the Application Home Page". I have un-commented "root 'welcome#index'" in "config/routes.rb", restarted the web server (just in case), and invoked http://localhost:3000 in my browser. I get this error screen:
Click here for the error screen shot.
Click here for the Rails environment info screen shot.
This is on a Win 7 Pro SP1 machine. Two of them, in fact - I get the same results on both computers.
~ TIA, Ken
On Monday, May 18, 2015 at 3:53:55 PM UTC-4, kenatsun wrote:
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com .
To post to this group, send email to rubyonra...@googlegroups.com .
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ .5ad5db23-dd40-4775-8cca- 784845c6d8eb%40googlegroups. com
For more options, visit https://groups.google.com/d/optout .
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c0c048ef-12e7-4918-a07e-3b3c99b7d508%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment