similar to: Learning Rails - Advice for development environment

Displaying 20 results from an estimated 3000 matches similar to: "Learning Rails - Advice for development environment"

2012 Dec 28
3
installing ruby 1.9.3 in michael hartl's ruby on rails tutorial
I''m working on Michael Hartl''s ruby on rails tutorial http://ruby.railstutorial.org/ruby-on-rails-tutorial-book#sec-development_tools . I installed Git, updated my OS to 10.8.2 and downloaded XCode 4.5.2. when I type in rvm install 1.9.3 this long thing comes up... Ruby (and needed base gems) for your selection will be installed shortly. Before it happens, please read and
2011 May 08
1
Spork + Autotest Failure
Hi folks, I''m going through railstutorial.org and so I apologize if I''m hitting the wrong group here and would appreciate any appropriate redirection if necessary. I''ve set up Spork + Autotest as per Michael''s instructions in http://ruby.railstutorial.org/chapters/static-pages#sec:testing_tools Essentially by doing the following (using rvm & I''m
2011 Oct 24
9
ActiveRecord::ConnectionNotEstablished
Hello I am rather new to Ruby and have been following along with the book "Ruby On Rails 3 Tutorial - Learn Ruby by Example - by Michael Hartl". I am currently in Chapter 3 which discusses static pages. In this chapter, I entered the following command into the prompt: "rails generate controller Pages home contact" and everything worked fine. Then the book directs me to
2010 Sep 06
18
problem when : ruby script/server
Hi; Now I have tried the following, installed ruby 1.8.7 (2010-08-16) [i386-mingw32] rails 2.3.8 when I start the server --> ruby script/server, I get the following eeror: C:\Rails\demo>ruby script/server => Booting WEBrick => Rails 2.3.8 application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2010-09-06 23:53:31] INFO WEBrick 1.3.1
2010 May 26
25
Extremely slow start up with ruby 1.9.1 vs 1.8.7
I created a fresh new rails app, no gems, no nothing. Completely unmodified. Doing anything that initializes rails takes 2 - 3 times longer in ruby 1.9.1 than it does in 1.8.7. Obviously with a fresh rails app, this is only 2 - 3 seconds extra. But with a decent sized app, this can take up to 25 seconds for rails to initialize, vs the 12 seconds in 1.8.7. I''ve been racking my brain on
2012 Feb 28
16
Ruby IDEs
Hi, I''m a novice in Ruby , I want to ask what is the best IDEs to use Ruby for beginners ? Is eclipse a good choice ? any idea? Thanks a lot! Nada -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe
2015 Oct 05
2
Fwd: Sublime Text License Key
---------- Forwarded message ---------- From: *Sublime HQ Pty Ltd* <sales at sublimetext.com> Date: Wednesday, July 25, 2012 Subject: Sublime Text License Key To: "opticalphoenix at gmail.com" <opticalphoenix at gmail.com> Hello, Thanks for purchasing a copy of Sublime Text! Your license key is: ----- BEGIN LICENSE ----- Dennis Wright Jr Single User License EA7E-819939
2012 Jan 12
2
CPU Usage when idle
Hello guys, Did anyone noticed how green CentOS 6 is compared to the previous release? I've been running a couple of "CentOS 6" VMs (on our vSphere environment) for the last couple of weeks and noticed a BIG difference when it comes to CPU usage when the VM is completely idle. I would like to share what I've seen in our environment: PfSense 2.0 (FreeBSD) VM: 40 Mhz CentOS
2012 Jul 29
1
Address extensions
Hi guys, I'm trying to set up in-mailbox routing for messages using the + delimiter. The server runs postfix and dovecot 1.2.15. I have re-defined the delivery service in master.cf as "-f ${sender} -d ${user}@${nexthop} -n -m INBOX.${extension}" (server was formerly courier) but the routing only works when the destination folder has no uppercase characters. "Folder1"
2009 Jun 15
6
Spork and Merb and rSpec
Andy Shipman wrote: > When running spork on a merb application, whenever a spec is run I get > the following error from the Spork server. > > /opt/local/lib/ruby/gems/1.8/gems/merb-core-1.0.11/lib/merb-core/bootloader.rb:1358: > [BUG] rb_gc_mark(): unknown data type 0x3c(0x2203d0) non object > ruby 1.8.7 (2009-06-08 patchlevel 173) [i686-darwin9] > > Which crashes the
2010 Oct 01
20
Paperclip not executing FFMPEG properly
Im using a customs processor to run ffmpeg on a video to create a thumbnail. So far so good. Except when I do: cmd = "-i #{@file.path} -f flv -s 320x240 ~/Downloads/foobar/q.flv" success = Paperclip.run(''ffmpeg'', cmd) Console is reporting: ffmpeg ''-i /var/folders/uL/uL0bYOOZEZaJH5E+BmDJVE+++TI/-Tmp-/stream, 16824,1.mpeg -f flv -s 320x240
2013 Apr 23
3
Tinc power consuption
hello tincers, when I on battery on my notebook, running powertop, I get nic:<tinc-net-name> as the most power consuption resource in my notebook just after the screen. This happens no matter if I have traffic or not. I am not really sure that if this is really a tinc fault or a tap/tun implementation that never sleeps. any advice? -------------- next part -------------- An HTML
2012 Nov 16
4
[LLVMdev] code-owner sporks
Just brainstorming here, but what if each CODE_OWNER maintained a spork on Github and accepted Pull Requests? What's a spork, you ask? Well it's fork with no intent to diverge - it spoons some centralized repo (be it via git or git-svn). If you haven't heard the term 'spork' in this context before, it's either because I just made it up or that we share the same
2011 Mar 02
6
calbacks on models
Hi, I''m having some strange behavior on callbacks when testing with RSpec2. On my test, when I create a resource using the #create method the callbacks related to #before_create are not called. If I go to the console and I try to type the command Resource.create(client_uri: "http://example.com") all works fine. There are no mocks around, and I can''t understand if this
2012 Jul 18
3
Undefined method error
I have been working on a project based on Michael Hartl''s book Ruby on Rails Tutorial in order to try to teach myself Ruby on Rails. However, when it tries to render a form designed to allow a user to submit a small message, I get an error saying, "undefined method `model_name'' for NilClass:Class". It says the error is at line 1, which is "<%= form_for
2010 Apr 15
2
Power consumption monitoring
Hi, I have quite a few low-end development/test servers running continuously and I would like to better manage their power consumption. I have found interesting information on how to perform CPU scaling (e.g. [1] or [2]). But I cannot find if there is a way to (software) monitor power consumption on CentOS (or other such data like CPU temperature, fan speed etc.). What I read so far is that
2012 Oct 01
7
Passing http_proxy_host option
Hi, I''ve been trying to pass the http_proxy_host option to puppet but it''s not taking. I have tried the following: sudo puppet apply --debug --verbose --http_proxy_host http://user:pass@fqdn.com.au --modulepath ''/tmp/vagrant-puppet/modules-0'' /tmp/vagrant-puppet/manifests/default.pp sudo puppet apply --debug --verbose
2013 Mar 16
3
Do you ALWAYS use "bundle exec rspec spec" tests?
I''m going through Michael Hartl''s Rails tutorial, and I am happy to report that (as of the end of section 7) I''m able to get things working. (That said, I skipped the section on automated testing, as Hartl warned that automated testing is the most likely part of his book to become outdated.) There is a heavy emphasis on the "bundle exec rspec spec" tests.
2012 Nov 16
0
[LLVMdev] code-owner sporks
On Thu, Nov 15, 2012 at 5:17 PM, Greg Fitzgerald <garious at gmail.com> wrote: > Just brainstorming here, but what if each CODE_OWNER maintained a spork on > Github and accepted Pull Requests? What's a spork, you ask? Well it's > fork with no intent to diverge - it spoons some centralized repo (be it via > git or git-svn). If you haven't heard the term
2012 Feb 16
4
Could not set present on ensure: Read-only file system
Hi, I try install python-psycopg2 with other packages, when run apt-get -y update returns the errors: err: /Stage[main]/Etc/Package[build-essential]/ensure: change from purged to present failed: Could not set ''present on ensure: Read-only file system - /tmp/puppet20120216-1063-18q7lsz-0 at /tmp/vagrant-puppet/manifests/vagrant.pp:15 err: