I think I got farther. Even though I have loaded acts_as_ferret I get
the following error. Since I know zero of config files I suspect it is
something there:
[root@s928-apsaptip tip]# rails s
=> Booting WEBrick
=> Rails 4.2.5 application starting in development on
http://localhost:3000
=> Run
"Have you checked the versions of all the gems (including rails) used
on the old server and installed those and only those on the new one?"
using gem list --local
the old system has 16, the new one 64
Here is the list of the differences:
gemoldnew
I managed to get a "Hello World" app working... so what do need to do to
move the app from one server to another? This is apparently a SIMPLE
app and doesn't use a bunch of libraries and such. I though I could
just copy to directory tree over but that didn't seem to work.
The only clue I have
I discovered this fact the same time you replied. Not sure where to go
from here. Thanks, though. Also, this is an internal site/app so no
internet access for this system.
Time to find a ruby developer...
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you
I have been given task to move an app, the database, and all required
software from an old system (going away soon) to a new one. I think I
have all the software BUT can't get the app to 'work'. So, my question
is what is the step to migrate a ruby on rails app?
“old” server
saptip:/etc# ruby
I would think so, but the other side is a java socket listener app, and it
isn't splitting on it in Linux, but is on Windows.
On Thu, Nov 7, 2013 at 9:16 PM, Tamara Temple tamouse.li...@gmail.comwrote:
On Nov 7, 2013, at 7:54 PM, RVic rvinc...@hotmail.com wrote:
I'm sending a string
On Thu, Nov 7, 2013 at 9:32 PM, Tamara Temple tamouse.li...@gmail.comwrote:
You need to be looking at the binary data stream to see what is being
sent/received. Don’t look at the glyphs at all.
-
Yes, you;re right -- I need to open up the receiving end and see what it's
drinking in.
On Mon, Oct 28, 2013 at 4:09 PM, Hassan Schroeder
hassan.schroe...@gmail.com wrote:
Are you sure your time wouldn't be better spent just moving straight
to current versions of Ruby and Rails? :-)
It might actually be easier than what you're doing now, and at the end
you'd have something
On Mon, Oct 28, 2013 at 5:12 PM, Colin Law clan...@googlemail.com wrote:
Can you paste your environment.rb here please?
Colin
Thanks Colin!
# Be sure to restart your web server when you modify this file.
# Uncomment below to force Rails into production mode when
# you don't control
On Mon, Oct 28, 2013 at 5:32 PM, Colin Law clan...@googlemail.com wrote:
On 28 October 2013 21:19, Ralph Vince rvinc...@gmail.com wrote:
On Mon, Oct 28, 2013 at 5:12 PM, Colin Law clan...@googlemail.com
wrote:
Can you paste your environment.rb here please?
Colin
Thanks
= _myapp_session, :secret =
some secret phrase } in config/environment.rb
/home/user/.rvm/gems/ruby-1.8.6-p420/gems/actionpack-2.3.2/lib/action_controller/session/cookie_store.rb:163:in
`ensure_session_key'
On Mon, Oct 28, 2013 at 5:46 PM, Ralph Vince rvinc...@gmail.com wrote:
On Mon, Oct 28
On Mon, Oct 28, 2013 at 5:58 PM, Colin Law clan...@googlemail.com wrote:
It is very odd, firstly it should not be using the cookie store, and
if it were then you have provided the session key. I have tried it
and it works for me with either :key or :session_key, and if I enable
the
Wait,
Stupid me.
The database login parameters have changed -- when I change that, it gets
past that error (give me a new one, of coursem but that must be the
problem). I fixed it in database.yml.
On Mon, Oct 28, 2013 at 6:04 PM, Ralph Vince rvinc...@gmail.com wrote:
On Mon, Oct 28, 2013
And...once I get that one fixed...I'm right back to the original error!
On Mon, Oct 28, 2013 at 6:10 PM, Ralph Vince rvinc...@gmail.com wrote:
Wait,
Stupid me.
The database login parameters have changed -- when I change that, it gets
past that error (give me a new one, of coursem
Thanks Colin.
How would you enable active_record_store? Perhaps I should try that first?
--
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
@Mint15-32 ~/ggrip/ggripv2 $ rails -v
The program 'rails' can be found in the following packages:
* rails
* ruby-railties-3.2
Try: sudo apt-get install selected package
When I did rails - v, shouldn;t it have just returned 2.3.2 ?
On Mon, Oct 28, 2013 at 6:18 PM, Ralph Vince rvinc...@gmail.com
On Mon, Oct 28, 2013 at 6:33 PM, Walter Lee Davis wa...@wdstudio.comwrote:
Yes. I'm late to the party here, but are you using rvm on this server?
What does your PATH look like? If you aren't using rvm, then have you tried
using sudo, as in
sudo gem install rails -v 2.3.2
Without rvm, you
On Mon, Oct 28, 2013 at 7:30 PM, Hassan Schroeder
hassan.schroe...@gmail.com wrote:
On Mon, Oct 28, 2013 at 3:42 PM, R Vince rvinc...@gmail.com wrote:
I AM using rvm. My path:
user@Mint15-32 ~/ggrip/ggripv2 $ echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr
On Mon, Oct 28, 2013 at 8:09 PM, Hassan Schroeder
hassan.schroe...@gmail.com wrote:
When you install gems that include a command-line component, e.g.
rails, the executables need to live somewhere in your path. Here's an
example from one of my rvm gemsets:
Hassan,
So, according to your instructions, do I need to only add the path to
rails? Where would that be under .rvm? Thank you!
On Mon, Oct 28, 2013 at 8:09 PM, Hassan Schroeder
hassan.schroe...@gmail.com wrote:
When you install gems that include a command-line component, e.g.
rails, the
On Wed, Oct 23, 2013 at 3:43 PM, Colin Law clan...@googlemail.com wrote:
On 23 October 2013 17:44, RVic rvinc...@hotmail.com wrote:
On Wednesday, October 23, 2013 11:26:51 AM UTC-4, Colin Law wrote:
Why are you using the executablehooks gem anyway on a rails 2 app?
I didn't
Since the error you are getting in the executable-hooks gem I would
start by removing it and see what happens. It may not be compatible
with that version of ruby for example. Since it seems the first
version was only three months ago it seems unlikely that your app
needs it [1].
gem
On Wed, Oct 23, 2013 at 4:36 PM, Colin Law clan...@googlemail.com wrote:
On 23 October 2013 21:29, Jordon Bedwell envyge...@gmail.com wrote:
On Wed, Oct 23, 2013 at 3:19 PM, Ralph Vince rvinc...@gmail.com wrote:
Colin, yes, but this is the world I am stuck in(!) :
gem uninstall
On Wed, Oct 23, 2013 at 6:01 PM, Hassan Schroeder
hassan.schroe...@gmail.com wrote:
On Wed, Oct 23, 2013 at 2:22 PM, Ralph Vince rvinc...@gmail.com wrote:
I dont seem to be able to find any file or folder on this entire, rather
fresh, linux system named execute-hooks. I think the problem
Before installing1.9.2 did you install zlib?
sudo rvm package install zlib
Also, note that you don't do gem installs when running rvm, instead you
use rvmsudo gem install
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups
(apparently).On linux netstat -nap would show which
processes have which ports open. Sadly -p/-o does not seem to exist on the mac
version of netstat.
-- Vince Hodgeshttp://www.sourdoughlabs.com/
On Thursday, November 4, 2010 at 11:07 AM, Michael Curry
Do you have Zfone installed?See
:http://www.sitepoint.com/forums/showthread.php?t=650781
For more details (not much). Other than that, I have nothing else for
you.
-- Vince HodgesSent with Sparrow
On Thursday, November
I have a very simple relationship - a container has many items
containers(title, items_count)
items(container_id, title)
class Item ActiveRecord::Base
belongs_to :container, :counter_cache = true
end
My views/items/edit.html.erb looks like this:
p
%= f.label :assign_to_container %
%=
be appreciated..
Vince
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send email to
rubyonrails
, 1:30 pm, Vince vcord...@echostorm.net wrote:
Ok so I have been playing with extjs and rails for about a week and I
feel I have made good progress. But I have gotten stuck. I have an
extjs form that has a button that submits data to my login method. I
want to have the controller update just
Hi,
A couple of things to try/check.
1) Look in the apache error logs for the virtual host, passenger may
be reporting issues there.
2) Did you create the DB, migrate it, etc (I know you probably did,
but when you get frustrated sometimes it's the basic things you forgot
to do).
Vince
On Wed
For mislav-will-paginate I have the following in environment.rb:
config.gem 'mislav-will_paginate', :version = '~ 2.3.8', :lib =
'will_paginate', :source = 'http://gems.github.com'
The lib field is probably what you need (adjust the version as needed).
Vince
On Wed, Aug 12, 2009 at 9:29 AM
Is there a mirror for the rails guides?
Vince
On Apr 23, 6:01 am, Andrew Timberlake and...@andrewtimberlake.com
wrote:
On Thu, Apr 23, 2009 at 11:33 AM, chioh wch...@gmail.com wrote:
Hi guys,
Anyone know of a mirror site or site where I can download rails? Many
thanks ...
chioh
Cisco Ri wrote:
Ar Chron wrote:
Umm... no.
Table 'users' already has an implicit 'id' field (you don't have to
mention them in your migrations), just like your 'links' table does. If
you are sticking to the rails standard, you needn't declare them, they
are the rails default primary
I have 3 models
comments(user_id, title)
followings(user_id, follower_id)
users(email)
I need to find all comments made by people that a user is following,
which in effect is this simple SQL query:
select comments.title
from comments, followings, users
where users.id = followings.follower_id
direction.
Stu
On Mar 29, 7:50 pm, vince stha...@gmail.com wrote:
I have 3 models
comments(user_id, title)
followings(user_id, follower_id)
users(email)
I need to find all comments made by people that a user is following,
which in effect is this simple SQL query:
select
Hello Mark, thank you for your suggestion. I gather that the RESTful
ACL plugin is meant to be used instead of RESTful Authentication Plugin
that I am currently using?
Vince
Mark Mr wrote:
I'd recommend trying out the restful ACL plugin.
http://www.railslodge.com/plugins/966-restful-acl
Thank you very much for the help. I am starting to build a schema in my
brain as to how some of this works.
I have a small problem with the last instruction. How do I use the
user.projects in the index method below:
Thank you again - much appreciated.
# GET /posts
# GET /posts.xml
tables. I even
downloaded a few sqlite GUI tools, but when they ask me which db file
I'd like to open, I can't find one anywhere. I even did a full search
on my c: for *.db*
Thanks for your help,
Vince
--
Posted via http://www.ruby-forum.com
After that you'll find your database file in db folder (if you didn't
change database.yml). For complete list of rake tasks run:
rake -T
On Mar 23, 1:50?pm, Vince Gilbert rails-mailing-l...@andreas-s.net
Thank you very much for your replies. My application is up and running
with data
the user ID to the project in another column. And then, when the
list/show action is called for the projects, only the appropriate
projects will show.
Here is the projects controller. Can anyone help me with this? I'm in
over my head. Thanks, Vince.
class ProjectsController
if logged_in?
cookies.delete :auth_token
reset_session
flash[:notice] = You have been logged out.
redirect_back_or_default('/')
end
end
Vince Gilbert wrote:
Hi,
I am having a really tough time figuring this out. I followed the
tutorial below to add a RESTful authentication
I'm starting a new project and was about to install
restful_authentication as a plugin when I noticed on
http://github.com/technoweenie/restful-authentication/tree/master that
there is now a restful-authentication.gemspec
Does this mean that we can (or should) install it as a gem instead of
as a
,
This ought to do it.
~~
Shiv
or.. (a bit more concise)
courses.collect(:code).join(',')
--
Vince Hodges
http://www.imbas.ca/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post
44 matches
Mail list logo