Ruby on Rails Monday, September 30, 2013

Hello Guys,

Sorry for the delayed response, I had to focus my effort elsewhere however, really need to figure (no pun intended) this out now.
When looking into development.log, I see the following error:

I, [2013-09-30T22:16:11.213141 #12076]  INFO -- : Started GET "/pages/index" for 127.0.0.1 at 2013-09-30 22:16:11 -0400
I, [2013-09-30T22:16:11.221511 #12076]  INFO -- : Processing by PagesController#index as HTML
I, [2013-09-30T22:16:11.226746 #12076]  INFO -- :   Rendered pages/index.html.erb (0.6ms)
I, [2013-09-30T22:16:11.229833 #12076]  INFO -- : Completed 200 OK in 5ms (Views: 4.2ms | ActiveRecord: 0.0ms)
I, [2013-09-30T22:16:12.990109 #12076]  INFO -- : Started GET "/block_nine.jpg" for 127.0.0.1 at 2013-09-30 22:16:12 -0400
F, [2013-09-30T22:16:12.995561 #12076] FATAL -- : 
ActionController::RoutingError (No route matches [GET] "/block_nine.jpg"):

Which is understandable since the file in the webserver is:

block_nine-dbda8c968180776a036973cf045baba1.jpg

The controller is not taking into consideration the fingerprint added by the precompile process. Please help!

Thanks in Advance,

Nick.

--
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/dc10ba0b-15a9-4b57-b468-a5638cb1ef82%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

I'm currently new to Rails and Ruby and I'm trying to learn from my mistakes, this time I'm trying to upload 2 files from a form for later processing, however, after I hit the "Submit" button. I keep getting this error:

TypeError in UploadFilesController#create

app/controllers/upload_files_controller.rb:28:in `new'  app/controllers/upload_files_controller.rb:28:in `create'

Request

Parameters:

{"utf8"=>"✓",   "authenticity_token"=>"2JJGtRXjWCZlPNhQdx6wOW4xvTseiRaXNylnUYvA5v4=",   "upload_files"=>{"inventory"=>#<ActionDispatch::Http::UploadedFile:0x2fd8940 @original_filename="1_Inventory.xlsx",   @content_type="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",   @headers="Content-Disposition: form-data; name=\"upload_files[inventory]\"; filename=\"1_Inventory.xlsx\"\r\nContent-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\r\n",   @tempfile=#<Tempfile:C:/Users/V80042~1/AppData/Local/Temp/RackMultipart20130930-9236-qiqijn>>,   "material_list"=>#<ActionDispatch::Http::UploadedFile:0x2fe3cf8 @original_filename="2_Material_List.xlsx",   @content_type="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",   @headers="Content-Disposition: form-data; name=\"upload_files[material_list]\"; filename=\"2_Material_List.xlsx\"\r\nContent-Type: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet\r\n",   @tempfile=#<Tempfile:C:/Users/V80042~1/AppData/Local/Temp/RackMultipart20130930-9236-g22588>>},   "commit"=>"Upload"}

My upload_files_controller:

 class UploadFilesController < ApplicationController       def new          @uploadFiles = UploadFiles.new  end      def create      @uploadFiles = UploadFiles.new(params[:upload_files])  end

Models:

Upload_Files:

class UploadFiles < ActiveRecord::Base    attr_accessible :inventory, :material_list    has_one :inventory    has_one :material_list    has_attached_file :inventory, :material_list      def new      {        "name" => read_attribute(:upload_file_name),        "size" => read_attribute(:upload_file_size),        "url" => upload_file.url(:original),        "delete_url" => upload_file_path(self),        "delete_type" => "DELETE"         }    end  end

Inventory:

class Inventory < ActiveRecord::Base    belongs_to :upload_files  end

Material List:

class MaterialList < ActiveRecord::Base    belongs_to :upload_files  end

_form:

<%= form_for :upload_files do |f| %>  <h3>Upload Inventory</h3>  <%= f.file_field :inventory %>  <h3>Upload Product List</h3>  <%= f.file_field :material_list %>  <div class="actions">      <%= f.submit "Upload" %>  </div>  <% end %>

Could you please tell me what am I doing wrong and how to fix it? Thank you in advance.


Note: In case you haven't noticed, I'm using paperclip and rails 3.x.x

--
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/1197451b-7c77-48fe-96ea-45783058f468%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

Have a look at this page, at the "gotcha" around multiple => true.

http://apidock.com/rails/ActionView/Helpers/FormHelper/check_box#note_info-1001

Walter

On Sep 30, 2013, at 7:16 AM, Jon Goodey wrote:

> A quick question I have working with a object in a rails 3 app and I
> would like to retain the checkboxes ticked (for example there are 3
> options if someone chooses option 1 and 2 and refreshes the page the
> checkboxes 1 and 2 will remain ticked), this is very easy with radio
> buttons but I am still trying to get my head around it with checkboxes.
>
> here is some code:
>
> <%= form_for(@user, :remote => true) do |f| %>
>
> <%= f.check_box :a1, {:multiple => true}, "1", "" %>
> <%= f.check_box :a1, {:multiple => true}, "2", "" %>
> <%= f.check_box :a1, {:multiple => true}, "3", "" %>
> <%= f.submit %>
> <% end %>
> <%= @user.a1.inspect %>
> output from the inspect element:
>
> "---\n- ''\n- '1'\n- ''\n- '2'\n- ''\n"
> the user model has the a1 as a string in the db.
>
> thanks in advance if anyone can help ,e
>
> Regards Jon
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> 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/27339ce1b51bc7c4bf4563d4f4206107%40ruby-forum.com.
> For more options, visit https://groups.google.com/groups/opt_out.

--
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/5B138B0B-F545-4E5D-B093-73EC7EC5D5C2%40wdstudio.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

It's possible to use even on Windows...
I dont know which kind of package managrr gentoo uses (apt, rpm, tarball only) but even if you dont had any... You could just install git and pull the sources of ruby or rails and install them...
It could be a bit painfull but possible

Em 30/09/2013 06:35, "Артур Файзрахманов" <heraldhoi@gmail.com> escreveu:
I'm also love Gentoo, and my web server is Gentoo based. I'm new to Ruby and RoR at all (just a few hours!). Is it possible to use RoR 4 on Gentoo?

суббота, 2 февраля 2013 г., 13:57:01 UTC+6 пользователь David Busby написал:
I'm a big fan of Rails on Gentoo - RoR 3.x is working great here - http://praxis.edoceo.com/howto/rails



On Wednesday, July 7, 2010 11:58:12 AM UTC-7, Sal wrote:
I'm curious to know why Gentoo is a very commonly used distro for the
Rails community. Any reasons for this?

--
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/18f09016-cf94-4b25-a874-9635a3085856%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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/CANPOtXs2Lb9LaHzcjaQNDv4O%2Bo2ytVq2d-Vy0kz-M1Lz%3DCwAZw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

Hi,
add in Gemfile
gem 'execjs'
gem 'therubyracer' run bundle install and check

Regards
Mehdi

On 9/30/13, Pretty G. <lists@ruby-forum.com> wrote:
> I generated a page using a controller. But when I go to the
> localhost:3000/pages/home. I got this error: ExecJS::RuntimeError in
> Pages#home
>
> How can I fix this? I found a solution here
> http://stackoverflow.com/a/14118913/2829893
>
> but I've no idea where to find ExecJS's runtimes.rb file.
>
> I'm using complete package from here: http://railsinstaller.org/en
>
> Any help will be appreciated. thank you.
>
>
> Here is the full error code:
>
> ========================================
> ExecJS::RuntimeError in Pages#home
>
> Showing
> C:/Users/Anishka/Desktop/test/myfirstapp/app/views/layouts/application.html.erb
> where line #6 raised:
>
>
> (in
> C:/Users/Anishka/Desktop/test/myfirstapp/app/assets/javascripts/pages.js.coffee)
> Extracted source (around line #6):
>
> 3: <head>
> 4: <title>Myfirstapp</title>
> 5: <%= stylesheet_link_tag "application", :media => "all" %>
> 6: <%= javascript_include_tag "application" %>
> 7: <%= csrf_meta_tags %>
> 8: </head>
> 9: <body>
> Rails.root: C:/Users/Anishka/Desktop/test/myfirstapp
>
> Application Trace | Framework Trace | Full Trace
> app/views/layouts/application.html.erb:6:in
> `_app_views_layouts_application_html_erb__601430158_32305500'
> Request
>
> Parameters:
>
> None
> Show session dump
>
> Show env dump
>
> Response
>
> Headers:
>
> None
> ========================================
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> 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/a903d4cd39b761b704516a688d1dfbef%40ruby-forum.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>

--
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/CABRbsV%3DjFtMQEnx0sZ%3D_4PgGq18%3DKQYpswr0i8NfLeNfU2gAvQ%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

A quick question I have working with a object in a rails 3 app and I
would like to retain the checkboxes ticked (for example there are 3
options if someone chooses option 1 and 2 and refreshes the page the
checkboxes 1 and 2 will remain ticked), this is very easy with radio
buttons but I am still trying to get my head around it with checkboxes.

here is some code:

<%= form_for(@user, :remote => true) do |f| %>

<%= f.check_box :a1, {:multiple => true}, "1", "" %>
<%= f.check_box :a1, {:multiple => true}, "2", "" %>
<%= f.check_box :a1, {:multiple => true}, "3", "" %>
<%= f.submit %>
<% end %>
<%= @user.a1.inspect %>
output from the inspect element:

"---\n- ''\n- '1'\n- ''\n- '2'\n- ''\n"
the user model has the a1 as a string in the db.

thanks in advance if anyone can help ,e

Regards Jon

--
Posted via http://www.ruby-forum.com/.

--
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/27339ce1b51bc7c4bf4563d4f4206107%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

Hi Folks,

Good Evening,

I want to get username of currently logged windows user. is it possible??

If Possible.. please attach the sample code for more reference.

Please advise.

Thanks&Regards,
Ashokkumar

--
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/988a2685-42b7-4301-b9d9-1575648aef91%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails Sunday, September 29, 2013

I generated a page using a controller. But when I go to the
localhost:3000/pages/home. I got this error: ExecJS::RuntimeError in
Pages#home

How can I fix this? I found a solution here
http://stackoverflow.com/a/14118913/2829893

but I've no idea where to find ExecJS's runtimes.rb file.

I'm using complete package from here: http://railsinstaller.org/en

Any help will be appreciated. thank you.


Here is the full error code:

========================================
ExecJS::RuntimeError in Pages#home

Showing
C:/Users/Anishka/Desktop/test/myfirstapp/app/views/layouts/application.html.erb
where line #6 raised:


(in
C:/Users/Anishka/Desktop/test/myfirstapp/app/assets/javascripts/pages.js.coffee)
Extracted source (around line #6):

3: <head>
4: <title>Myfirstapp</title>
5: <%= stylesheet_link_tag "application", :media => "all" %>
6: <%= javascript_include_tag "application" %>
7: <%= csrf_meta_tags %>
8: </head>
9: <body>
Rails.root: C:/Users/Anishka/Desktop/test/myfirstapp

Application Trace | Framework Trace | Full Trace
app/views/layouts/application.html.erb:6:in
`_app_views_layouts_application_html_erb__601430158_32305500'
Request

Parameters:

None
Show session dump

Show env dump

Response

Headers:

None
========================================

--
Posted via http://www.ruby-forum.com/.

--
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/a903d4cd39b761b704516a688d1dfbef%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

def email_with_attachments(application_fields={},files=[])
  @headers = {}
  @sent_on = Time.now
  @recipients = 'client@domain.com'
  @from = 'info@domain.com'
 
  @subject = 'Here are some file attachments'
  application_fields.keys.each {|k| @body[k] = application_fields[k]}
 
  # attach files
  files.each do |file|
    attachment "application/octet-stream" do |a|
      a.body = file.read
      a.filename = file.original_filename
    end unless file.blank?
  end
end


On Sun, Sep 29, 2013 at 12:41 PM, ruby rails <lists@ruby-forum.com> wrote:
I am sending an email through my application to other user's gmail id. I
am receiving email and it works fine without attachment. But when I
attach a file, the mail which users receive contain subject and
attachments only. The body part is not displaying in the mail. In the
controller I am passing everything as params to reminder_email method. I
am using rails2.3.5..This is how I have implemented in my mailer.rb
file. Please help.

    class ReminderMailer < ActionMailer::Base

      def reminder_email(sender,recipients, subject,
message,attachments)
        recipient_emails = (recipients.class == String) ?
recipients.gsub(' ','').split(',').compact : recipients.compact
        setup_reminder_email(sender, recipient_emails, subject,
message,attachments)
      end

      protected
      def setup_reminder_email(sender, emails, subject, message,files)
        @from = sender
        @recipients = emails
        @subject = subject
        @sent_on = Time.now
        @body['message'] = message
        #content_type =  "multipart/alternative"
         files.each do |file|
          attachment "application/octet-stream" do |a|
          a.body = file.read
          a.filename = file.original_filename
        end unless file.blank?
        end
      end
    end

--
Posted via http://www.ruby-forum.com/.

--
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/d7f19b79cbc4d09b1152196405c06f58%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
Thanks & Regard
   Vikram Jain
=============

--
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/CAJP0RPyPEaHHB4o_vnA%2BTbFWrmdnRNEu2XRwwVWtTLS%3DNbttfg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

Dear Dave,

Delighted to hear it; you are most welcome!

Peace,
tiredpixel


On 29/09/2013 23:08, Dave Castellano wrote:
> Dear Tiredpixel,
>
> Thank you so much. I have been working on this for several days now and
> this worked beautifully.
>
> Thank you for taking the time to help!
>
> Dave C.
>

--
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/5248A71E.404%40tiredpixel.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

Dear Tiredpixel,

Thank you so much. I have been working on this for several days now and
this worked beautifully.

Thank you for taking the time to help!

Dave C.

--
Posted via http://www.ruby-forum.com/.

--
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/e30622b11eed5a1b359e3c4531bf3831%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

I'm also love Gentoo, and my web server is Gentoo based. I'm new to Ruby and RoR at all (just a few hours!). Is it possible to use RoR 4 on Gentoo?

суббота, 2 февраля 2013 г., 13:57:01 UTC+6 пользователь David Busby написал:
I'm a big fan of Rails on Gentoo - RoR 3.x is working great here - http://praxis.edoceo.com/howto/rails



On Wednesday, July 7, 2010 11:58:12 AM UTC-7, Sal wrote:
I'm curious to know why Gentoo is a very commonly used distro for the
Rails community. Any reasons for this?

--
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/18f09016-cf94-4b25-a874-9635a3085856%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

On Sep 29, 2013, at 4:10 AM, Colin Law wrote:

>> the app/views/sessions/new.html.rb code
>>
>> 9 <div class="offset4 span4 border-radius">
>> 20 <form id="sign-in">
>> 21 <legend>Sign In with your email address and password</legend>
>> 22 <%= form_for(:session, url: sessions_path) do |f| %>
>
> It is not legal html to have nested forms.
>
> Colin

And the point of that is that the browser will take apart that illegal page and make a valid form out of it, ignoring the nested child. Make this into a test page in your text editor, and view it in a browser.

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>untitled</title>
</head>
<body>
<form action="foo" method="get" accept-charset="utf-8">
<form action="bar" method="get" accept-charset="utf-8">
<p><input type="text" value="baz"/></p>
</form>
<p><input type="text" value="boo"/></p>
</form>
</body>
</html>

If you view source, and actually look at the source code, you'll see what I typed here. If you view the DOM (what the browser made out of it) you will see this instead:

<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>untitled</title>
</head>
<body>
<form action="foo" method="get" accept-charset="utf-8">

<p><input type="text" value="baz"></p>
</form>
<p><input type="text" value="boo"></p>
</body></html>

See how the outer form is all that is left, and the inner form's contents have been shifted outside of the outer form entirely? That's just what Safari does -- other browsers may put the elements in a slightly different order -- but you can't control this. The only way around it is to code a valid HTML page. Then, if the browsers mess it up, that's on them, not you.

Walter

--
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/4A7D621E-FA89-4349-AFDB-0F800AC47A1F%40wdstudio.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

If you are running your Web browser on the server, then certainly, that would be the path to the server. But localhost is always _your_ computer. The one where you are running the browser, in this context.

Walter

On Sep 25, 2013, at 12:51 PM, Prashant wrote:

> Can you try http://localhost:3000
>
> On Wednesday, September 25, 2013 8:47:56 PM UTC+5:30, Ruby-Forum.com User wrote:
> Host: DigitalOcean
> OS: Ubuntu 12.04
> Ruby: 2.0.0p247
> Rails: 3.2.0
> * LAMP installed.
> * Switched WEBrick out for Thin.
>
> I'm trying to follow a tutorial online (hence the Rails 3.2.0 version).
> I make my blog (rails new quick_blog -T). I then run 'rails server' and
> I can see it start fine at the console.
>
> I then try and hit the IP:3000 and get nothing. If I hit the IP then I
> get the default Apache page.
>
> Can anyone offer some assistance?
>
> phoyce
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> 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/b7f25885-02f5-4ead-8f6e-7c323ab787ee%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

--
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/3BA308A8-D935-4A44-B0B5-988CFB4317A8%40wdstudio.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

On Sep 25, 2013, at 5:43 AM, Antonis Berkakis wrote:

> Hello,
>
> I'm having 3 categories of videos , one header , main video and one footer.
> Headers and footers videos are already on amazon s3.
> I want a user to be able to choose between the header , footer , and a main video which he choose to upload and the output to be a merged video of these three.
> Would you recommend a correct approach , a gem , a library i could use for that.
>
> Thanks in advance for any help
>

A quick google turned up this: http://stackoverflow.com/questions/5890738/overlaying-video-with-ffmpeg which may help get you started.

Walter


> --
> 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/d83dbe0a-05d9-41c4-a095-c64ff7cd22de%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.

--
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/3B84C9ED-443E-4B2C-BC03-04CBBAA482D1%40wdstudio.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

On Fri, Sep 27, 2013 at 8:19 AM, Goldie Kedia <goldie@housing.co.in> wrote:
> I have a pool of task or customer request and have to dynamically assign to
> my employee.

http://www.catb.org/esr/faqs/smart-questions.html

--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
http://about.me/hassanschroeder
twitter: @hassan

--
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/CACmC4yDFw1XMYmbcrk1MBBYy8RUz2EdE007mSFygYKuc44xQ9Q%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

thanks thats very close to what I'm looking for.
Though I would like to see working examples of such frameworks on git.

On Sunday, September 29, 2013 4:26:59 AM UTC+3, Eason wrote:


2013/9/29 Sergei Vasheka <sergei....@gmail.com>
Hi all
I wonder if anyone done this before. 
Goal: test automation framework (including reporting, runs statisctic, CI integration, possible parallel runs etc.)
Technologies: (for the moment its Rspec  + watir/Selenium)
What gems did you use for all that stuff not included in rspec.

If there examples or advices I would much appreciatefor directions.

thanks.

--
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/4ec8cace-51e5-4beb-80a6-3ad52456d11d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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/c0794a7c-abbb-4465-891d-59b10db9955c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

On 27 September 2013 11:06, GeorgeL <fuzzydolphin@gmail.com> wrote:
> Why am I getting nil errors in "create_time_zone_conversion_attribute?"
>
> Where do I start in trying to determine how to diagnose and debug this
> issue? I have been looking at it for a couple of days now and I am pretty
> stuck. What should one be looking for in order to track this down?
>
>
> /Users/myself/.rvm/gems/ruby-2.0.0-p247@rails4/gems/activerecord-4.0.0/lib/active_record/attribute_methods/time_zone_conversion.rb:56:in
> `create_time_zone_conversion_attribute?'

> [snip]

> NoMethodError (undefined method `save' for nil:NilClass):
> app/controllers/registrations_controller.rb:45:in `block (2 levels) in
> create'

I would start by looking at that line of code and working out why you
are trying to save something that is nil.

Colin

--
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/CAL%3D0gLvcib8HkZp0ksiKVcB2F-zLbaZpfg9n1EF_5MX8bnP3Nw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

On 27 September 2013 14:41, Peter Bolier <grmblarg@gmail.com> wrote:
> Hi y'll,
>
>
> On attempting to install rails on a windows7 system it fails with:

My advise would be don't install rails on Windows. Use Linux (eg
Ubuntu) or Mac. If you really have not option then I believe
railsinstaller is the recommended route.

Colin

--
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/CAL%3D0gLuFfc%3D%3DW6LR-gOVtDt8-QF4Ds%3DjNnvpk0Y-%2B2S6P1Va7A%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

On 25 September 2013 11:34, <worldofproper@gmail.com> wrote:
> Hi there. I'm making my first rails app and taking Hartl's tutorial app as
> my starting point. All the features he implements are things I want.
>
> Primarily the site wants to be a collection organising site. I'll be adding
> a table of ITEMS, and USERS can add those ITEMS to their collection or to
> their wantlist.
>
> What I'm trying to decide is where best to put the "who has what"
> information. It seems to me that doing it all in the USERS or ITEMS table
> might be a bit cumbersome. For instance an ITEM "has many" USERS with a long
> list of them, or a USER "has many" ITEMS, again with a long list.

If a user can have many items, and each item can be associated with
many users then neither of those will work.

>
> Would it be better to use "has many through" with an OWNERSHIP or COLLECTION

Yes, if the relationship requires it (see above).

> model/table?
> I'm thinking along the lines of
> 1, USER 5, ITEM 322, WANTLIST
> 2, USER 9, ITEM 27, COLECTION
> 3, USER 6, ITEM 90, COLLECTION

I don't understand what WANTLIST COLECTION and COLLECTION mean here.

> etc
>
> If this is a better idea would it make more sense to give WANTLIST a
> seperate model/table?
>
> I'm trying to work out what would be the most efficient way of doing it.
> They want to be easily indexable so that you can have "USER has 378 ITEMS"
> and the like.

current_user.items.count

Colin

--
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/CAL%3D0gLsMH6MH407GWwv%2BjtSzHkf73aPEBohLv8rO1fdzhRyWbg%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

On 26 September 2013 17:52, Derek Chadwell <derek.chadwell@gmail.com> wrote:
> Hi all,
>
> I'm trying to code log in/out and session logic into my first rails app.
> The session#new resource has no problem showing me the log in page and form,
> but every time I click submit it posts to sessionscontroller#new (again)
> instead of create, despite the fact that I've given it the create path in
> the url: parameter:
> [snip]
> the app/views/sessions/new.html.rb code
>
> 9 <div class="offset4 span4 border-radius">
> 20 <form id="sign-in">
> 21 <legend>Sign In with your email address and password</legend>
> 22 <%= form_for(:session, url: sessions_path) do |f| %>

It is not legal html to have nested forms.

Colin

--
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/CAL%3D0gLtussoUztXnYMZw-rzH4ZVy5LgmebQyDaUA%2BBzV4UaWTA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

At a basic level AWS is just providing you with a virtualised server - you can deploy to it as you would to any other server (precise details will depend on which OS you pick). The default Amazon Linux is a CentOS derivative so instructions for centos/redhat should work, but there are free images for ubuntu, debian etc.

A more managed solution is to use elastic beanstalk - you lose some flexibility but in exchange some stuff is setup for you in a sensible way

Fred

On Wednesday, September 25, 2013 1:24:11 PM UTC+1, Roberto Nogueira wrote:
I would like to know if it is possible to deploy a Ruby on Rails App to the Amazon AWS cloud, and if it is, which is the best way? Is there an updated tutorial to do so?
Best Regards
--Roberto Nogueira

--
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/68c8c200-d1a0-4b29-9289-336a0d8f633c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

I am sending an email through my application to other user's gmail id. I am receiving email and it works fine without attachment. But when I attach a file, the mail which users receive contain subject and attachments only. The body part is not displaying in the mail. In the controller I am passing everything as params to reminder_email method. I am using rails2.3.5..This is how I have implemented in my mailer.rb file. Please help.

    class ReminderMailer < ActionMailer::Base
   
      def reminder_email(sender,recipients, subject, message,attachments)
        recipient_emails = (recipients.class == String) ? recipients.gsub(' ','').split(',').compact : recipients.compact
        setup_reminder_email(sender, recipient_emails, subject, message,attachments)
      end
   
      protected
      def setup_reminder_email(sender, emails, subject, message,files)
        @from = sender
        @recipients = emails
        @subject = subject
        @sent_on = Time.now
        @body['message'] = message
        #content_type =  "multipart/alternative"
         files.each do |file|
          attachment "application/octet-stream" do |a|
          a.body = file.read
          a.filename = file.original_filename
        end unless file.blank?
        end
      end
    end

--
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/dd9f5b73-1153-4ffb-bed7-2b2b0d94fd05%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

I am sending an email through my application to other user's gmail id. I
am receiving email and it works fine without attachment. But when I
attach a file, the mail which users receive contain subject and
attachments only. The body part is not displaying in the mail. In the
controller I am passing everything as params to reminder_email method. I
am using rails2.3.5..This is how I have implemented in my mailer.rb
file. Please help.

class ReminderMailer < ActionMailer::Base

def reminder_email(sender,recipients, subject,
message,attachments)
recipient_emails = (recipients.class == String) ?
recipients.gsub(' ','').split(',').compact : recipients.compact
setup_reminder_email(sender, recipient_emails, subject,
message,attachments)
end

protected
def setup_reminder_email(sender, emails, subject, message,files)
@from = sender
@recipients = emails
@subject = subject
@sent_on = Time.now
@body['message'] = message
#content_type = "multipart/alternative"
files.each do |file|
attachment "application/octet-stream" do |a|
a.body = file.read
a.filename = file.original_filename
end unless file.blank?
end
end
end

--
Posted via http://www.ruby-forum.com/.

--
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/d7f19b79cbc4d09b1152196405c06f58%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails Saturday, September 28, 2013

you can try some third pdrty pdf converter dll to convert pdf to html ,i
think can be much easier if a converter dll is employed. have a check!
http://www.rasteredge.com/how-to/vb-net-imaging/tiff-converting/

--
Posted via http://www.ruby-forum.com/.

--
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/e6fd0f91cb45481f02d0661697c2048c%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails



2013/9/29 Sergei Vasheka <sergei.vasheka@gmail.com>
Hi all
I wonder if anyone done this before. 
Goal: test automation framework (including reporting, runs statisctic, CI integration, possible parallel runs etc.)
Technologies: (for the moment its Rspec  + watir/Selenium)
What gems did you use for all that stuff not included in rspec.

If there examples or advices I would much appreciatefor directions.

thanks.

--
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/4ec8cace-51e5-4beb-80a6-3ad52456d11d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
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/CANvF1NQAVjppbD_QBxvk7UJcx%2Bg17wkMOWZ22bNwX9Re1W2dBw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

Hi all
I wonder if anyone done this before. 
Goal: test automation framework (including reporting, runs statisctic, CI integration, possible parallel runs etc.)
Technologies: (for the moment its Rspec  + watir/Selenium)
What gems did you use for all that stuff not included in rspec.

If there examples or advices I would much appreciatefor directions.

thanks.

--
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/4ec8cace-51e5-4beb-80a6-3ad52456d11d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Ruby on Rails

It is fixed, I just had a typo in engine route. :).

On Saturday, September 28, 2013 10:14:26 PM UTC+2, Javix wrote:
I followed steps on Rails guides on engines and it faileds when mounting the engine in unicorn Rails application:

unicorn  rails s
=> Booting WEBrick
=> Rails 4.0.0 application starting in development on http://0.0.0.0:3000
=> Run `rails server -h` for more startup options
=> Ctrl-C to shutdown server
Exiting
/Users/scambour/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/application/routes_reloader.rb:10:in `rescue in execute_if_updated': Rails::Application::RoutesReloader#execute_if_updated delegated to updater.execute_if_updated, but updater is nil: #<Rails::Application::RoutesReloader:0x007fc39aff04f0 @paths=["/Users/scambour/workspace/unicorn/config/routes.rb", "/Users/scambour/workspace/blorgh/config/routes.rb"], @route_sets=[#<ActionDispatch::Routing::RouteSet:0x007fc39ac008b8>, #<ActionDispatch::Routing::RouteSet:0x007fc39c092c18>]> (RuntimeError)
from /Users/scambour/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/application/routes_reloader.rb:6:in `execute_if_updated'
from /Users/scambour/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/application/finisher.rb:69:in `block in <module:Finisher>'
from /Users/scambour/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/initializable.rb:30:in `instance_exec'
from /Users/scambour/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/initializable.rb:30:in `run'
from /Users/scambour/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/initializable.rb:55:in `block in run_initializers'
from /Users/scambour/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/tsort.rb:150:in `block in tsort_each'
from /Users/scambour/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/tsort.rb:183:in `block (2 levels) in each_strongly_connected_component'
from /Users/scambour/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/tsort.rb:219:in `each_strongly_connected_component_from'
from /Users/scambour/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/tsort.rb:182:in `block in each_strongly_connected_component'
from /Users/scambour/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/tsort.rb:180:in `each'
from /Users/scambour/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/tsort.rb:180:in `each_strongly_connected_component'
from /Users/scambour/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/2.0.0/tsort.rb:148:in `tsort_each'
from /Users/scambour/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/initializable.rb:54:in `run_initializers'
from /Users/scambour/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/application.rb:215:in `initialize!'
from /Users/scambour/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/railtie/configurable.rb:30:in `method_missing'
from /Users/scambour/workspace/unicorn/config/environment.rb:5:in `<top (required)>'
from /Users/scambour/workspace/unicorn/config.ru:3:in `require'
from /Users/scambour/workspace/unicorn/config.ru:3:in `block in <main>'
from /Users/scambour/.rvm/gems/ruby-2.0.0-p247/gems/rack-1.5.2/lib/rack/builder.rb:55:in `instance_eval'
from /Users/scambour/.rvm/gems/ruby-2.0.0-p247/gems/rack-1.5.2/lib/rack/builder.rb:55:in `initialize'
from /Users/scambour/workspace/unicorn/config.ru:in `new'
from /Users/scambour/workspace/unicorn/config.ru:in `<main>'
from /Users/scambour/.rvm/gems/ruby-2.0.0-p247/gems/rack-1.5.2/lib/rack/builder.rb:49:in `eval'
from /Users/scambour/.rvm/gems/ruby-2.0.0-p247/gems/rack-1.5.2/lib/rack/builder.rb:49:in `new_from_string'
from /Users/scambour/.rvm/gems/ruby-2.0.0-p247/gems/rack-1.5.2/lib/rack/builder.rb:40:in `parse_file'
from /Users/scambour/.rvm/gems/ruby-2.0.0-p247/gems/rack-1.5.2/lib/rack/server.rb:277:in `build_app_and_options_from_config'
from /Users/scambour/.rvm/gems/ruby-2.0.0-p247/gems/rack-1.5.2/lib/rack/server.rb:199:in `app'
from /Users/scambour/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/commands/server.rb:48:in `app'
from /Users/scambour/.rvm/gems/ruby-2.0.0-p247/gems/rack-1.5.2/lib/rack/server.rb:314:in `wrapped_app'
from /Users/scambour/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/commands/server.rb:75:in `start'
from /Users/scambour/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/commands.rb:78:in `block in <top (required)>'
from /Users/scambour/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/commands.rb:73:in `tap'
from /Users/scambour/.rvm/gems/ruby-2.0.0-p247/gems/railties-4.0.0/lib/rails/commands.rb:73:in `<top (required)>'
from bin/rails:4:in `require'
from bin/rails:4:in `<main>'

Just after adding the path to the blorgh engin into the Gemfile:


# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.0'
gem 'blorgh', path: "../blorgh"   
....

running 'rails s' failed with the above error.

Any idea what is going wrong here ?
I'm on OS X 10.8.5
Rails 4.0.0
Ruby 2.0.0p247

Thanks

--
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/07538e89-42dc-41c8-847f-1ade8e5b370d%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.