Displaying 20 results from an estimated 2000 matches similar to: "Develop using Rails in offline mode"
2011 Jul 11
4
How to Install ruby 1.9.2/1.9.1 and Rails 3.x on Ubuntu
Hello All,
I have Ubuntu 11-04, I would want to install ruby 1.9.2/1.9.1 and Rails
3.x. I need the least complicated way of doing this.
Rgds,
Janus
--
*Satajanus Nig. Ltd
*
--
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
2012 Nov 07
1
Can someone simply give all the steps to install ruby and rails on windows7 pls
I installed it once but it always come up with a change a path error. Let
me know where to install them as well (whether to install all inside wamp
or just inside c)
I think it doesn''t need to have wamp as it has it''s own server. Pls let me
know as it''ll be really helpful for most of them with troubles installing
rubyonrails
--
You received this message because you
2013 Aug 27
2
trying to create asset management app having trouble with edit page
i trying to create an asset management app. i am working through the
ruby on rails 4.0 guide by Michael Hartl but in his guide it shows edit
page for authenticated users i do not needthis function as the app will
be deployed to an intranet. i have tried to adapt the edit portion in
the above mentioned guide but it is not working. i am a newbie to this
so any help with websites to look at or other
2012 Jan 11
1
Can't create new rails project behind proxy
When I run:
rails new <app_name>
I get the following error:
Fetching source index for http://rubygems.org/
Could not reach rubygems repository http://rubygems.org/
Could not find gem ''turn (>= 0) x86-mingw32'' in any of the gem sources
listed in your Gemfile.
I think the problem is that I''m behind a proxy. How can I get the
rails command to use a proxy?
--
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
2020 May 21
2
[POSSIBLE FRAUD] Re: [EXTERNAL] Re: Help with Tripp Lite Internet600U
No, it's not.
I'd defer to the list for tips on that one.
First thing I'd try if no one else has ideas is checking lsusb and restarting the service.
Thank you,
David Zomaya
Tripp Lite<http://www.tripplite.com/>
________________________________
From: Tom Cooper <tom at cooperfamily.xyz>
Sent: Wednesday, May 20, 2020 7:00 PM
To: David Zomaya
Cc: nut-upsuser
2020 May 20
2
[POSSIBLE FRAUD] Re: [EXTERNAL] Re: Help with Tripp Lite Internet600U
Glad to hear it's working, thanks Tom.
Network UPS Tools team: is fixing this as simple as me telling you what new UPS protocols are HID-PDC compliant?
Thank you,
David Zomaya
Tripp Lite<http://www.tripplite.com/>
________________________________
From: Tom Cooper <tom at cooperfamily.xyz>
Sent: Wednesday, May 20, 2020 2:42 PM
To: David Zomaya
Cc: nut-upsuser
Subject: Re:
2020 May 20
4
[POSSIBLE FRAUD] Re: [EXTERNAL] Re: Help with Tripp Lite Internet600U
"Can't claim USB device [09ae:3024]: could not detach kernel driver from interface 0: Operation not permitted"
Is probably an issue with NUT grabbing the UPS... can you disconnect and reconnect the USB cable and try again?
If that fails, maybe a udev rule will help.
Thank you,
David Zomaya
Tripp Lite
<http://www.tripplite.com/>
________________________________
From:
2020 May 20
2
[POSSIBLE FRAUD] Re: [EXTERNAL] Re: Help with Tripp Lite Internet600U
My thoughts for a test:
* Just have
MODE=standalone
in nut.conf
* Put
[tripplite]
driver = usbhid-ups
port = auto
productid=3024
desc = "Tripp Lite Internet600U"
In ups.conf
* Put
LISTEN 127.0.0.1 3493
LISTEN ::1 3493
[tripplite]
driver = usbhid-ups
port = auto
in upsd.conf
That may be suboptimal but will probably work for a test.
Side
2020 May 20
2
[POSSIBLE FRAUD] Re: [EXTERNAL] Re: Help with Tripp Lite Internet600U
Tested a Ubuntu 18.04 LTS virtual machine with NUT 2.7.4 and a 3024 protocol Tripp Lite UPS (mine is a INTERNET550U, but same protocol)
:/etc/nut$ lsusb | grep Tripp
Bus 002 Device 004: ID 09ae:3024 Tripp Lite
I it got generally working (outputting reasonable responses to upsc, although there are some issues with variables like frequency) by adding productid=3024 to my ups.conf. Like this:
2020 May 20
2
[POSSIBLE FRAUD] Re: [EXTERNAL] Re: Help with Tripp Lite Internet600U
Wow - you're doing all the work for me!
Thanks for the rule set.
I can't easily reboot that box just now, so I'm working on reloading the rules.
When I try
udevadm control --reload-rules && udevadm trigger
May 20 15:19:01 elmer systemd-udevd[3413]: Process '/sbin/crda' failed with exit code 234.
May 20 15:19:01 elmer systemd-udevd[3413]: Using default
2020 May 20
2
[POSSIBLE FRAUD] Re: [EXTERNAL] Re: Help with Tripp Lite Internet600U
Borrowing from our friends at Ask Ubuntu ( https://askubuntu.com/a/276637 ) there is. I've modified it for use with a Tripp Lite UPS and 3024 protocol below. Try disconnect/reconnect after and see what happens.
:/etc/nut$ cat /etc/udev/rules.d/90-nut-ups.rules
# /etc/udev/rules.d/90-nut-ups.rules
ACTION=="add", \
SUBSYSTEM=="usb", \
ATTR{idVendor}=="09ae",
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
2006 Apr 25
14
validate_on_update with a save()
I''ve got a form with inputs like user[first_name], user[last_name], etc.
When editing the user instead of creating a new one I include a
user[id]. I then try and save the object using:
user = User.new(params[:user])
user.save()
I would *expect* that since I included the user[id] it should do an
update and should call validate_on_update. But this doesn''t appear to
be the
2008 Mar 28
5
Upgrading from older version - how?
Hi there,
We''ve been using previous version of bdrb (drb based one) for a while
and it was running relatively OK. We recently attempted to upgrade to
the new version to keep up / use supported version but we ended up
reverting to the older version.
Here are the things that moved us to revert :
1) With the workers we never manage to pass this error:
''''
You have a nil
2006 Nov 21
3
Fw: re. win32-process
Hi all,
Any ideas for the question below? I know how to do this in theory - make the ''inherit'' flag true, and set the ''stdout'' and ''stderr'' startf_flags hash options to something in the startup_info hash, but I wasn''t sure how to do this in practice.
It would be nice if the answer could be something like this:
require
2007 Mar 01
4
Cookie based session management problems
Edge has a change in default behaviour where sessions are stored as
cookies instead of in the file system. This was a pleasant surprise when
I synced up, fired up my app, and nothing worked. Ah, life on the edge.
I''m sure I''m just missing something, but I can''t get sessions to survive
the first redirect. I added the following code to environment.rb, based
on
2011 Jan 09
4
[ win32utils-Bugs-28840 ] wrong process_id is returned if using create multiple times for IE
Bugs item #28840, was opened at 2011-01-09 16:55
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=28840&group_id=85
Category: win32-process
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Jarmo Pertman (juuser)
Assigned to: Nobody (None)
Summary: wrong process_id is returned if using create multiple times for IE
Initial Comment:
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
2008 Sep 15
2
wine handles an app weirdly in ubuntu 8.04
I have a little Windows app which under Windows does not require
installation. When started the first time, it creates in its own
directory three files with desired configuration options I choose at that
time. The next time started it simply uses those files.
I copied the folder with the app and old config files to my Ubuntu 8.04
desktop and here what I have.
1. If I open the app folder in